How to turn an audio file into a waveform PNG
- Under Select an audio file, choose one MP3, WAV, AAC, OGG or FLAC file up to 80 MB.
- Leave Export on PNG image for a picture, or switch it to Peak data (JSON) if you want the numbers instead.
- Set the image size. Width (px) accepts 320 to 2400. Height (px) accepts 80 to 1200. The defaults are 1000 × 260.
- Pick a Wave color, then set Background. If the image will sit on top of artwork or a colored page, tick Transparent background instead.
- Adjust Amplitude and Bar thickness, and watch the Local preview. Your browser draws the preview at a fixed size, so it doesn't follow the Width and Height values. Only the colors, Amplitude and Bar thickness change it. Use it to judge the shape and loudness, not the exact bar spacing of the export.
- Click Draw the waveform and wait for the job to finish. Then use Download to save
waveform.pngorwaveform.json.
What the settings do to the picture
The server mixes the file down to mono and splits it into about 400 equal time slices. For each slice it keeps the loudest sample as a value from 0 to 1. Each slice becomes one vertical bar, centered on the middle line, with a height of peak × image height × amplitude. A bar is never shorter than 1 px or taller than the image.
| Peak in a slice | Height | Amplitude | Bar height |
|---|---|---|---|
| 0.5 | 260 px | 1 | 130 px |
| 0.5 | 260 px | 3 | 260 px (capped at full height) |
| 0 (silence) | 260 px | 1 | 1 px line |
In practice:
- Bar spacing depends on width. At 1000 px a new bar starts every 2.5 px, so a thickness of 1 leaves visible gaps and the result looks thin and airy. Thickness 2 still leaves a thin gap after every other bar, and thickness 3 closes the gaps at 1000 px. For a solid shape, use a thickness of at least width ÷ 400, rounded up: 3 at 1080 px, 4 at 1600 px, 6 at 2400 px.
- Raising amplitude makes a quiet recording readable. On a loud, compressed master, values above 1 push most bars to full height and the waveform turns into a flat block. Go below 1 to get the shape back.
- Each bar shows the peak of its slice, not the average. A single drum hit or click makes the whole slice look loud, even if the rest of it is quiet.
Using the peak data (JSON) export
The JSON export holds the same values without any styling. Here is an illustrative file with only 3 buckets, to show the shape. The values are made up, and real ones are rounded to four decimals:
{"peaks": [0.0123, 0.4567, 0.9876], "buckets": 3}
A real file has up to 400 entries in peaks, and buckets gives the actual count. Use this export when you draw the waveform yourself, for example in a custom audio player with a progress overlay, an SVG you style with CSS, or a chart library. Color, size, amplitude and thickness don't change the JSON. Only the PNG uses them.
Typical uses
- Podcast and video thumbnails: export a wide, short strip (for example 1600 × 200, thickness 4) in your brand color with a transparent background, and place it over the episode artwork.
- Social posts for a track release: use 1080 × 300 with thickness 3 or more, so the bars merge into one shape that reads well on a phone.
- Checking a recording at a glance: long flat stretches show silence or dropouts. Bars that reach full height at amplitude 1 mean the track peaks near full scale.
- Finding where to cut: once you can see where the intro ends, you can Trim an audio file and draw the waveform again for just that section.
Limits and edge cases
- One file per job, up to 80 MB. Video files aren't accepted, so extract the soundtrack first.
- Stereo is mixed to mono, so the image shows one combined waveform, not separate left and right channels. Sounds that are out of phase between left and right partly cancel in the mix, so wide stereo effects can look smaller than they sound.
- The resolution stays at about 400 bars however long the file is or however wide the image is. On a one-hour file each bar covers about 9 seconds, so short events merge into their neighbors. For detail on one passage, trim the file first.
- The PNG has flat areas of color, so it usually compresses well. To use it on a website in another format, run it through the Image Format Converter. WebP can make the file smaller. JPEG can't keep transparency, so it needs a solid background.
- The file is uploaded and processed on the server, then deleted after 60 minutes. Download the result before then.