Audio4 min

How to Trim an MP3 or WAV File in the Browser

Cut MP3, WAV, M4A, or FLAC audio precisely with waveform preview — all in your browser, no upload.

Trimming runs locally via Zro7 MP3 Cutter using ffmpeg.wasm. Voice memos and interviews never leave your browser.

To trim an MP3, WAV, M4A, or FLAC file, use Zro7 MP3 Cutter. Drop the file, drag handles on the waveform (or type exact timestamps), and download the trimmed segment. Lossless copy when the format allows; re-encode when frame-accuracy is needed. All in your browser.

Lossless MP3 trimming is possible

MP3 frames are typically ~26 ms long. Cutting on frame boundaries copies frames without decoding — zero quality loss. Zro7 does this by default; the cut lands at the nearest MP3 frame (within a few milliseconds of your request). For sample-accuracy (needed to remove a specific plosive or edit music down-beat), toggle re-encode mode.

Format matrix

  • MP3 — lossless frame-boundary trim by default.
  • WAV — sample-accurate trim, always lossless (PCM).
  • M4A / AAC — frame-boundary trim losslessly; re-encode for sample accuracy.
  • FLAC / OGG — decoded and re-encoded losslessly to preserve edit boundaries.

Steps

  1. Open MP3 Cutter.
  2. Drop the audio file. Waveform renders in a couple of seconds.
  3. Drag start/end handles or type timestamps like 00:01:23.400.
  4. Preview the trimmed segment.
  5. Click Cut and download.

Common workflows

  • Extract a 30-second sample from a song for a demo reel.
  • Cut the pre-roll silence off a voice memo.
  • Split a two-hour interview into speaker segments (do it repeatedly).

Frequently asked questions

How accurate is the trim?

MP3/AAC frame-boundary: within ~25 ms. Re-encode mode: sample-accurate (1/44,100th of a second at CD rate).

Will the file get smaller?

Yes — proportional to how much you cut. Bitrate stays the same.

Can I trim multiple regions at once?

MP3 Cutter handles one region per operation. For batch or multi-region, use <a href="/remove-audio-silence">Remove Silence</a> or export multiple trims and <a href="/merge-audio">merge</a>.

Does it work offline?

Yes — after the first page load, ffmpeg.wasm is cached.

Any upload?

None. Waveform generation and cutting run in a Web Worker inside your tab.

Related posts

← Back to blog