Trim audio

Cut an audio file with a waveform: pick the start and the end and keep the same format.

loading Trim audio
About this tool

How do you cut or trim an audio file online?

To trim audio you pick a start time and an end time, and the tool keeps only what lies between them. People use it to cut the dead air from the start of a recording, to pull one song out of a long mix, to make a ringtone or a short clip for a video, to remove an interview question, or to shorten a voice message before sending it.

This trimmer shows the waveform of your file, the drawing of its loudness over time. Silence shows up as a flat line, so you can see where speech or music begins and drag the handles to those points instead of guessing. You can also type exact times, such as 1:23.5, and use the button Use current position while the audio plays to mark the start or the end exactly where you hear it.

It works in your browser with FFmpeg compiled to WebAssembly. The engine (about 32 MB) downloads from this site once and stays saved; the audio is never uploaded. Two things to know: the tool handles one file at a time, and it re-encodes the sound, so the result is saved again in the same format rather than copied byte for byte.

How to cut audio step by step

  1. Drop an audio file on the page or pick it with the button. MP3, WAV, M4A, OGG, Opus, FLAC and AAC are accepted. A sample sound is loaded first.
  2. Wait for the waveform. Drag the handles on it, or type the start and the end. Leave the end empty to keep everything until the end of the file.
  3. Press play and use Use current position to set a point by ear. Under the options, a line shows how long the new audio will be.
  4. Choose the Quality (320, 256, 192, 128 or 96 kbps) for MP3, M4A and OGG. WAV ignores it.
  5. Click Cut audio and download the result. The name is the original plus -trimmed, with the same extension.

Examples

Cut the intro and outro from a podcast

episode-12.mp3, 10:00 long. Start 1:30, end 4:15. The new audio has 4:15 − 1:30 = 2:45. At 128 kbps the MP3 is about 2.6 MB (16,000 bytes per second × 165 s).

InputOutput
episode-12.mp3, 10:00episode-12-trimmed.mp3, 2:45

A ringtone from a song

song.m4a: start 0:42.5, end 1:12.5, a 30-second clip. Tenths of a second are accepted, so you can start exactly on the beat. Remember that phones have their own rules for ringtones, such as a maximum length; check yours.

Remove silence from the start of a recording

voice-note.wav: the waveform is flat for the first 2.3 seconds. Type 0:02.3 as the start and leave the end empty. A 5:00 stereo WAV loses 2.3 × 176,400 bytes, about 0.4 MB, and the rest is unchanged.

FLAC in, MP3 out

The cut keeps the format of the file when the tool can write it: MP3, M4A, WAV and OGG. For FLAC, AAC and Opus inputs the result is an MP3, because those formats are read but not written by this page. If you need the cut in another format, trim first and then use the Audio converter.

Common errors and how to fix them

  • "The start must be a time (like 1:23.5) before the end.": type minutes and seconds with a colon, and keep the start earlier than the end.
  • "The end must be a time (like 1:23.5) after the start and inside the file. Leave empty to go to the end.": the end is beyond the duration of the file or before the start.
  • No waveform appears: for very large files the page skips drawing the waveform to protect the browser memory, but the start and end still work. Use the typed times.
  • "... has no sound track." or "Could not read ...": the file is video-only or damaged. Try playing it first.
  • The cut is a little off: the result is re-encoded from the exact start time you gave. Check the numbers, which are in seconds with one decimal, not frames.
  • I need several clips from one file: cut one range, download, then change the range and cut again.

Frequently asked questions

Does cutting lose quality?

Because the sound is encoded again, lossy formats (MP3, M4A, OGG) lose a very small amount, as with any new encode. Use 320 kbps if you want to minimize it, or work with WAV, which loses nothing.

Can I cut an MP3 without re-encoding it?

Not in this tool. It always re-encodes, which in return makes the cut exact to a tenth of a second instead of snapping to MP3 frames.

Is the file uploaded?

No. The waveform is drawn and the cut is made in your browser. Only the engine is downloaded from this site.

Does it work on a phone?

Yes, in current mobile browsers. Drag with your finger or type the times; the waveform is easier to use in landscape.

What should I do after cutting?

To join the clips, use Merge audio. To even out loudness, use Normalize audio volume, and to make the ends softer, Fade audio.

Report a problem