Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

Spectrogram, see what you hear.

Drop a song, a voice recording or a video and see its spectrogram: time from left to right, pitch from bottom to top, loudness as colour. Play it and a line follows along; drag across any part to zoom in, and point anywhere to read the time, the frequency with its note name, the level and the loudest pitch. Or switch on the microphone and watch your voice, a whistle or a room hum draw live. Change the scale and colours, and save the picture.

Need a custom tool, app or website? Contact us 
Watch your voice, a whistle or a room hum draw live.

Sound is analysed in your browser. Nothing is uploaded or recorded.

Reading it

Lines, smudges and gaps.

01 / Voices

Stacked lines

A voice or an instrument shows as a stack of bright lines: the lowest is the note, the rest are its harmonics.

02 / Noise

Smudges

Hiss, wind and breath show as wide smudges; a hum shows as a flat line, often at 50 or 60 Hz and above.

03 / Cuts

Gaps and edges

Silence is dark; a hard cut in an edit shows as a sharp vertical edge.

Guide

How to read a spectrogram, from a file or your mic.

A spectrogram is a picture of sound that shows which frequencies are present at each moment and how loud they are. Time runs from left to right, pitch runs from low at the bottom to high at the top, and brighter colour means louder. This tool draws one from an audio or video file, or live from your microphone, and lets you save the result as a PNG image.

How to use the spectrogram

  1. Drop an MP3, WAV, M4A, FLAC or a video with sound on the box, or click it to choose a file. To watch live sound instead, click Use the microphone and allow access.
  2. Wait a moment while the file is analysed. The whole recording is drawn in one picture with a time ruler along the bottom and frequency marks on the left.
  3. Press the play button under the picture, or Space. A line moves across to show where you are. Click anywhere on the picture to move the line there.
  4. Drag across the picture to zoom into that stretch. The part in view is analysed again, so a zoomed picture shows finer detail, not bigger pixels. You can also use the + and − buttons or keys, or hold Ctrl and scroll (pinch on a trackpad). Show all, or the 0 key, goes back to the whole file. While it plays zoomed in, the view turns the page by itself.
  5. Move the pointer over the picture to read the time, the frequency with its note name (440 Hz is A4), the level in decibels, and the loudest pitch at that moment, shown under the picture.
  6. Change Frequency scale, Up to, Quietest shown, Detail and Colours until the part you care about stands out. The page remembers them for next time.
  7. Click Save as PNG to download the picture as you see it, scales included. Click Use another file to start again.

What each setting does

Frequency scale. Logarithmic gives each octave the same height, starting from 20 Hz. The gap from 100 Hz to 200 Hz takes as much room as the gap from 1 kHz to 2 kHz, which is close to how you hear pitch. Pick it for voices and music. Linear gives every hertz the same height, so the top half of the picture is all high frequencies. Pick it to study hiss, cymbals, birdsong or anything above a few kilohertz.

Up to. This sets the highest frequency shown. Speech carries most of its useful detail low down, so 4 kHz fills the picture with the part that matters. Everything recorded shows up to half the file's sample rate, which is the highest frequency the file can hold.

Quietest shown. Anything quieter than this level, in decibels, is drawn as the darkest colour. Slide it down toward -140 dB to reveal faint hum and noise. Slide it up toward -40 dB to hide the background and keep only the loudest parts, which makes a busy song easier to read.

Detail. Each column of the picture comes from a slice of the sound. A short slice (512 samples) shows exactly when things happen, such as drum hits and clicks, but blurs nearby pitches together. A long slice (8,192 samples) separates pitches a few hertz apart, such as a hum and its neighbour, but smears quick sounds sideways. Balanced (2,048) suits most music and speech.

Colours. Magma runs from black through purple and orange to pale yellow, and gives the most steps to tell levels apart. Violet is softer. Grey is plain black to white, which is useful for printing or for a report.

What you will see

