How do I cut part of a video without re-encoding?
A video trimmer cuts a clip out of a longer video. This video trimmer has a fast mode that copies the video without re-encoding, so it is quick and keeps the original quality, and a re-encode mode for exact cuts, in your browser.
Trimming keeps only the part between a start and end time. In fast mode the video and audio data are copied as they are into a new file, so it takes seconds even for large files and loses no quality. The catch is that video can only start cleanly at a keyframe, so the cut may begin at the nearest keyframe before your chosen start.
For a frame-accurate cut, switch to re-encode mode: the clip is decoded and encoded again, which takes longer and slightly lowers quality but starts exactly where you choose. You can output MP4, WebM, MOV or MKV, and the fast mode needs a codec the chosen container supports.
Both modes run in your browser using mediabunny and WebCodecs, so the video is not uploaded. For smaller files use the [Video Compressor](/tools/video-compressor).
Page updated .
How to use the Video Trimmer
- Drop the video and set the start and end with the sliders.
- Choose fast mode, or re-encode for an exact cut, and the output format.
- Trim and download the clip.
Examples
A 1 hour recording, 10:00 to 12:30, fast mode
A 2:30 clip in seconds with identical quality
The same clip, re-encode mode
Starts exactly at 10:00 with a small quality cost
Tips
- Use fast mode for long recordings and re-encode only when you need an exact start.
- Pick the same container as the source for the best chance of fast mode working.
- Check the first seconds of the result for a slightly early start.
Specs & limits
- Modes
- Fast copy and re-encode
- Outputs
- MP4, WebM, MOV, MKV
- Libraries
- mediabunny and WebCodecs
- Cuts
- Keyframe-aligned in fast mode
- Processing
- In your browser
Troubleshooting
›Clip begins before the chosen start
Cause: Keyframe alignment.
Fix: Use re-encode mode.
›Fast mode will not run
Cause: The codec does not fit the container.
Fix: Choose a compatible container or re-encode.
›Slow re-encode
Cause: Long or high resolution clip.
Fix: Trim in fast mode first, then re-encode the short clip.
Frequently asked questions
›Why does the clip start a little early?
Fast mode cuts at the nearest keyframe. Use re-encode for an exact start.
›Is quality lost?
Not in fast mode. Re-encode mode lowers quality slightly.
›Which formats can it output?
MP4, WebM, MOV and MKV.
›Why is fast mode unavailable?
The codec is not supported by the chosen container.
›How long does it take?
Fast mode is almost instant. Re-encode takes time based on the clip length.
›Is my video uploaded?
No. Trimming happens in your browser.