Video Trimmer

Cut video clips by start and end timestamp: lossless stream copy, processed entirely in your browser, files never uploaded.

Your video is trimmed locally with FFmpeg running in your browser. Nothing is uploaded; the file never leaves your device. First use downloads the ~31 MB engine once. Files up to 200 MB.

Segment mode
Segments

Times accept HH:MM:SS, MM:SS, or MM:SS.s (for example 00:01:23.5). With one segment in Keep mode the cut is lossless (stream copy); multiple segments or Remove mode re-encode the result. Segments are processed in the order listed.

About the Video Trimmer

Cutting a section out of a video does not usually require re-computing every frame. This tool uses FFmpeg stream copy (-c copy): it copies the compressed video and audio packets between your two timestamps straight into a new file without decoding and re-encoding them. The result is a genuinely lossless trim (the kept segment is bit-for-bit identical to the source), and it finishes in seconds even on long videos.

The trade-off is keyframe seeking. Compressed videos only store full frames at intervals (keyframes) and describe everything in between as changes. Stream copying can only start at a keyframe, so the actual cut point may land up to a couple of seconds before or after the exact time you typed. When the copy path produces no output (which can happen with unusual codecs or cut points), the tool automatically falls back to re-encoding the segment with H.264 and AAC, which cuts precisely at your timestamp but recompresses the frames.

Trimming runs locally with FFmpeg compiled to WebAssembly, so your footage never leaves your device. The output keeps the source format. Need to change format or shrink the result afterwards? Use the Video Converter or the Video Compressor.

How to Trim a Video

  1. Select your video file (MP4, WebM, MOV, MKV, AVI, and more, up to 200 MB).
  2. Enter the start time of the segment you want to keep, for example 00:00:05.
  3. Enter the end time, for example 00:01:23.5. Decimal seconds are allowed.
  4. Click Trim Video. The engine loads once, then the segment is cut locally.
  5. Check the result summary; it tells you whether the cut was lossless or re-encoded.
  6. Click Download Trimmed Video to save the clip.

Video Trimmer FAQs

Is trimming lossless?

Yes, in the default path. The tool uses stream copy, which copies the existing compressed data between your timestamps without re-encoding it, so the kept segment keeps the exact quality of the source. Only when stream copy fails outright does the tool re-encode the segment, and the result summary tells you when that happened.

Why does my cut start slightly off from the time I entered?

Compressed videos store complete frames only at keyframes, typically one every few seconds. Stream copy must begin at a keyframe, so the cut lands on the nearest one before or after your timestamp. If you need a frame-exact cut, the trade-off is a re-encode (slower and recompressed, but precise).

What time formats are accepted?

HH:MM:SS, MM:SS, and either with decimal seconds, such as 00:01:23.5 or 1:23.5. Hours are optional, minutes and seconds are two digits at most, and seconds may carry a fraction. The end time must be later than the start time or you will get a clear error.

Does trimming reduce file quality or size?

Quality is unchanged in the lossless path: the output contains the same compressed data as the source segment, so the file size is simply proportional to the duration you kept. Trimming is not a way to compress a whole video; for that use the Video Compressor.

Will the output play anywhere?

The trimmed file keeps the source format and codecs, so it plays exactly where the original played. No container change is involved in the lossless path, and the re-encode fallback produces standard H.264 MP4, which plays essentially everywhere.