Skip to content
MyToolkit.pro

Audio

Audio waveform

Get a clean waveform image of your track — for thumbnails, posts, or just to see its shape.

Your files are uploaded, processed on our server and deleted automatically after 60 minutes.

One file, up to 80 MB. MP3, WAV, AAC, OGG and FLAC are accepted.

Local preview

Selected files

Result

Updates while the job runs.

Files
0
Progress
0%
Results
0

How does it work?

The clip is scanned end to end and its amplitude drawn across the width of the image, so louder passages rise taller and quiet ones flatten. The picture comes back as a lossless PNG. The same scan can also be delivered as a list of numbers for a chart to draw itself; which form you get is decided in the page's code, and this page returns the image.

Processing happens on a worker machine, not in your browser. The worker has no public address: it asks this site for work, does it, and sends the result back here — so your file only ever travels between you and this site.

How to turn an audio file into a waveform PNG

  1. Under Select an audio file, choose one MP3, WAV, AAC, OGG or FLAC file up to 80 MB.
  2. Leave Export on PNG image for a picture, or switch it to Peak data (JSON) if you want the numbers instead.
  3. Set the image size. Width (px) accepts 320 to 2400. Height (px) accepts 80 to 1200. The defaults are 1000 × 260.
  4. Pick a Wave color, then set Background. If the image will sit on top of artwork or a colored page, tick Transparent background instead.
  5. 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.
  6. Click Draw the waveform and wait for the job to finish. Then use Download to save waveform.png or waveform.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.

Frequently asked questions

Can I make an SVG waveform?

Not directly, because the image export is PNG only. Choose Peak data (JSON) and draw one rect or line per value in your own SVG, so you can style it with CSS later.

Why is the waveform of my quiet recording almost flat even at maximum amplitude?

Amplitude tops out at 3, so a recording that peaks around 0.08 still fills only about a quarter of the image height. Raise the level first with Normalize loudness in [Change audio volume](/en/tools/audio-volume), then draw the waveform from the louder file.

What size should a waveform be for a YouTube thumbnail or an Instagram post?

Match the platform canvas or a strip inside it: 1280 × 720 for a YouTube thumbnail, or 1080 × 1080 for a square Instagram post. Use a transparent background if you place the waveform over a photo.

Can I use this waveform to detect clipping?

Not reliably. The peaks are measured on a mono mix resampled to 8 kHz, which can hide or soften short overs. Use the peak meter in your audio editor to check for clipping.

All in Audio Tools

App Icon Generator

Generate multi-size app icons for Android, iOS and the web from one source image.

Image Tools In your browser

Trim an audio file

Cut a clip out of an audio file by start time and length, without re-encoding. Free, no account.

Audio Tools File on the server

Merge audio files

Join several audio files end to end into one track, even across different formats. Free, no account.

Audio Tools File on the server

Change audio volume

Make an audio file louder or quieter by a multiplier. Free, no account, files deleted after 60 minutes.

Audio Tools File on the server

Audio Metadata

View audio file metadata — duration, format and size. Free online tool, works entirely in your browser.

Audio Tools In your browser

Image Compressor

Compress an image by adjusting JPEG quality, entirely in your browser.

Image Tools In your browser

What do you need?

Swipe up for the next one