Trim a video, keep the quality
Drag the handles over the thumbnail strip, check the frame at each end, and save only the part you want. A fast cut copies the original video data instead of compressing it again, so a long recording is trimmed in seconds with nothing lost. When the cut has to land on an exact frame, switch to an exact cut. MP4, MOV, WebM and MKV.
Fast cut or exact cut
A video file does not store every frame as a full picture. Every so often there is a keyframe, a complete image; the frames after it are stored as changes to the frames before. Phones and cameras usually put a keyframe every one to two seconds, screen recorders sometimes only every ten.
That is why there are two ways to cut:
- Fast, no re-encoding. The compressed data is copied straight into the new file, so the picture and sound are exactly the original and the work takes seconds even for an hour of video. The catch: the copy has to begin on a keyframe, because the frames after it can’t be shown without it. The cut therefore starts at the keyframe at or before your start. The page tells you which keyframe that is and how much earlier it is, and marks it on the timeline with an amber line. When the keyframe is more than about ¾ second before your start, the page switches to an exact cut for you and offers “Start at the nearest key frame” instead. The end can be anywhere.
- Exact, re-encoded. Every frame of the part is decoded and compressed again, so the file starts on precisely the frame you chose. It takes longer, roughly as long as the clip plays or less on a fast computer, and a second round of compression costs a little quality. The page keeps the bitrate close to the original’s so the difference is hard to see.
If you pick a start that happens to be on a keyframe, the page says so: then the fast cut is exact as well. Moving the start handle with the −1 frame and +1 frame buttons is the quickest way to find one.
| Job | Result | Time |
|---|---|---|
| Fast cut, asked 0:05.40 – 0:15.00 | Starts at the keyframe 0:04.00, 11.0 s, 10.6 MB, original quality | 0.3 s |
| Exact cut, same times, sound removed | Starts at 0:05.40, 9.60 s, 8.18 MB, re-encoded H.264 at 7.2 Mbit/s (measured before exact cuts kept the source’s full 8 Mbit/s) | 8.3 s |
| Exact cut of a 720p, 24 fps clip with a single keyframe (video 5.1 Mbit/s), 0:03.40 – 0:07.20 | Starts at 0:03.40, 3.80 s, 2.40 MB, about 5.3 Mbit/s with the sound: the source’s bitrate kept (selected for you, because a fast cut would have started at 0:00) | 3.7 s |
| Fast cut from the same clip saved as MOV, 0:03 – 0:09 | Starts at 0:02.00, 7.0 s MP4, 6.72 MB | 0.2 s |
| Fast cut from a 720p WebM version, 0:05.40 – 0:15.00 | Starts at 0:04.00, 11.0 s WebM, 4.10 MB | 0.2 s |
| Fast cut of 11 min 40 s from a 1.16 GB, 20-minute recording | 672 MB MP4, original quality | 16 s |
How this was measured: on 6 November 2026 in Chromium 149 on a 16-thread Windows desktop. The clip is one we made for the test: 20 seconds of 1080p at 30 fps (H.264, 8 Mbit/s, a keyframe every 2 seconds, AAC stereo, 19.2 MB) showing a sliding picture, moving discs and small text. The long file is that clip repeated 62 times. Cuts that copy depend mostly on disk speed; the exact cut used the browser’s software encoder. The 720p row was measured on 20 November 2026 in Chrome on the same desktop, with a 10-second stock clip.
Which format comes out
A fast cut keeps the format family it came in: an MP4 or MOV from a phone becomes an MP4 with the same H.264 or H.265 video and AAC sound; a WebM stays a WebM. An MKV becomes an MP4 when its codecs fit one, otherwise a WebM. Moving a MOV into MP4 changes only the wrapper, not the video, and makes the file open in more places, Windows and Android among them.
An exact cut writes MP4 with H.264 video, which plays on practically every phone, computer, TV and website. The sound is copied over unchanged when it can be. In a browser that has no H.264 encoder for web pages, the page writes WebM with VP9 instead and says so next to the options before you start.
Trimming a video, step by step
- 1
Open the video
Choose it with the button or drop it on the page. Its size, length, frame rate and codecs appear in the card, and thumbnails fill the timeline.
- 2
Choose the part to keep
Drag the two handles, or type the times (minutes:seconds, like 1:05.40). The preview jumps to the frame at the handle you move; ±1 frame buttons fine-tune it, and Set to playhead takes the time where the playing preview is.
- 3
Cut and download
Pick fast or exact, keep or remove the sound, and press Trim video. The trimmed clip plays under the original with the sizes before and after, ready to download.
Files, browsers and large videos
| File | Opens? | Notes |
|---|---|---|
| MP4, M4V, MOV (phones, cameras, screen recorders) | Yes | H.264 everywhere; H.265 (HEVC) only where the browser can decode it, otherwise copy-only |
| WebM | Yes | VP8, VP9 or AV1 with Opus or Vorbis sound |
| MKV | Yes, when the codecs inside are ones browsers know | H.264, H.265, VP9, AV1 with AAC, Opus, MP3 or FLAC; old DivX/Xvid inside an MKV can’t be decoded |
| AVI, WMV, FLV, MPG/VOB, RealMedia | No | Browsers have no decoders for these; the page names the format and stops instead of failing halfway |
| ProRes and other editing codecs | Copy only | Can be trimmed or moved into MP4 without re-encoding, not compressed |
Copying works in every browser with WebCodecs: current Chrome, Edge, Firefox and Safari, on computers and phones. An exact cut also needs a video encoder; where the browser has none for H.264, the page writes VP9 in WebM and tells you before you start.
The file is read in small pieces as it is needed, not loaded whole, so its size is not the limit: on our desktop a 1.16 GB, 20-minute recording opened in about a second, and cutting 11 minutes 40 seconds out of it (672 MB) took 16 seconds while the page itself used under 30 MB of memory. Results up to about 190 MB are built in memory; larger ones are written to the browser’s private storage on your disk as they are made, then downloaded from there. On iPhones and iPads, and on devices with 4 GB of memory or less, the page warns before working on a very large file, because the browser may close the tab when memory runs short.
Your video stays on your device
The file is read and cut by your browser, inside this tab. Photoyam has no server to send it to, and large results are kept in the browser’s own private storage on your disk, removed when you trim the next video.
Video trimming questions
Why does my fast cut start a little earlier than I set?
A copy without re-encoding can only begin on a keyframe, a complete picture the following frames depend on. The page starts at the nearest keyframe before your start and tells you how much earlier that is. When that keyframe is more than about ¾ second away, the page selects Exact, re-encoded for you, so the file starts on your frame; a button moves your start onto the keyframe instead if you prefer a fast, lossless cut.
Does trimming lower the quality?
Not with a fast cut: the video and sound data are copied unchanged. An exact cut compresses the part again at about the original bitrate, which loses a little detail, usually invisible at normal viewing.
Can I trim a very large video?
Yes. The file is read piece by piece rather than loaded into memory, and large results are written to the browser’s private disk storage. In our test a 1.16 GB recording was cut in 16 seconds. On iPhones and iPads the browser has less memory to spare, so the page warns before working on very large files.
Can I cut a piece out of the middle?
Not in one go: this page keeps one continuous part. To drop a middle section, trim the part before it and the part after it as two files. Joining clips is not something this page does yet.
Why won’t my AVI or WMV file open?
Browsers have no decoders for AVI, WMV, FLV or MPEG-2 video, and this page only uses what the browser provides. It names the format instead of failing halfway. A desktop converter such as HandBrake or VLC can turn the file into MP4 first.
Will the sound stay in sync?
Yes. Picture and sound are cut on the same timeline, and when the start moves to a keyframe the sound starts there too.
Related video tools
- Compress the trimmed clipWhen it still has to be smaller to send or upload.
- Convert video or extract audioMOV, MKV or WebM to MP4, or just the sound as M4A.
- Turn the part into a GIFFor places that take images but not video.
- How to Make a GIF From a VideoPicking a short part matters there too.
Looking for something else? Browse every Photoyam tool.