Audio Trimmer
Cut an MP3, M4A, WAV, OGG or FLAC file on its waveform: drag the start and end, preview the clip with optional fade in and fade out, then save it losslessly in the original format or export to MP3, M4A, Opus or WAV, all in your browser.
Drop an audio file here or click to choose one
MP3, M4A, WAV, OGG, Opus, FLAC, WebM, or the audio of an MP4/MOV video
Decoding, preview and encoding all happen in your browser with Web Audio, WebCodecs and, for MP3, a WebAssembly encoder. Files are never uploaded; only your format, bitrate and fade settings are saved on this device.
Usage examples
Make a ringtone or alert sound
Select the chorus, add a 1-second fade in and a 2-second fade out, and export M4A (AAC). iPhone ringtones use this same AAC-in-MPEG-4 format with the .m4r extension, so you only need to rename the file before importing it.
Cut silence from the start of a recording
Drag the start handle to just before the first word, or type an exact time. With the original format selected and fades off, an MP3 or M4A is saved without re-encoding, so the voice quality stays identical.
Clip a quote from a podcast or lecture
Use the ±0.1 s buttons to land precisely on the beginning and end of the sentence, preview it, then export a small MP3, Opus or M4A file that is easy to share in a chat.
Take the audio out of a phone video
Load an MP4 or MOV clip from your phone; only the sound is decoded. Pick the part you want and export it as M4A or WAV, and the video track is left behind.
Prepare a sample or sound effect
Trim a hit, loop or effect to the exact millisecond and export WAV for your DAW or sampler. WAV keeps the decoded audio without further compression loss.
Frequently asked questions
Are my files uploaded?
No. The file is decoded with the Web Audio API, previewed with an AudioContext and encoded with WebCodecs (MP3 with a WebAssembly encoder), all inside your browser. Nothing is sent to a server, and the tool keeps working offline once the page and encoder have loaded. Only your output format, bitrate and fade settings are saved in local storage.
Is trimming lossless?
It is when you choose the original format with fades off: the compressed frames inside the cut are copied unchanged into a new file of the same type. Because compressed audio is stored in frames, the cut snaps to a frame boundary; an MP3 frame is 1,152 samples (about 26 ms at 44.1 kHz) and an AAC frame 1,024 samples (about 23 ms). Any other output format, or adding fades, means the clip is decoded and re-encoded.
Can I export MP3?
Yes. If the source is already an MP3 and fades are off, the original format option copies its frames without re-encoding. Choosing MP3 as the output format re-encodes the clip, which is what you need for fades or to turn an M4A, WAV or other file into an MP3. Browsers' built-in WebCodecs encoders don't include MP3, so the first time you export one the tool loads a WebAssembly build of the LAME encoder (about 130 KB) and runs it in a background worker; your audio still never leaves your device. MP3 is written at a constant bitrate of 128 to 320 kbps.
How precise is the selection?
You can type start and end times down to the millisecond, nudge them in 0.1 s or 1 s steps, or drag on the waveform. Re-encoded exports are cut at the exact sample; lossless original-format exports snap to the nearest compressed frame as described above.
How do fade in and fade out work?
A fade is a linear volume ramp: the fade in rises from silence to full level over the time you set, and the fade out falls back to silence at the end of the clip. The preview plays with the same ramps. If both fades together are longer than the clip, they are shortened in proportion. Fades change the audio, so they require re-encoding.
Can I trim audio from a video file?
Yes. MP4, MOV, WebM and MKV files can be loaded as long as your browser can decode their audio track. Only the sound is trimmed and exported; the video is discarded.
Why did the sample rate or channel count change?
Opus always works at 48 kHz, so Opus and WebM exports are resampled to 48 kHz. AAC and MP3 keep 44.1 or 48 kHz and convert other rates to 48 kHz, and lossy formats are limited to stereo. WAV and FLAC keep the decoded sample rate and every channel.