Waveform Image Generator: Turn Audio into a PNG or SVG
Open a song, a podcast episode or a voice note and see its waveform drawn as a picture that you can use for cover art, a video background, a poster or a website. Pick the style, choose your own colours or a transparent background, and set the size from the presets for landscape, square, tall and social preview images, or type your own.
The picture is built from the real loudness of your file: the tool looks at every sample and keeps the lowest and highest value for each column of pixels, which is how a waveform editor does it. Long files are handled in small steps with a progress message and a Cancel button. You can download a PNG, or an SVG that stays sharp at any size. Nothing is uploaded.
Drop your audio file here
or
MP3, WAV, M4A, OGG, FLAC and more. Your file stays on your device.
How the waveform is drawn
A waveform is a plot of how the air pressure of a sound goes up and down over time. A three-minute song has about eight million samples per channel, far more than there are pixels on a screen, so the tool groups the samples into one bucket per column of pixels and records the lowest and highest sample of each bucket. This min and max method never misses a loud spike, which averaging would flatten. Because each bucket covers an equal share of the file, the whole recording from start to end fits the width of the picture.
The style decides how those values are drawn. Bars draws separate columns, symmetric about the centre line, and you choose their width and the gap. Filled draws the true shape between the lowest and highest sample, as editors do. Mirrored draws the louder of the two sides on both sides, so the picture is symmetric. Line draws only the outline. For stereo files you can draw the mix of both channels, only the left or right channel, or both channels one above the other.
PNG is a picture of fixed size and supports a transparent background, which is useful on top of video or coloured pages. SVG is a text file with the drawing instructions, so it can be scaled to any size without turning blurry, and it can be edited in a vector program. The SVG is made by this page from plain numbers and your chosen colours only. Browsers limit the size of a picture they can draw, and phones have much less room, so the size is capped at 16 million pixels and 8192 pixels on the longest side.
- Four styles: bars, line, mirrored and filled.
- Your own colours, or a transparent background.
- Bar width and gap, optional centre line and line thickness.
- Channel mode: mix, left, right or both stacked.
- Size presets 1920x1080, 1080x1080, 1080x1920 and 1200x630, or a custom size with a safe maximum.
- Download as PNG or SVG.
- Handles long files in steps, with progress and Cancel.
How to use the Waveform Image Generator
- Press Choose audio file or drop a file onto the box.
- Choose a style, the colours and a size. The preview updates as you change them.
- Check the picture, then press Download PNG or Download SVG.
Is it private?
Yes. Your audio is decoded and drawn inside your browser and never leaves your device. This tool does not upload it to Mateen Labs or any other service, and it does not store it.
Read our tools privacy policy →
Frequently asked questions
Can I get a transparent background?
Yes. Tick the transparent background box. The PNG then has no background at all (the preview shows a chequered pattern behind it), so you can put it on top of a video, a photo or a coloured page. In the SVG, no background shape is written.
What is the difference between filled, mirrored and bars?
Filled follows the real lowest and highest sample of every pixel column. Mirrored uses the larger of the two as a symmetric shape. Bars draws separate columns of your chosen width and gap, which looks like many audio players. Line draws just the outline of the filled shape.
Why is the picture size limited?
Browsers, and especially phones, cannot draw very large pictures. The tool allows up to 16 million pixels and 8192 pixels on a side, and tells you if your size is too big. For a bigger image, download the SVG, which can be scaled to any size.
How long a file can I use?
The file is decoded in memory, so very long audio can be a problem on phones. The tool refuses files over 300 MB or 2 hours and warns about large ones. The picture itself is quick to build, even for long audio, and shows progress.
Does the picture show what the sound really looks like?
It shows the real sample values, grouped by pixel column, normalised to the height of the picture only by what is in the file: a quiet recording makes a small waveform, because the tool does not stretch it. If you want a bigger shape from a quiet file, normalise it first with the Volume Changer.
Is my audio uploaded?
No. The file is decoded and drawn by your own browser. Nothing is uploaded or stored, and the audio is released from memory when you leave the page.