How to visualize called narrowPeak files in UCSC Genome browser or IGV?
I think you might have changed the separator (or at least have some kind of inconsistency from the required format) for your file. Note that peak output files from MACS2 are variants of BED files.

It seems you need to have a tab separator for this type of file.

I copied your example file and then ran awk -v OFS="\t" '$1=$1' your_peaks.narrowPeaks &gt; fixed_your_peaks.narrowPeaks on it. This produced a result that I was able to see in both the UCSC genome browser and IGV.