How to Trim a Video Without Losing Quality
· 6 min read · BrowserConvert Team
videotrimminglossless
You can trim a video with zero quality loss by cutting it with a stream copy: the trimmer copies the compressed video and audio data between your start and end points into a new file, without decoding or re-encoding a single frame. It's lossless and takes seconds. The one catch is that a lossless cut can only start on a keyframe, so the start point may shift by a moment. If you need the cut on an exact frame, you re-encode, and that costs a little quality and some time.
Two ways to cut a video
Every trimmer does one of two things under the hood, whether it tells you or not.
| Stream copy (lossless) | Re-encode (frame-accurate) | |
|---|---|---|
| Quality | Identical to the original, bit for bit | Very slightly lower: the video is compressed a second time |
| Speed | Seconds, even for an hour-long file | Roughly as long as the clip, depending on your device |
| Cut precision | Snaps to the nearest keyframe | Exact frame |
| Output format | Same codec, same container | Usually a new codec (often H.264 MP4) |
| File size | Proportional to the part you keep | Depends on the encoder settings |
For most everyday cuts — removing the fumbling at the start of a phone video, splitting a recording, pulling a highlight — stream copy is the better choice. Re-encoding makes sense when the exact frame matters, or when you need a different format anyway.
Keyframes, explained plainly
Compressed video doesn't store every frame as a full picture. That would make files enormous. Instead it works like this:
- A keyframe (also called an I-frame) is a complete image, like a photo.
- The frames after it store only what changed since the previous frames: a hand moved, the camera panned a little.
To show frame 50, a player starts at the last keyframe before it and rebuilds every change up to frame 50. That's why a frame in the middle can't stand on its own: without its keyframe, it's a list of changes to a picture that isn't there.
Keyframes are spaced apart, typically from a fraction of a second to a few seconds depending on the camera or encoder. So when a stream-copy trimmer cuts your clip, it has to start at a keyframe. It can't start between two of them without rebuilding the frames, which means re-encoding.
In practice, a lossless cut that lands a second away from where you set it isn't a bug. It's the keyframe rule. The end point is far less of a problem, because playback simply stops where the copied data ends.
When re-encoding is worth it
Choose a frame-accurate re-encode when:
- The first frame matters. A clip that has to open exactly on a punchline, a beat drop or a title card.
- You're joining clips in an editor that expects cuts on exact boundaries.
- You need a different format. If the source is WebM, MKV or AVI and you need an MP4 that plays everywhere, the video gets re-encoded anyway, so you might as well get exact cuts too.
A single careful re-encode at a sensible quality setting isn't visible in normal viewing. The losses add up when a video is re-encoded over and over: edited, exported, sent through a messaging app, downloaded and edited again. Stream copy keeps your trim out of that chain.
Trimming on your phone
Both major phone photo apps have a trim tool built in, and for a quick cut on the device that shot the video, they're the easiest option.
iPhone (Photos app). Open the video, tap Edit, and drag the sliders at both ends of the timeline. Tap Done, then choose Save Video to keep only the trimmed version, or Save Video as New Clip to keep the original and add the trimmed copy to your library. If you want to keep the full video, pick the second option.
Android and iPhone (Google Photos). Open the video, tap Edit, and drag the trim handles. On Android, tap Save; on iPhone and iPad, tap Save copy. Google Photos saves the trimmed version as a copy and leaves the original in place.
The limits of the built-in tools: they work on videos in your phone's library, they don't let you choose between a lossless cut and a re-encode, and they don't give you a format choice. For a file on your computer, a screen recording, a video someone sent you, or a cut you want guaranteed lossless, use a dedicated trimmer.
How to trim a video losslessly in your browser
Our video trimmer runs FFmpeg compiled to WebAssembly inside your browser. The video is cut on your own device and never uploaded. There's no account, no watermark and no file queue.
- Open the trimmer and drop in your video. MP4, MOV, WebM, MKV and AVI all work.
- Set the range. Type the start and end times (seconds, or minutes:seconds like
1:30), or play the preview and press use current to grab the playhead position. The selection length updates as you go. - Pick a mode:
- Fast · lossless (the default) copies the streams byte for byte. It cuts on the nearest keyframe and finishes in seconds.
- Precise · re-encode re-encodes the selection with H.264 and AAC audio, so the cut lands on the exact frame you set. It takes roughly as long as the clip.
- Choose the output format. Original keeps the source container (a MOV stays a MOV, an MKV stays an MKV). MP4 gives you a file that plays almost anywhere. For MOV and MP4 sources, switching to MP4 is still lossless, because the streams can be moved into the MP4 container as they are. For WebM, MKV and AVI the tool tells you that converting to MP4 will re-encode.
- Press Trim video and download the result.
You can confirm that nothing is uploaded by opening your browser's network tab while it runs.
After the trim: crop or compress
Trimming is often the first step:
- Posting to TikTok, Reels or Shorts? Reframe the horizontal clip to vertical with the video cropper. Cropping changes every frame, so it always re-encodes. Trim first, so you only encode the part you keep. See how to crop a video to 9:16.
- Need it under a size limit? Run the trimmed clip through the video compressor, which works out the bitrate from your target size and the clip's length. A shorter clip gets more bits per second, so trimming before compressing gives a sharper result at the same size.
If you trimmed an iPhone video and the MOV file won't open on a Windows PC, that's a codec issue, not a trimming problem: see what a MOV file is.
FAQ
Does trimming a video reduce its quality? Not with a stream-copy trim. The kept part is identical to the original data. Quality only drops if the trimmer re-encodes, which frame-accurate mode does deliberately.
Why does my trimmed clip start a little earlier or later than I set? A lossless cut has to begin on a keyframe, and keyframes can be a second or more apart. Switch to precise mode if you need the exact frame.
Is the trimmed file smaller? Yes, roughly in proportion to how much you cut. A stream-copy trim of half a video gives you about half the file size. To shrink it further, compress it afterwards.
Does the trimmer add a watermark? No. It doesn't add a watermark or upload your video: the whole cut happens in your browser.