Video Trimmer

How to use 4 steps
  1. Choose your video under Video file.
  2. Set Start and End, or play the preview and press Set from preview.
  3. Choose what happens to the Audio, then press Trim Video.
  4. Keep this tab in front until it finishes, then download the trimmed video.

MP4, WebM and MOV. Nothing is uploaded — the file is decoded and re-encoded by your own device.

Trimmed Video

How this tool works

Set a start and an end, and everything outside that range is discarded. The preview plays the whole video so you can find the marks by watching rather than guessing, and each mark can be set from wherever the preview is paused. Nothing is uploaded — the file is decoded and re-encoded by your own device.

Trimming in a browser always re-encodes rather than copying the wanted part out. A player can seek anywhere, but a file can only begin at a keyframe, so cutting at an arbitrary second without re-encoding would either move the cut to the nearest keyframe or leave a broken opening. Re-encoding costs a little quality and puts the cut exactly where you asked for it. The quality is otherwise preserved: trimming should not quietly compress, and the compressor exists for anyone who wants a smaller file.

What to expect from the result

  • The cut lands where you put it: not at the nearest keyframe, which is what tools that copy rather than re-encode have to do. That is the trade — a small quality cost in exchange for the cut being where you asked.
  • Timestamps start again at zero: a trimmed file whose first frame still claims to be four minutes in plays as four minutes of nothing in several players and uploaders. Both the picture and the sound are rebased so the result starts at the beginning.
  • Audio needs AAC, which not every browser can write: AAC encoding is unavailable in Firefox on every platform and in every browser on desktop Linux. Where it is missing the sound is dropped and the page says so before you start. Chrome, Edge and Safari keep it.
  • A long source costs memory even for a short cut: the audio track has to be decoded in full before the wanted part can be taken from it, because there is no way to decode only a section. Trimming ten seconds out of an hour still reads the hour of sound.

Why it always re-encodes rather than copying

A video file can only begin playback at a keyframe, so cutting at an arbitrary second without re-encoding would have to either move the cut to the nearest keyframe or leave a broken opening. The [msm_tool slug="video-trimmer"] re-encodes the kept range instead, which costs a small amount of quality and buys the one thing copying cannot: the cut lands exactly on the second requested rather than the nearest convenient one.

The bitrate preserves rather than reduces

Trimming is not treated as an opportunity to also shrink the file — the bitrate is chosen to hold onto the original quality as closely as a re-encode allows. Anyone who wants a smaller result as well has the compressor for that, which is a separate, deliberate choice rather than something trimming does as a side effect.

Timestamps start again at zero

Both the video and the audio are rebased so the kept section begins at 0:00 in the new file, rather than a trimmed clip whose first frame still claims to be four minutes into the original. Several players and uploaders read that stale timestamp literally and open the file paused on nothing until it catches up, which rebasing avoids entirely.

The audio decode is usually the slow part

Browsers offer no way to decode only part of an audio track, so the entire source audio has to be read before the wanted portion can be taken from it — trimming ten seconds out of an hour-long recording still means decoding the full hour of sound. On a long source, that is typically the step that takes the time, not the video encode itself, which only has to process the range actually being kept.

To remove a section from the middle instead

This tool keeps a single continuous range, so cutting a piece out of the middle and rejoining what is left is a different job, handled by marking the parts to keep as two separate sections rather than one.

Where the sound can go missing

MP4 audio needs the AAC codec, which Firefox cannot encode on any platform and no browser can encode on desktop Linux. The page states this before the run starts. Chrome, Edge and Safari keep the audio.

Frequently Asked Questions

Specific to the Video Trimmer. Broader questions about this category are answered on the category page.

Slightly, because the kept section is encoded again rather than copied. The bitrate is chosen to preserve rather than reduce, so the difference is small — and it is what allows the cut to land exactly where you set it.
This keeps one range. To remove a middle part you keep two ranges and join them, which the section cutter does — mark what you want to keep on either side of the unwanted part.
The video encodes only the kept range, so that part is quick. The audio has to be decoded in full first, because browsers offer no way to decode part of a track, and on a long file that is the slow step.
MP4 requires the AAC codec, which Firefox cannot encode on any platform and no browser can encode on desktop Linux. The page warns before you start when that applies. Chrome, Edge or Safari will keep the audio.
No. Decoding and encoding both happen on your own device, through the same hardware encoder your phone uses to record. Nothing is sent to this site or anywhere else.

Subscribe to receive notifications about new tools, features, and productivity tips.