Trim Video

Cut the start and end of a video to keep just the part you want. Trim in seconds without re-encoding and without losing quality, or cut precisely at the frame you choose. Works with MP4, MOV, WebM and MKV, and your video is never uploaded.

Trimming video - fast vs precise trimming and key frames

Loading the guide…

Trim Video: walk through with a sample

Your files never leave this device. Everything is processed inside your browser and nothing is uploaded to a server.

When to use Trim Video

  • Keep only the scenes you need

    Keep just the few minutes that matter from a long meeting, lecture or phone recording before you send it. Cutting the setup at the start and the wrap-up at the end lets people get straight to the point.

  • Fit a length limit on chat apps and social media

    Pick the start and end to fit the length limit of where you post, such as one or three minutes. Fast trimming does not re-encode, so the quality stays the same and it takes seconds.

  • Tidy up a screen recording

    Remove the seconds at the start and end that were recorded while you started and stopped the recording. If it must start exactly at the frame you chose, pick precise trimming.

How to use the Trim Video tool

  1. Click "Choose a video file" or drag a video onto the page.
  2. Watch the preview and drag the handles on both sides of the bar to pick the part to keep. You can also click "Set start here" or "Set end here" while playing, or type the times.
  3. Check it with "Play selection" and choose how to trim (fast or precise).
  4. Click "Trim", and when it is done, click "Download".

Frequently asked questions

What is the difference between fast and precise?

Video can only be decoded from key frames (frames stored whole), which come every few seconds. Fast trimming does not re-encode: it keeps the data from the nearest key frame before your start and marks the file to play from your start (an edit list in MP4 and MOV). The quality stays the same, it takes seconds, and most players start exactly at your start. Precise trimming re-encodes the picture so the frame you chose becomes the first frame, which looks the same in every program but takes about as long as the video.

My fast-trimmed video starts a little early in an editing program.

Programs that ignore edit lists show the video from the earlier key frame (usually within a few seconds). WebM and MKV use negative timestamps instead of an edit list, which programs handle differently. In that case, use precise trimming.

It says the video cannot be trimmed fast.

Fast trimming needs a key frame within 10 seconds before your start. Videos with very rare key frames, such as screen recordings, have them farther apart; moving the data as is would either leave a long hidden part in the file (MP4, MOV) or make a file that cannot be played (WebM and MKV cannot hold frames more than 32 seconds before the start). In that case, choose precise trimming.

Which browsers does it work in?

Fast trimming only moves data inside the file, so it works in most modern browsers. Precise trimming re-encodes with the WebCodecs built into the browser, so it needs Chrome or Edge 94+, Safari 16.4+ or Firefox 130+ on desktop, and the browser must be able to decode and save that codec. If it cannot, the page tells you beforehand and lets you choose fast trimming only. Safari cannot play an MKV preview, but trimming still works.

Which files can I open?

MP4, MOV (including iPhone videos), WebM and MKV. The result is saved in the same format. Precise trimming saves the picture as H.264 in MP4, MOV and MKV and as VP9 in WebM. Older formats such as AVI and WMV cannot be opened.

Does it work with very large videos?

The file is not read all at once, only the parts that are needed, so even videos of several GB can be opened. The result is collected in the browser before you download it, so a very large result (several GB on a phone) may run out of memory. In that case, trim it in several parts.

What gets downloaded?

When you first open a video, the page loads a program that reads and writes video files (mediabunny, about 120 KB compressed) from this site. Decoding and saving are done by the WebCodecs built into your browser, and your video is never uploaded. mediabunny is open source under the Mozilla Public License 2.0; the license text and source information are at justus.ing/vendor/mediabunny/README.txt.

Is my video uploaded?

No. Opening, previewing and trimming all happen in this browser, so you can safely use family videos and work recordings.

Are my files uploaded to a server?

No. Files are processed only inside your browser and are never sent to any server. Only the code and character mapping data needed for processing are downloaded from this site; your files themselves never leave your device. You can check this yourself in the Network tab of your browser's developer tools.

Are my files safe even with ads on the page?

Yes. Ads only run outside the tool area. The tool area, where you choose and process files, is an isolated space your browser keeps separate, so other scripts on the page, including ads, cannot read your file content or file names. The tool area is blocked from connecting anywhere other than this site. When you drag a file onto the page, the tool area expands to fill the screen so the isolated space receives the file.

Guides