Guide
How to trim a video without losing quality
Cutting a video usually means waiting while an app re-renders the whole file, and losing a little quality each time. There is a faster way that keeps every pixel exactly as it was recorded. This guide explains how it works and what to watch for.
The idea: copy instead of re-encoding
A video file stores its pictures in compressed form. Normal editors decode them, let you change things and then compress everything again, which takes time and slightly degrades the image. When you only need to cut a piece out, the compressed data can simply be copied without touching it. That is what the trim tool does: it copies the part between your start and end time, so it finishes in seconds and the quality is identical to the original.
The catch: keyframes
Compressed video does not store a full picture for every frame. It stores a complete picture only every so often, called a keyframe, and the frames in between only describe what changed. Without re-encoding, a clip has to begin at a keyframe, because that is the only place where a full picture exists. Keyframes usually come every two to ten seconds, depending on the camera or the app that recorded the video.
In practice, the start of your clip may land a little earlier than the time you typed. The end is more precise. For most uses, such as removing a slow intro or the end of a recording, this is perfectly fine.
How to trim a video
- Open the trim tool and choose your video.
- Enter the start and end time in seconds. For example, 12 to 47 keeps the part from second 12 to second 47.
- Press the cut button and download the clip.
Getting the cut you want
- Start a couple of seconds before the moment you care about, then watch the result and adjust.
- Some players show a short frozen frame at the start of a clip cut this way. If that bothers you, move the start a little and try again.
- Need a cut that is exact to the frame? That requires re-encoding, which a video editor can do, at the price of more time and a small loss of quality.
Trim first, compress after
If your goal is a smaller file, trim first and compress second. Trimming costs no quality, and compressing a shorter video is faster. Doing it the other way round means you spend time processing parts you will throw away.
Private by design
The video never leaves your device. The cut is made by your browser, with the same technology as the other tools on this site.