SoundWhat it looks like
A sung or played noteA stack of thin bright lines. The lowest is the note, the ones above are its harmonics.
SpeechShort stacks that rise and fall with the voice, with dark gaps between words.
S and T soundsShort bright smudges high up, with no clear lines.
Hiss or fan noiseA wide haze across many frequencies that never goes away.
Mains humA flat line near the bottom that runs the whole length, often with more flat lines above it.
A drum hitA thin vertical stripe, because it covers many frequencies for a very short time.
An edit or a cutA sharp vertical edge where the pattern suddenly changes.

The harmonics of a note sit at whole multiples of it. A note at 220 Hz has harmonics at 440 Hz, 660 Hz, 880 Hz and up. On the linear scale they look evenly spaced. On the logarithmic scale they bunch closer together as they rise, because each step up is a smaller share of an octave.

How the picture is made

The tool cuts the sound into short overlapping slices (2,048 samples unless you change Detail), smooths the edges of each slice, and runs a Fourier transform on it to measure how much of each frequency is in it. Each column of the picture comes from one slice. Stereo files are mixed to mono first.

That slice size sets how fine the detail can be. In a file recorded at 44,100 samples a second, a slice of 2,048 lasts 2,048 divided by 44,100, about 46 milliseconds, and the frequencies are measured in steps of 44,100 divided by 2,048, about 21.5 Hz. That is fine enough to separate the notes of a melody, but two notes a few hertz apart blur into one line; choose a longer slice under Detail for those. The picture has up to 2,400 columns, about two for every pixel on a sharp screen. When a column covers more sound than one slice, as in the whole of a long song, up to four slices are measured for it and the loudest is kept, so short sounds between them are not missed. Zooming in analyses the part in view again, which is why fine detail appears as you zoom.

Using it to check a recording

  • Find a hum. Set Quietest shown low and look for a flat line near the bottom. Hover over it to read its frequency, then use that number in a filter or equalizer.
  • Spot a fake high quality file. A file made from a low quality MP3 often shows a sharp flat ceiling where the encoder cut the high frequencies, with nothing above it.
  • See clicks and pops. They show as thin bright vertical lines that do not match the rhythm of the music.
  • Check your microphone. In live mode the browser's own echo cancelling, noise removal and auto volume are switched off, so you see the raw sound your mic picks up, including room noise.

To clean up what you find, try the background noise remover or the audio equalizer. To measure how loud a room is, use the decibel meter.

Questions

Good to know.

What is a spectrogram?

A picture of a sound: time runs left to right, frequency (pitch) bottom to top, and the colour shows how loud each frequency is at each moment.

Linear or logarithmic?

Logarithmic spreads the low notes out the way hearing does, so voices and music are easier to read. Linear shows high frequencies in more detail.

Can it read video files?

Yes, it analyses the sound of most MP4, MOV and WebM files.

How do I zoom in on part of the sound?

Drag across the picture over the part you want. It is analysed again at full detail. Press Show all or the 0 key to see the whole file again.

Can it show the musical note of a frequency?

Yes. Point at the picture and the readout gives the frequency with its note name and how many cents it is off, such as 446 Hz (A4 +23 cents), plus the loudest pitch at that moment.

Is my file uploaded?

No. The analysis happens in your browser.

How do I save the spectrogram as an image?

Click Save as PNG. The file is named after your sound file, or microphone-spectrogram.png in live mode, and includes the time and frequency labels.

Why does my spectrogram look almost black?

The sound may be quiet compared with the range shown. Slide Quietest shown further down, toward -140 dB, so softer parts get brighter colours.

Why is there nothing above a certain frequency?

A file can only hold frequencies up to half its sample rate, and lossy formats such as MP3 often drop the highest ones to save space. A flat dark area at the top is usually one of these, not a fault in the tool.

What is the difference between a spectrogram and a spectrum analyzer?

A spectrum analyzer shows the frequencies at one moment as a graph. A spectrogram lines those moments up side by side, so you can see how the sound changes over time.

Can I open a very long recording?

Yes, files of several hours open without filling the computer's memory. Past about 20 minutes the sound is read at a lower sample rate to keep memory small, so the picture stops at a lower top frequency, and the file details line tells you where. For the full range up to the top, open a shorter part.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch