NEW · FFmpeg.wasm · 100% Browser-Based

Audio Trimmer

Trim audio frame-accurately with a visual waveform — set in/out points, scrub, listen, export. FFmpeg.wasm runs locally. No upload, no signup, no watermark.

🎵
Drop an audio file
MP3 · WAV · AAC · OGG · FLAC · M4A
Files stay on your device · Never uploaded

Related Tools on UDT

Audio Merger →
Concatenate audio files with optional crossfade.
Audio Converter →
Convert audio between MP3, WAV, AAC, OGG, FLAC, M4A.
Audio Fade →
Add fade-in / fade-out with curve shape control.
All Audio Tools →
Browse the full Audio Suite — 7+ tools, all in-browser.

Why Do This in Your Browser?

Audio trimming is the most common audio task and the one cloud sites monetize most aggressively. The mp3 cutter category alone has dozens of sites with the same UI: upload, set in/out, download. Every single one runs the trim server-side and bills the bandwidth back to you in ads or upgrade nags.

FFmpeg.wasm trims with the `-ss` and `-to` flags, just like desktop FFmpeg. When the cut points land near keyframes, the trim is a stream-copy (instant, bit-exact). When precision matters more than speed, the tool transcodes the cut frame-accurately. Either way, the source never leaves your device.

How It Works

Drop an audio file. The tool decodes the waveform via Web Audio API and renders an interactive waveform display. Type the in and out points in seconds, or play the file (space bar or Play) and press I and O at the moments you want: each sets the point from the current playback position. The waveform is for reference; it has no drag handles.

Export modes: 'Fast trim (stream-copy)' uses FFmpeg's `-c copy` for instant bit-exact cuts, with cut points snapping to the nearest keyframe — typically within ±100ms of the chosen point. 'Precise trim' transcodes to give you exact cuts at the millisecond level, slower but frame-accurate. Default is precise.

Tip: For format conversion alongside trimming, the Audio Converter tool handles container/codec changes. To compress the trimmed output, the Audio Compressor tool exposes bitrate controls. For auto-detecting silence rather than manually setting in/out points, the Audio Silence Remover trims leading/trailing dead air and can compress mid-clip gaps. To slow a long interview for transcription before trimming, the Audio Tempo Changer drops speed without affecting pitch. Once you have trimmed the 30-to-60-second highlight, the Audiogram Generator turns that clip into an animated waveform video for social.

Common Use Cases

Custom Ringtones
Trim a 30-second segment of a song for a phone ringtone — the most-searched 'audio trimmer' use case on the web.
Podcast Episode Cleanup
Trim dead air at the start/end before publishing; pre-edit cuts before bringing into a full editor.
Voice Memo Highlights
Extract a specific quote or moment from a long voice recording.
Audiobook Chapter Splits
Cut a multi-chapter audiobook file into per-chapter files.
Sample Prep for Music Production
Pull a single phrase or beat from a longer source as a sample.
Quotation Clips
Cut a quotable moment from a podcast or interview for social sharing.

Worked example: Fast vs Precise on four formats

On October 12, 2026 we ran the tool's exact FFmpeg commands on desktop FFmpeg 6.1, trimming 2.5 to 5.0 seconds out of the same 10-second test sweep saved as MP3 (320 kbps), M4A (AAC 256 kbps), WAV and FLAC. Lengths are what the file actually plays.

SourceFast (stream copy)Precise (re-encode)
MP3 320 kbps2.52 s, still 320 kbps2.53 s, 320 kbps (128 kbps before Oct 12, 2026)
M4A 256 kbps2.52 s, still 256 kbps2.50 s, about 222 kbps, the source’s rate (about 133 kbps before)
WAV2.51 s, PCM2.50 s, PCM
FLAC2.50 s, lossless: FLAC is now re-encoded in Fast mode too (before: 2.61 s of audio in a file that reported 10.0 s)2.50 s, lossless
  • Precise keeps your bitrate. The tool now reads the source’s codec and bitrate from FFmpeg before cutting and re-encodes at that rate (MP3 up to 320 kbps), and WAV keeps its sample format, so a 24-bit WAV stays 24-bit (it came out 16-bit before October 12, 2026). Re-encoding a lossy file is still a second generation of compression, so for MP3 and M4A use Fast when frame accuracy is enough.
  • Fast is lossless but lands near your points, not on them. It cuts at whole frames (about 26 ms for MP3, 23 ms for AAC, around 90 ms for FLAC blocks), so it may include a few extra milliseconds. Leave a little silence around the part you want if that matters.
  • FLAC is always re-encoded, losslessly. A stream copy keeps the original’s total-sample count in the FLAC STREAMINFO header (RFC 9639), so the old Fast mode produced a 2.6 s file that reported 10 s. FLAC compression is lossless, so the tool now re-encodes FLAC in both modes: exact length, identical audio.
  • WAV is the easy case: both modes are exact to within a few milliseconds and lossless.

See also: The Audio Waveform Generator renders a static SVG/PNG waveform image from any audio file — useful as a podcast cover or thumbnail.

Frequently Asked Questions

Is this audio trimmer really free?+
Yes — completely free, no watermark, no time limits, no signup.
Are my audio files uploaded anywhere?+
No. The waveform is decoded by the Web Audio API in your browser; the trim runs through FFmpeg.wasm locally. Nothing uploads.
What's the difference between fast and precise trim?+
Fast trim copies the audio bitstream directly (`-c copy`) — instant, bit-exact, but cut points snap to the nearest keyframe (typically within ±100ms). Precise trim transcodes the audio so cuts land at the exact millisecond — slower but frame-accurate. Default is precise; fast is useful for very long files or when ±100ms precision is acceptable.
Will quality be lost on the trim?+
Fast trim copies the audio without re-encoding, so the sound is untouched. Precise trim decodes and re-encodes at your file’s own bitrate, read from the file first: in our October 2026 test in Chromium a 320 kbps MP3 came out at 320 kbps and a 256 kbps M4A (221 kbps measured) at about 222 kbps. WAV keeps its bit depth and FLAC stays lossless. For lossy formats a re-encode is still a second generation of compression, so prefer Fast when its frame accuracy is enough.
What's the maximum file size?+
Limited by browser memory. The whole file and the result are held in memory at once, so very large files, hundreds of MB and up, can fail, and phones run out sooner than laptops.
Can I cut multiple sections from a single file?+
Not in the current version — the tool exports one trimmed segment per pass. For multi-segment edits, trim each segment separately and then concatenate with the Audio Merger tool.
Do keyboard shortcuts work on mobile?+
On mobile, use the drag handles instead. Keyboard shortcuts are for desktop browsers.
What's the underlying engine and license?+
FFmpeg.wasm v0.12.x with @ffmpeg/core v0.12.6. Waveform rendering uses the Web Audio API (built into browsers, no library). FFmpeg itself is LGPL by default, but the @ffmpeg/core build this tool loads includes x264, which makes that build GPL; the wasm wrapper is MIT.