🎚️
Creator & Video/Audio Trimmer

Audio Trimmer

Cut audio on a real waveform — instant lossless WAV or 320k MP3 export. 100% in-browser.

LOCAL · WEB AUDIOReal waveformLoop previewWAV or MP3100% local
Saved Settings· Auto-save on
▾
The CalculatorPage 1
🎚️
Drop an audio file here, or click to browse
MP3, WAV, M4A, OGG, FLAC (max 100 MB)
🎚️

Drop an audio file, drag handles on the waveform, and export WAV or MP3

Data Source & Legal Disclaimer
Effective: 2026Last updated: 2026-09-07Update: Manual review
Sources: Web Audio API — MDN

Audio trimming runs entirely in your browser using the Web Audio API and ffmpeg.wasm. Your file is never uploaded to any server.

See all data sources & update policy →
How it worksPage 2

Two export paths — illustrated

The waveform you see is computed from the actual decoded samples: the Web Audio API decodes the whole file to PCM, and the tool draws min/max peak pairs per pixel column. Trimming then works on those same samples — the WAV path copies the selected float samples straight into a 16-bit PCM file (44-byte header + interleaved data), which is instant and bit-exact. The MP3 path hands the file to ffmpeg with -ss/-t and re-encodes at 320 kbps — smaller files, one lossy generation added. Decode support depends on your browser: MP3, WAV, and M4A/AAC work everywhere; OGG/FLAC can fail on Safari (convert first).

decodeAudioData → waveform peaks → sample-slice WAV (instant) or ffmpeg MP3
decodeAudioDatafile → PCM samplesWaveform peaksmin/max per columndrawn to canvasWAV pathslice floats → 16-bit PCMinstant · bit-exactMP3 path-ss / -t → 320 kbpssmaller · lossyDownload.wav / .mp344-byte WAV header + interleaved samples · MP3 320k ≈ 40 KB/s of audiodecode support is browser-dependent — Safari may reject OGG/FLAC (convert first)

WAV export is a pure memory copy of the selected samples; MP3 export re-encodes for a smaller file.

Cleaning a call recording — Marco's intro cut

Marco records a 45-second voice memo that starts with 2.5 s of fumbling and ends with 2.5 s of table noise.

  1. Read the waveform:The decoded waveform shows flat near-silence at both ends and dense peaks from 0:02.5 to 0:42.5 — exactly the speech
  2. Select:He drags the start handle to 2.5 s and the end handle to 42.5 s: a 40.0 s selection, previewed on loop before exporting
  3. Export WAV:40.0 s × 44,100 samples/s × 2 ch × 2 B = 7,056,000 bytes ≈ 6.7 MB of bit-exact PCM — instant, no encoder
  4. Or export MP3:For email he switches to MP3 320k: ≈ 40 s × 40 KB/s ≈ 1.6 MB — a quarter of the size with speech-quality retention
FAQ & detailsPage 3

Trim audio on a real waveform: lossless WAV or 320k MP3 export. Everything runs locally; nothing is uploaded.

FreeToolHub Audio Trimmer is a free browser-based tool — trim audio on a real waveform: lossless WAV or 320k MP3 export. No signup, no upload; everything runs locally in your browser.

About this tool

What is this tool?

Trim audio on a real waveform: lossless WAV or 320k MP3 export. In-browser, free.

Real waveformLoop previewWAV or MP3100% local

What Is the Audio Trimmer?

The Audio Trimmer decodes your audio with the Web Audio API, draws the true waveform, and lets you drag dual handles (with keyboard control) to select a region. Preview loops the selection, then you export: instant bit-exact WAV or ffmpeg-encoded 320k MP3. Everything runs locally.

How to Trim Audio

Drop an audio file and wait a moment while it decodes. Drag the handles to select the segment, press Loop selection to verify, pick WAV or MP3, and export. The result plays inline before you download.

Lossless Cuts vs Re-encoding

WAV clips can be cut truly losslessly: the format is raw PCM samples, so trimming is just moving start and end points - no decoding, no quality cost, instant export. MP3 is different: audio lives in fixed frames that overlap each other, so a frame-accurate cut requires decoding to PCM and re-encoding, one generation of quality cost that is inaudible at 192 kbps and above. The trade for most users: trim in WAV when the clip feeds further editing, export MP3 when the clip is the final deliverable and file size matters.

Frequently Asked Questions

What is the difference between the WAV and MP3 export paths?

WAV export slices the already-decoded samples straight into a 16-bit PCM file — instant and bit-exact, since it is a pure memory copy. MP3 export runs the original file through ffmpeg with -ss/-t and re-encodes at 320 kbps — smaller files, with one lossy generation added.

Why does my audio fail to decode?

The Web Audio decoder depends on your browser: MP3, WAV, and M4A/AAC decode everywhere, while OGG and FLAC can fail on Safari. Convert the file to MP3 or WAV first (Audio Converter), then trim it.

Is the waveform real or a mock-up?

It is real. The Web Audio API decodes your entire file to PCM samples, and the canvas draws the min/max peak pair of every pixel column from those samples — the same samples the WAV export later writes out.

How precise is the trimming?

Sample-accurate within the waveform view: drag the start and end handles while watching the waveform zoom, and the selection reflects the exact milliseconds that will export. For spoken word, cutting at a natural pause hides the edit entirely; for music, cuts land best just before a beat. Zooming into the waveform before the final adjustment is the difference between a clean edit and an audible click.

Why does my trimmed clip start with a click or pop?

Because the cut landed mid-waveform: the speaker cone jumps instantly from the position the previous audio ended at to wherever the new clip starts, and that jump is audible as a click. The fix is a short fade-in (5-20 ms) at the start and fade-out at the end, which eases the waveform to zero instead of snapping it. Voice memo and podcast trims especially benefit - speech waveforms are spiky and click-prone.

Should I trim in WAV or MP3?

WAV if this clip goes into further editing (a DAW, a video project, a merge) - lossless keeps every option open. MP3 if the trimmed file is the end product - it is roughly a tenth the size and, at 192 kbps+, indistinguishable for voice and nearly so for music. Trimming MP3 requires a decode-re-encode pass; trimming WAV does not, which also makes WAV trimming instant regardless of clip length.

Does trimming re-encode my audio and lose quality?

WAV: no - samples are copied as-is, bit-identical output. MP3: one encode generation, inaudible at high bitrates but real; and every subsequent edit of the exported MP3 costs another generation, which is why the rule is edit once, export once, from the best source you have. All processing runs in your browser via Web Audio - the file never uploads, which matters for unreleased recordings and voice memos.

Related tools

Joke of the Day
Oct 14

What do you call a nosy pepper?

Free core, no account

Keep the Free Edition Free

No signups, no data sold. Every tool is free to use — the free tier allows 5 downloads or saves per day, and the optional Pro plan ($7/mo, $59/yr) adds unlimited downloads, batch processing, white-label exports and an ad-free experience.

☕Support me on Ko-fi— support the free tier

100% of proceeds go towards hosting & building more free tools.