Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

Video Trimmer

Cut a section out of a video on a frame-accurate timeline with a live preview. Drag the start and end handles, preview just your selection, and export either with the original quality kept or re-encoded to MP4 or WebM.

Everything runs locally in your browser. Your data never leaves your device.

Drop a video here

MP4, WebM, MOV, MKV and more. Click to choose a file.

It never leaves your browser.

Next steps

Send this tool's output straight into another tool.

Convert videos between MP4, WebM, MKV and MOV. Drop in one or more files, pick the target format and quality, follow the encoding progress, and download the results one by one or all at once.

Shrink a video file right in your browser. Pick a quality level or a target size, optionally scale the resolution down, and compare the size before and after with a preview of the result.

Turn a video clip into an animated GIF. Pick the exact section on a timeline, set the frame rate, size and loop behavior, and fine-tune the palette for a small file that still looks good.

Hash text or a file with MD5, SHA-1, SHA-256, SHA-512, SHA-3, BLAKE2, BLAKE3, CRC32 and more, all computed live as you type. Compare against an expected checksum and copy any digest.

Verify a checksum online: drop a file, paste the expected checksum and see instantly whether they match. The hash type is detected from the checksum itself, covering MD5, SHA-1, SHA-256, SHA-512, BLAKE3, CRC-32 and more, and sha256sum lines or whole checksum files can be pasted as-is.

Compress text or a file with gzip, deflate, brotli or Zstandard and see the size before and after, the compression ratio and how long it took. One click tries every method and recommends the smallest result.

Decompress gzip, deflate, brotli or Zstandard data from a file or pasted Base64 and read the result as text or download it. Detects the format from the magic bytes where possible, with a manual override.

Inspect any file or text as a hex dump with offsets, byte values and an ASCII column. Jump to an offset, search for bytes or text, select a range to see it decoded as integers and strings, and copy or download the dump.

See everything about a video file: duration, resolution, aspect ratio, frame rate, codecs, bitrate, container details and audio tracks, with a frame preview and a per-track breakdown. Reads MP4, WebM, MKV, MOV and more.

About the Video Trimmer Tool

This tool cuts a clip out of a video. Drop in a file and its frames appear as a filmstrip on a timeline. Drag the start and end handles around the part you want, type exact times down to the millisecond, or set them from the paused player, then preview just the selection before exporting.

Two export modes cover the two things people mean by trimming. Fast copy cuts without re-encoding, so it finishes in seconds and keeps the original quality and container. Precise re-encode is frame accurate and writes MP4 or WebM at the quality you choose.

What you can do

  • Trim an MP4, WebM, MOV or MKV video down to just the part you need.
  • Cut a video without re-encoding and without any quality loss.
  • Trim a video frame-accurately to MP4 (H.264) or WebM (VP9).
  • Pick the section on a filmstrip timeline with draggable handles.
  • Type exact start and end times down to the millisecond.
  • Preview exactly what the export will contain before saving it.

How to use the Video Trimmer

  1. 1Drop in a video, or click to choose one.
  2. 2Drag the start and end handles on the timeline, type exact times, or pause the player where you want and use Start here and End here.
  3. 3Hit Play selection to check the cut in the player.
  4. 4Pick Fast copy for an instant cut at the original quality, or Precise re-encode for a frame-accurate cut to MP4 or WebM with a quality slider.
  5. 5Export, watch the result, and download it.

Fast copy or precise re-encode

Fast copy copies the selected video and audio data into a new file without decoding it. That makes it near instant even for long videos, and the picture stays exactly as it was. The trade-off is that video can only be cut cleanly at a keyframe, so the actual cut can land up to a few seconds before the time you picked. The output keeps the original container, an MP4 stays an MP4 and an MKV stays an MKV.

Precise re-encode decodes the selection and encodes it again, so the cut lands exactly on the times you set. You choose MP4 with H.264 video and AAC audio, which plays everywhere, or WebM with VP9 video and Opus audio, which is usually smaller at the same quality. The quality slider controls the compression. Re-encoding takes real time, so expect a wait roughly in the order of the clip's length.

Limits

The export runs on ffmpeg compiled to WebAssembly, which downloads once (about 32 MB) the first time you use it. The player preview and the filmstrip use your browser's own video decoder, so a file the browser can't play shows no preview. You can still type start and end times and export it through ffmpeg.

Fast copy works for MP4, M4V, MOV, WebM and MKV files. For other containers use the precise re-encode. To change a video's format without cutting anything, use the Video Converter, and to make the result smaller, send it to the Video Compressor. A short selection also makes a good starting point for the Video to GIF Converter.

Credits

Open source does the heavy lifting in this tool. Thank you to:

  • ffmpeg.wasm

    A WebAssembly build of FFmpeg, the audio and video toolkit behind half the media software you know.

Everything this site builds on is listed on the credits page.

Turn a series of images into a video. Drop in your frames, reorder them, set the frame rate and resolution, and encode the result as MP4 or WebM, ready to play anywhere.

Convert an animated GIF into an MP4 or WebM video. Videos are far smaller than GIFs and play everywhere, so this is the quickest way to make a heavy GIF shareable.

Convert subtitles between SRT and VTT, shift their timing forward or backward, and fix frame rate drift to sync out-of-sync captions. Preview the parsed cues, catch format errors, and download the converted file.

Shrink a video file right in your browser. Pick a quality level or a target size, optionally scale the resolution down, and compare the size before and after with a preview of the result.

Convert videos between MP4, WebM, MKV and MOV. Drop in one or more files, pick the target format and quality, follow the encoding progress, and download the results one by one or all at once.

See everything about a video file: duration, resolution, aspect ratio, frame rate, codecs, bitrate, container details and audio tracks, with a frame preview and a per-track breakdown. Reads MP4, WebM, MKV, MOV and more.