Audio / Analysis
Spectrogram: View the Spectrogram of Audio Online (File or Microphone)
View the spectrogram of an audio file or your live microphone, change the frequency scale and colours, inspect time and pitch, and download the rendered image as PNG.
Spectrogram: View the Spectrogram of Audio Online (File or Microphone): A spectrogram shows how sound changes over time. Time runs from left to right, frequency rises from bottom to top, and brighter colours mark stronger frequencies. Open a recording to find steady tones, changing pitches, harmonics or gaps, or watch a scrolling microphone display. Larger FFT sizes separate nearby frequencies more clearly but blur quick changes in time. Linear, logarithmic and mel scales offer different views of the same audio. The cursor reports time, frequency, the nearest musical note and a relative dB level. Long files are drawn progressively with wider time steps, covering up to the first five minutes, and labelled PNGs include frequency and time axes and a dB colour bar. Choose a 1,600 × 800 or 2,400 × 1,200 plot plus labels, or the native grid for analysis. Runs 100% locally in your browser with zero server file uploads.
- Category
- Everyday tools
- Runs
- In your browser
- Cost
- Free · no sign-up
- Availability
- Ready to use
Runs entirely in your browser
Open audio or start the microphone to see frequency over time.
Brighter colours mean louder frequencies, relative to digital full scale rather than sound pressure.
Files are drawn progressively for up to the first five minutes; long files use wider time steps to cap the image at 4,096 columns and 8 million pixels.
Labelled PNGs use a light background and the selected palette. Native saves the raw grid; browser decoding can still need memory for the complete file.
Phone microphones often roll off below about 80 Hz, so low notes may be harder to measure.
Reading a time-frequency image
The Scientist and Engineer's Guide to Digital Signal Processing describes Fourier analysis and frequency resolution (https://www.dspguide.com/ch8.htm). Each column here uses a Hann window to reduce leakage between frequency bins.
Windowing and hearing scales
The short-time Fourier transform repeats a Fourier analysis over moving windows. The mel axis follows the common 2,595 log10(1 + frequency / 700) convention; the speech-analysis background is described in the HTK Book (https://htk.eng.cam.ac.uk/docs/docs.shtml). Changing this display scale does not change the audio.
How to use it
- Open an audio file or allow microphone access.
- Choose the FFT size, frequency scale, dB range and palette.
- Point or touch the image, or use arrow keys to inspect a point, then choose a PNG size and download.
Privacy & limitations
Audio stays on your device. The microphone is analysed locally without recording or uploading it.
Related tools
Frequently asked questions
How do I view a spectrogram online?
Open an audio file, wait for the image, then adjust the frequency scale and colours. Use the microphone button for a scrolling view of nearby sound.
What do the colours mean?
Colour represents level relative to digital full scale. Viridis and magma use increasing brightness, which helps the image remain readable with common colour vision differences. These levels are not calibrated dB SPL.
Which FFT size should I choose?
Start with 2,048. Use a larger size to separate closely spaced tones or a smaller size to follow short sounds. The trade-off is frequency detail versus time detail.
Can I save a spectrogram as an image?
Yes. PNG exports default to a landscape 1,600 × 800 plot plus a title, axes and dB colour bar on a light background. Choose a larger 2,400 × 1,200 plot or the unlabelled native grid. Long recordings use wider time steps and stop at five minutes.
Why are low frequencies missing from the microphone?
Phone microphones often roll off below about 80 Hz. Microphone response and browser processing can hide low frequencies even when they are present in the room.
How is this different from the spectrum analyser?
The spectrum analyser focuses on a live frequency snapshot. This page also opens audio files, offers adjustable image scales and palettes, and exports the time-frequency image.
Free tool · runs in your browser · no account required