Spectrogram Viewer
Render a spectrogram of an audio file with FFT sizes up to 8192, log or linear axis, five colour maps and a PNG export, all in your browser.
About the Spectrogram Viewer
A spectrogram shows frequency on the vertical axis, time on the horizontal axis and level as colour. Drop a file and the page computes that image locally, with a waveform overview underneath for navigation. Steady tones appear as horizontal lines, clicks and drum hits as vertical stripes, and a sharp upper ceiling can suggest that a lossy encoder removed the highest frequencies.
The controls are deliberately compact. Colors offers Magma, Inferno, Viridis, Aback blue and Grayscale. Frequency scale switches between Logarithmic and Linear, Frequency resolution offers 1024, 2048, 4096 and 8192-point FFTs, and Noise floor sets the bottom of the colour range from -140 to -40 dB. Drag on the overview waveform and press Zoom to selection to inspect one passage; Show all (duration) returns to the whole file.
Clicking the image seeks the local player, so you can connect a visual feature to what you hear. When the view is right, press Download PNG to save it. That image is a diagnostic aid: a bright line at 50 Hz or 60 Hz points to mains hum, while a hard cutoff near 16 kHz is a clue about a lossy source, not proof. The Spectrum Analyzer shows live frequencies, and the Audio File Inspector reports header facts.
Why Use the Spectrogram Viewer?
Four FFT resolutions
Choose Low at 1024 points for sharper timing, Medium at 2048, High at 4096 or Very high at 8192 for sharper pitch. Every option uses a Hann window and a real FFT on the mono mix.
Log or linear frequency
The Logarithmic scale starts near 20 Hz and is what most people expect from a spectrogram. Linear spreads the low frequencies less and makes an encoder cutoff near the Nyquist limit easier to see.
Five colour maps
Magma, Inferno, Viridis, Aback blue and Grayscale map the measured dB range into colour. A gradient strip below the control shows the mapping from the noise floor to 0 dB.
Zoom and export
Drag a range on the overview waveform and press Zoom to selection. The image is painted into a canvas at the displayed width and height, and Download PNG saves those exact pixels with a filename derived from the source.
Processed locally in your browser
Your audio is decoded, processed and encoded on your own device in a background Web Worker. Aback Audio does not upload the audio for this operation.
Free, no sign-up, no watermark
Every tool is free with no account, no watermark and no daily limit. The only limit is your device's memory, and the tool warns you before anything risky.
Common Uses for the Spectrogram Viewer
Quality checks
A file labelled lossless that ends abruptly around 16 kHz was probably sourced from a lossy encode. The spectrogram is a visual clue; combine it with the bitrate estimate in the Audio File Inspector before concluding.
Hum and hiss hunting
A steady horizontal line at 50 Hz or 60 Hz, and at multiples above it, is mains hum. A bright band high in the spectrum is hiss. Once identified, try the Hum Remover or Noise Reducer.
Birdsong and nature recordings
Short, rising sweeps and repeated harmonics are easy to spot and to hear back by clicking the image. A log axis is usually best for biological sounds.
Teaching acoustics
Show how a vowel formant, a sine sweep and a snare drum differ. The Noise floor slider changes how much low-level detail is visible, which is a useful demonstration in itself.
Audio puzzles and hidden images
Some puzzles hide shapes in the time-frequency plane. Zoom into the suspect range and switch colour maps to reveal faint detail.
Documentation and reports
Export a PNG at the displayed resolution, up to 2400 columns wide, and include it with a report. The caption shows pixel size and maximum frequency.
Checking a render
Verify that a reverb tail decays and that a fade out reaches the noise floor. The image reveals digital silence and abrupt edits that are hard to hear in a short preview.
How the Spectrogram Viewer Works
How to use it
- 1Drop an audio or video file on the drop zone, or click to choose one from your device.
- 2Drag on the overview waveform to pick a passage, then press Zoom to selection if you want a closer view.
- 3Choose Colors and a Frequency scale, set Frequency resolution and adjust Noise floor.
- 4Click the spectrogram to move the playhead and listen to a feature; press Show all (duration) to go back.
- 5Press Download PNG to save the image at the size shown below the button.
How the image is computed
The audio is mixed to mono and divided into one window per output column, evenly spaced over the duration. Each window is Hann-weighted and transformed with a real FFT of 1024, 2048, 4096 or 8192 points. Magnitudes are scaled so a full-scale sine reads near 0 dB, converted to decibels and mapped between the selected noise floor and 0 dB.
Time resolution versus pitch resolution
An 8192-point window at 48 kHz spans about 171 ms and has bins roughly 5.9 Hz apart, which separates close pitches but smears a fast transient. A 1024-point window spans about 21 ms with bins near 47 Hz, which locates clicks precisely but blurs pitch. Choosing a resolution is choosing which of those two things you need.
Reading the axes
Time increases left to right and frequency increases bottom to top. On the logarithmic axis the lowest labelled tick is 50 Hz and the highest may be 20 kHz, while the linear axis spaces frequencies evenly from 0 to the Nyquist limit. Rows that cover several FFT bins take the maximum magnitude, so narrow bands remain visible even at small image heights.
Colour and signals
The five colour maps apply a lookup table to the same dB values; none of them change the analysis. Horizontal lines indicate steady tones such as hum or feedback, vertical lines indicate clicks, and a flat bright ceiling at the top suggests clipping. A clean cutoff well below Nyquist is a hint of lossy processing, not a definitive identification of the encoder.
Privacy, security and availability
Files are opened with the browser's file APIs and processed in a background Web Worker on your device; the page has no upload endpoint and makes no network requests with your audio. Results are created as local files you download. Temporary data is released when you press Start over or close the tab.
Tips for Better Results
Start logarithmic
Most music and speech energy lives below a few kilohertz, so the logarithmic axis shows more of what matters. Switch to linear when you specifically want to inspect the top end.
Choose resolution by question
Use 8192 to separate musical notes, and 1024 to locate a click in time. The label next to each option states the trade-off.
Lower the floor gradually
Dragging Noise floor down from -100 dB reveals more room tone. Very low settings can make the image look noisy even when the recording is clean.
Follow up with a filter
If you see a hum line, measure its frequency with the Spectrum Analyzer before filtering, then remove it with the Hum Remover.
Limitations
- The image is a summary: each column represents many audio samples, so events shorter than one time window cannot be resolved even at the highest setting.
- A cutoff in the spectrogram is a diagnostic clue, not proof of a particular codec or source history. Header facts and bitrate estimates can point the same way but are also imperfect.
- Long, high-sample-rate files need a large decoded buffer and take longer to render. Cancel is available while the image is being computed.
Related Tools
Audio File Inspector
Codec, bitrate, sample rate, bit depth, levels and tags.
Noise Reducer
Remove hiss, fans and steady background noise.
Hum Remover
Notch out 50/60 Hz mains hum and its harmonics.
Waveform Image Generator
Export styled waveform images as PNG or SVG.
LUFS Loudness Meter
Integrated LUFS, true peak, LRA and platform checks.
Spectrum Analyzer
Live frequency analyzer for the microphone or a file.
Low-pass & High-pass Filter
Low-pass, high-pass, band-pass and notch filters.
BPM Detector
Find a song's tempo, with tap-tempo to confirm.
Frequently Asked Questions
Why does my FLAC appear to stop at 16 kHz?
It may have been made from an MP3 or another lossy source. True CD-quality audio usually extends towards 20 kHz. This is a strong visual hint, not absolute proof.
What FFT size should I use?
Use 4096 or 8192 for fine frequency detail and 1024 for sharper timing. The menu labels each option with that trade-off.
Can I export the image?
Yes. Download PNG saves the canvas at the displayed width and height, up to 2400 columns wide and 384 rows tall in the default layout.
Does it work on long files?
Yes. The whole duration is summarised into the image width, so detail shorter than one column may disappear.
What do the colours mean?
Colour encodes level in dB relative to full scale, from the chosen noise floor up to 0 dB. The five maps are different palettes for the same values.
What causes vertical stripes?
Short transients such as clicks, drum hits and consonants. A 1024-point window locates them better than a larger one.
Can I zoom into one section?
Drag across the overview waveform below the image and press Zoom to selection. Press Show all (duration) to return to the full file.
Can I view a video soundtrack?
Yes. MP4, MOV, WebM and MKV files are decoded by the browser and the audio track is analysed the same way.
How is this different from the Spectrum Analyzer?
This page renders the whole file as an image. The Spectrum Analyzer watches frequencies change live from a microphone or during playback.
Can I fix what I see here?
The spectrogram only diagnoses. For hum use the Hum Remover, for steady hiss the Noise Reducer, and for clipping re-record or re-render the source.
Is the Spectrogram Viewer free?
Yes. It is free to use with no sign-up, no watermark and no usage limits.
Is my audio uploaded to a server?
No. Aback Audio is a static website: files are read and processed by your browser, on your device, using Web Audio, Web Workers and WebAssembly codecs. There is no upload endpoint.
Which browsers are supported?
Current versions of Chrome, Edge, Firefox and Safari on desktop and mobile. Opus encoding needs a browser with WebCodecs audio encoding; every other format works everywhere.