Skip to content

How to trim a video without losing quality

Cut the start and end off a video without re-encoding it, why that keeps the quality untouched, and how to remove a part from the middle.

By The ytools Video teamPublished 5 min read

Try it now: Video trimmer. It runs in your browser, so your files never leave your device.

The way to trim a video without losing quality is to copy the frames you keep into a new file instead of re-encoding them. The video trimmer does that whenever the format allows, so the kept part is bit-for-bit the same as in the original, and trimming takes seconds even for long clips.

Why most editors lose quality when you trim

Video editors usually decode every frame and encode it again on export, even if all you did was cut the ends off. Each encode throws a little detail away, the same way saving a JPEG again does. Copying skips that: the compressed frames are moved into the new file as they are.

Step by step

  1. Open your MP4, MOV or WebM video in the video trimmer.
  2. Move the playhead to where the part you want begins and press Start.
  3. Move it to where that part ends and press End. The kept part is highlighted on the timeline.
  4. Press Trim video, check the result and download it. MP4 and MOV files are saved as MP4; WebM files stay WebM.

A note on keyframes

Compressed video stores a full picture only every so often, at keyframes. The frames in between are saved as changes from the frames before them, so they can’t be shown on their own. A copied cut therefore has to start at a keyframe. The trimmer starts at the nearest keyframe at or before your Start point, so you never lose a frame you chose, but the result can include a moment from just before it.

If the video can’t be copied into the output format, it’s re-encoded instead, at a bitrate based on the original’s, so the quality stays close.

Cutting a part out of the middle

The trimmer keeps one continuous part. To drop a section from the middle, trim the video twice, once for the part before the section and once for the part after it, then join the two with the video merger. Merging re-encodes, so do it once, at the end.

When to trim

  • Before compressing: a shorter video is a smaller video, and the compressor has less to do.
  • Before making a GIF: GIFs get big fast, so pick the exact moment first. The video to GIF tool has its own Start and End too.
  • Before removing a watermark: the watermark remover has a trim option, and shorter clips process faster.
  • When a clip ends badly: cutting off an awkward or glitchy last second is a trim, not an edit.

Need to edit a video?

Browse free tools