Audio Waveform Generator

What Is an Audio Waveform Generator?

An audio waveform generator creates a visual representation of sound โ€” showing amplitude over time as a series of bars or curves. Waveform images are widely used in podcasting, music production, social media content, and video editing to give audio a compelling visual identity.

This tool processes your audio file entirely in the browser using the Web Audio API, generating customizable waveform graphics you can export as PNG or SVG. No uploads, no accounts, no watermarks โ€” just drop your file and get a professional waveform in seconds.

How to Use This Tool

  1. Upload your audio file โ€” Drag and drop or browse to select an MP3, WAV, OGG, or AAC file. The tool decodes the audio instantly in your browser.
  2. Customize the style โ€” Choose bars, line or dots; set bar width, gap and corner radius; turn mirroring and normalizing on or off; and pick one colour or a two-colour gradient on a solid or transparent background. Changes preview in real time.
  3. Set the dimensions โ€” Choose the output width and height based on your use case โ€” wider for video overlays, squarer for social media posts.
  4. Export the waveform โ€” Download a PNG at the size you set, or an SVG that draws the same bars, line or dots as vector shapes.

Worked example: what the bar heights actually mean

To see how the drawing maps to loudness, we made an 8-second stereo test file: a 440 Hz tone in four 2-second steps at 0, โˆ’6, โˆ’12 and โˆ’24 dB. We loaded it with the default settings (1200 ร— 200, bars 3 px wide with a 1 px gap, mirrored, normalized) and read the bar sizes from the SVG export in Chromium on October 12, 2026.

Section levelAverage bar half-heightShare of the tallestLinear amplitude
0 dB89.2 px100%1.00
โˆ’6 dB44.7 px50.1%0.50
โˆ’12 dB22.4 px25.1%0.25
โˆ’24 dB5.6 px6.3%0.06

The bars track linear amplitude, not decibels. Each slice's height is its average absolute sample value, and amplitude halves for every 6 dB down (dB = 20ยทlogโ‚โ‚€ of the amplitude ratio). So a quiet intro or a soft-spoken guest 24 dB below the loudest part shrinks to a sliver, even though it is clearly audible. That is the honest picture of sample values, but it is not how loudness feels. If the quiet parts need to read on a thumbnail, raise them in the audio first, for example with the Audio Normalizer or a compressor, then draw the waveform.

The bar count comes straight from the size settings: width รท (bar width + gap), so the default 1200 px gives 300 bars. Each bar averages 1/300 of the file, so on an hour-long episode one bar covers 12 seconds and short pauses disappear. For a speech clip where you want to see words, use a short excerpt or narrower bars.

Stereo files: choose which channels to draw

Until October 13, 2026 the tool read only the first (left) channel, so a recording with sound only on the right exported as a flat line. A Channels menu now offers Both (the louder channel at each moment, the default, so nothing panned to one side is lost), Mono mix ((L+R)/2, what a mono speaker plays; sound that is out of phase between the channels cancels), Left only and Right only. Exported in Chromium, a test tone panned hard right covered 66.3% of the image with Both and 66.3% with Right only, against 0.4% (a 1-pixel line) with Left only, the old behaviour.

Frequently Asked Questions

What audio formats are supported?+
Anything your browser can decode with the Web Audio API: MP3, WAV, AAC/M4A and FLAC in all current browsers, and Ogg Vorbis/Opus in Chrome, Edge and Firefox (Safari support depends on the version). If a file cannot be decoded, the tool says so.
Can I customize the waveform colors?+
Yes: one colour or a left-to-right gradient between two colours, a background colour or a transparent background, three styles (bars, line, dots), mirroring around the centre line, bar width, gap and corner radius, and line width for the line style.
What export options are available?+
PNG at the width and height you set, and SVG. The SVG draws the same bars, lines or dots as the preview, with the gradient running across the whole image: rendered back to pixels it matched the preview on 99.99 to 100% of pixels in all 12 combinations of style, mirroring and gradient we tested.
Is my audio file uploaded to a server?+
No. The entire process runs locally in your browser using the Web Audio API. Your audio file never leaves your device โ€” it's decoded and visualized entirely client-side.
Can I use this for podcast artwork?+
Absolutely. Many podcasters use waveform images as episode thumbnails or social media promotional graphics. Pair the output with our Podcast Cover Art Maker for a complete branded package. And if you want a moving version that plays the audio, the Audiogram Generator turns the same clip into an animated waveform video for Instagram, TikTok, and X.
Does it work with long audio files?+
Yes, within your device's memory. The whole file is decoded into memory first, and every sample is read when the bars are computed, so an hour-long file takes noticeably longer than a short clip and can fail on phones. Trim long recordings first if you only need a section.
How is the waveform calculated?+
For stereo files the tool first picks the samples set in the Channels menu (Both, the louder channel at each moment; Mono mix; Left; Right). It then splits them into as many equal slices as there are bars (the image width divided by bar width plus gap) and uses the average absolute amplitude of each slice. With Normalize on, the loudest slice fills the height and the rest scale to it.
Can I match a specific brand color and style?+
Yes. Set Color 1 (and Color 2 for a gradient) to your brand colours, pick a background or make it transparent, and choose bars, line or dots with mirroring. Width and height are free, so the export can match a thumbnail, podcast card or video timeline exactly.

๐Ÿ“– Learn More

Related Article How to Animate SVG: Complete Guide โ†’ Related Article SVG Tools Guide: Essential Design Resources โ†’

Built by Derek Giordano ยท Part of Ultimate Design Tools

Privacy Policy ยท Terms of Service