Audio Clipper

Upload an audio file, look at its waveform on canvas, drag the start and end handles to pick the section you want, then export that section as a WAV file. Decoding, trimming, and WAV encoding happen in your browser with the Web Audio API, no server round-trip involved.

PrivateFreeWorks offline

Reviewed by Vincenzo Manto, Founder & Lead Developer · Last updated September 27, 2026

How it works

  1. 1

    Upload an audio file (MP3, WAV, OGG, M4A, and other browser-decodable formats).

  2. 2

    The waveform renders on canvas so you can see where the sound is.

  3. 3

    Drag the start and end sliders to pick the section you want to keep.

  4. 4

    Click Trim & encode WAV to download that section as a .wav file.

A quick way to grab a clip

Whether you need a short sound effect, a ringtone, or a specific quote from a recording, opening a full audio editor is overkill for that. This tool covers the one thing you usually need: see the waveform, pick a start and end point, and get that section back as a file.

Sample-accurate trimming, built from scratch

Instead of pulling in a third-party audio library, the trimming and WAV encoding logic is written from scratch: decode the file into raw PCM samples with the Web Audio API, slice the sample range you selected, and write a standard 44-byte WAV header followed by 16-bit PCM data. It's a small, dependency-free pipeline you can read top to bottom.

Frequently asked questions

What audio formats can I upload?

Anything your browser's Web Audio API can decode. That typically covers MP3, WAV, OGG, and AAC/M4A, though exact support varies slightly by browser.

Why is the output always a WAV file?

The trimmed audio comes straight from the decoded PCM sample data and gets encoded with a hand-written 16-bit PCM WAV encoder. WAV is uncompressed and widely supported, and writing it doesn't need an external library or server-side transcoding.

Is my audio file uploaded anywhere?

No. The file is decoded locally with AudioContext.decodeAudioData, and the trimmed clip is assembled and encoded in the browser tab. Nothing leaves your machine.

How accurate is the trim point?

The trim boundaries convert to exact sample-frame indices based on the audio's sample rate, so the cut lands at sample-level precision rather than the nearest second or video frame.

Does it work with stereo files?

Yes, each channel is trimmed and re-encoded on its own, so stereo (or any multi-channel) audio keeps its full channel layout in the exported WAV.

Related tools