Trim audio
See the waveform, drag the two markers, hear the selection, then export just that slice — no upload, no server-side ffmpeg.
How Audio Trimmer works
The file is read with a FileReader, rewritten in memory and offered as a download. This is why large PDFs are limited by your device's RAM rather than by an upload size limit. A 200 MB scan never crosses the network, so the slowest part is your own disk.
That is the whole architecture: static files, one script, no upload endpoint to leak or log. Close the tab and the work is gone.
Why the waveform matters
Trimming by ear means hunting for a start point twice: once to find it, once to check it. A waveform turns that into a visual task — the silence before someone speaks is a flat line, a clap is a spike, and the chorus is visibly louder than the verse.
The two markers are sliders, so they work on a phone as well as with a mouse, and the region outside the selection is dimmed on the canvas.
What happens to the audio
The browser decodes the file to raw PCM samples — 44,100 of them per second per channel for a CD-quality file. Cutting is then a slice of that array, which is why the operation is instant and does not degrade the audio.
Export writes a standard 16-bit WAV: a 44-byte header followed by the samples. That is the only audio container a browser can produce without embedding an MP3 encoder.
| Step | What the browser does |
|---|---|
| Decode | MP3/AAC/OGG → PCM float samples |
| Cut | Slice between the two markers |
| Play | Plays only the selection |
| Export | Writes a 16-bit PCM WAV |
Getting the file size back down
WAV is uncompressed: one minute of stereo CD audio is about 10 MB. If that is too heavy to send, run the result through the audio converter on this site to get an MP3 or M4A back.
Keeping the intermediate lossless is the right order: cut first, compress last, so the audio is only compressed once.
Good to know
- Works offline once loaded, including on flights and in locked-down networks.
- No file size limit beyond your device's own memory.
- Free to use, with no account and no usage counter.
- Results are produced locally, so they are not logged or shared with anyone.
Questions
Why is the download a WAV?
A browser can write WAV without shipping a codec. Re-encoding to MP3 needs a licensed encoder, which would mean either a large download or an upload.
Which formats can I open?
Anything the browser can decode: MP3, WAV, M4A/AAC, OGG and FLAC in most current browsers.
Is the cut lossless?
The decode to PCM is lossless for the selected range, but an MP3 source has already lost data. Cutting does not add another generation of loss.
Can I hear it before saving?
Yes — play selection plays only the marked range.
Video and audio tools
Keep going
More files tools
Video Converter
Convert MP4, MOV, MKV, AVI or WebM to a universal MP4 (H.264) or a smaller WebM, entirely in the browser with ffmpeg.wasm.
Open toolMKV to MP4
Turn an MKV into an MP4: a fast lossless remux when the codecs already fit, or a full H.264 re-encode when they do not. Runs in the browser.
Open toolMOV to MP4
Convert an Apple MOV file into an MP4 that plays on Windows, Android, smart TVs and every browser. H.264 + AAC with a faststart header.
Open toolMerge Videos
Join two or more videos into a single file in the order you pick. Same-codec clips are copied, so the join takes seconds and loses nothing.
Open toolCrop Video
Crop a video to the frame a platform wants: square for feeds, 4:5 for Instagram, 9:16 for Reels and TikTok, or wide for YouTube. Keep the centre or a side.
Open toolRotate Video
Rotate a video 90° either way, flip it 180°, or mirror it horizontally or vertically. The frames are re-encoded so every player shows the same orientation.
Open tool