Skip to content
ToolPika

Audio Trimmer

Choose a file, drag the ends of the highlighted part of the waveform and press Trim audio. The file is cut on your device and never uploaded.

Runs in your browser. Nothing you enter is sent to a server.

How it works

Your browser decodes the file to raw samples and draws them as a waveform: tall bars are loud passages, flat stretches are silence. That makes it easy to find where a song starts, where someone begins to speak or where the applause ends.

The highlighted area is what will be saved. You can change it in three ways:

  1. Drag on the waveform. The nearer end of the selection follows your finger or pointer.
  2. Move the sliders under the Start and End fields. With the keyboard, the arrow keys move them a tenth of a second at a time.
  3. Type the times. Seconds (83.5), minutes and seconds (1:23.5) or hours (1:02:03) are all accepted.

Play selection plays exactly what will be saved, fades included, so you can adjust before exporting.

Fades

A fade in raises the volume from silence at the start; a fade out lowers it to silence at the end. Half a second is enough to hide a cut in the middle of a sound, and 2 to 3 seconds gives the gradual ending used on the radio. If the two fades together are longer than the selection, each is shortened to half of it.

Examples

Task Selection Fades Format
Ringtone from a song 20–30 s around the chorus Out 1–2 s MP3 192 kbps
Remove the silence before a recording starts From the first tall bars to the end None Same as the original
Clip of an interview to share The answer you need In and out 0.5 s MP3 128 kbps, mono
Sample for music software The exact hit or loop None WAV

Limits

Files up to 200 MB are accepted. The whole file is held uncompressed in memory while you work, about 20 MB per minute, so recordings of more than an hour can fail on a phone; on a computer several hours are fine. The saved file is always 44.1 kHz, 16-bit.

The MP3 encoder is lamejs, a JavaScript port of LAME, used under the LGPL licence.

Frequently asked questions

How do I cut a part out of an MP3?

Choose the file, then drag near the start or the end of the highlighted area, or type the times in the Start and End fields. Press Play selection to check it and Trim audio to save only that part.

How do I make a ringtone?

Select up to 30 seconds of the song, add a fade out of 1 or 2 seconds so it does not stop abruptly, and save it as MP3. Android accepts MP3 ringtones directly. An iPhone needs the M4R format, which you can create from the MP3 in GarageBand or the Music app.

Is my file uploaded?

No. The audio is decoded, cut and saved by your browser, so nothing is sent to a server. That is also why there is no queue and no waiting for an upload.

How exact is the cut?

The fields accept tenths of a second, for example 1:23.5. Inside the file the cut is made at the exact sample, 1/44,100 of a second.

Does trimming reduce the quality?

Saving as WAV keeps the decoded audio exactly. Saving as MP3 encodes it again, which loses a little detail each time; at 192 kbps or more the difference is very hard to hear.

Can I cut the audio of a video?

Yes. Choose an MP4, MOV or WebM file and the tool reads its audio track. The result is an audio file; the picture is not kept.