Trim a video without re-encoding

Cut the start and end off an MP4, MOV, WebM or MKV video. The lossless cut is instant and keeps the original quality; frame-accurate mode re-encodes when the start has to land on an exact frame. The video never leaves your device.

Video

or drop it anywhere on this page
MP4, MOV, WebM or MKV

Open a video to trim it.

I start · O end · ← → one frame · Shift + arrows one second · Space play

Selection —

Cut

Your video never leaves your device. The cut is made by your browser from the file on your disk, and the page sends nothing over the network with it.

Why a lossless cut is instant

A video file is a container (MP4, MOV, WebM, MKV) holding compressed video and audio, stored as a series of small packets, roughly one per frame. A lossless trim doesn’t touch the picture: it copies the packets between your start and end into a new container. The FFmpeg manual describes this “stream copy” as doing “only demuxing and muxing”, and adds: “Since there is no decoding or encoding, it is very fast and there is no quality loss” (FFmpeg documentation).

So the trimmed clip has the same codec, resolution, frame rate and bitrate as the original, and each copied frame is byte for byte the frame of the original file. The time it takes depends on reading the file, not on your device’s power: there is nothing to compute.

What a keyframe is, and why the start can move

To save space, most frames in a compressed video are stored as the difference from other frames. Only some are complete pictures:

  • I-frames (keyframes) “don’t require other video frames to decode”.
  • P-frames “can use data from previous frames to decompress”.
  • B-frames “can use both previous and forward frames for data reference”.

Quotes from Wikipedia, Video compression picture types.

A clip can’t begin on a P- or B-frame: the frames it depends on would be missing, and the player would show garbage. That’s why a lossless cut starts on the last keyframe at or before your start, so your clip may begin a little earlier than you asked. The end needs no keyframe: it is cut at the frame you choose, sometimes one frame later, when the last frame you keep is stored as a difference from the next one.

How far apart keyframes are depends on the camera or the app that made the file. For live streams, for example, YouTube recommends a keyframe every 2 seconds and no more than 4 (YouTube Help). The tool reads the real keyframes from your file: they appear as ticks under the timeline, the hatched area shows what a lossless cut adds before your start, and the exact start is shown before you cut, with buttons to move your start onto the previous or the next keyframe.

When to choose frame-accurate mode

Choose it when the first frame matters: a clip that has to begin on a word, a beat or a cut in the footage, or a file whose keyframes are several seconds apart. In this mode the video is decoded and encoded again by your browser’s own encoder (WebCodecs), as H.264 in an MP4 file, at about 1.25 times the original bitrate to keep the quality high. The sound is copied as is whenever MP4 can hold it.

Re-encoding takes longer — every frame of the clip is decoded and compressed again — and, like any re-encode, it loses a little quality. Two things limit the cost:

  • If your start is already on a keyframe, nothing is re-encoded: the packets are copied and the cut is exact anyway.
  • Only the part you keep is processed, not the whole file.

Frame-accurate mode needs the WebCodecs video encoder. According to MDN’s compatibility data (VideoEncoder), it is available in Chrome and Edge 94+, Firefox 130+ on computers and Safari 16.4+. The lossless cut needs no encoder and works in any recent browser.

Formats and what you get back

Your fileLossless cutFrame-accurate
MP4, M4VSame format, video and sound copiedMP4: H.264 video, sound copied when MP4 can hold it
MOVMOV, video and sound copied
WebMWebM, video and sound copied
MKVMP4 when it holds H.264 or HEVC video with AAC or MP3 sound, which every MP4 player reads; otherwise MKV

A lossless cut doesn’t need to decode the video, so it also works on files your browser can’t play — you just get no preview, and you set the times by typing them or with the timeline. That is often the case with H.265/HEVC, the format iPhones record in their “High Efficiency” camera setting (Apple Support): Can I use lists only partial support in Chrome (from version 107), in Edge, and in Firefox (from version 137), and full support in Safari 13+ on Mac and Safari 11+ on iPhone and iPad (Can I use, HEVC). Frame-accurate mode needs to decode the video, so it is only offered when your browser can.

Sources last checked 30 November 2026.

FAQ

Is my video uploaded?
No. The file is read and cut in your browser; nothing is sent to a server. The cut mode and the “Remove audio” option are saved in the page address so you can bookmark them; the video is not.
Does the lossless cut lose any quality?
No. The video and sound packets are copied without being decoded, so every frame you keep is identical to the original.
Why does my clip start earlier than I set?
Because a lossless cut has to start on a keyframe (see above). The page shows the real start before you cut. To start exactly where you want, move your start onto a keyframe or choose Frame-accurate.
Can I keep several parts of a video?
Not in one go: the tool keeps one range. To get several clips, trim the same video again with another start and end — the original is never changed.
How do I just cut off the end, or the beginning?
Leave the start at 00:00.000 and move the end, or the other way round. Cutting only the end needs no re-encoding: a video always begins with a keyframe, so the start stays exact.
Can I remove the sound?
Yes: tick “Remove audio” and the clip is saved with the picture only. The video is still copied without re-encoding.
Does it keep metadata such as the location?
No. Location, device and other descriptive tags are not copied to the trimmed file. The rotation of phone videos is kept, so vertical videos stay upright. Only the main video and audio tracks are kept; subtitles and extra audio tracks are dropped.
Is there a file size limit?
No set limit. The original is read from your disk in small pieces. A clip of up to a few hundred MB is built in memory; a larger one is written in parts that the browser can keep in its temporary storage, so it needs free space rather than free memory. On a phone, very long clips are still limited by its storage. The page warns you when the result will be large.
My clip is still too big to send. What now?
Use the video compressor: it re-encodes a video to fit a size you choose, such as 20 MB for Discord or 25 MB for email. When the trimmed clip is over 20 MB, a button sends it straight there, without uploading it.
Which software does it use?
Mediabunny (open source, MPL-2.0), which reads and writes MP4, MOV, WebM and MKV files, with your browser’s WebCodecs encoder for frame-accurate mode. It is loaded only when you open a video.