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
- 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.
- 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.
- Set the dimensions โ Choose the output width and height based on your use case โ wider for video overlays, squarer for social media posts.
- 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 level | Average bar half-height | Share of the tallest | Linear amplitude |
|---|---|---|---|
| 0 dB | 89.2 px | 100% | 1.00 |
| โ6 dB | 44.7 px | 50.1% | 0.50 |
| โ12 dB | 22.4 px | 25.1% | 0.25 |
| โ24 dB | 5.6 px | 6.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.
Sources
Checked on .
Frequently Asked Questions
๐ 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