HeyDreaming

Free · processed in your browser · free account to download

Trim a Video Online

Loading the tool…

Cut the beginning, end or middle out of an MP4, MOV, WebM, MKV or M4V video by setting start and end times in seconds. Trimming runs in your browser on files up to 200 MB, so the video is not uploaded.

How do I trim a video to a shorter clip?

Drop your video into the box above, scrub the player and click Set start at current time and Set end at current time (or type the start and end seconds directly), then press Trim video. Working in your browser tab (the first run takes longer), the tool encodes your cut as an MP4 you can preview and download.

How it works

01

Add your video

Drag one MP4, MOV, WebM, MKV or M4V file into the box, or click to choose it. Clips up to 200 MB are accepted.

02

Set the start and end times

Type the Start and End times in seconds (with 0.1 s steps), or pause the preview player where you want the cut and click Set start at current time or Set end at current time. End defaults to the clip duration rounded up to 0.1 s when the browser reports it.

03

Run the trim

Press Trim video. The first run in a tab takes a little longer; longer cuts or high-resolution clips take longer to encode.

04

Preview and download

Watch the trimmed MP4 in the player, compare the file sizes, and download the clip with -trimmed added to its name.

Frame-accurate cuts with start and end seconds

Screen recordings and phone clips often start with a few seconds of setup and end with the stop button appearing on screen. You can trim those dead moments either by typing exact numbers into Start (s) and End (s) or by scrubbing the preview player and clicking Set start at current time and Set end at current time (which rounds down to the nearest tenth of a second).

When the browser can read the video's duration, the End field automatically fills with that length rounded up to the next 0.1 second. If the browser cannot read the duration of an MKV file, the End box stays empty and you type the end time in seconds yourself.

Why the trimmed clip is re-encoded

Cutting a video without re-encoding can only split cleanly on keyframes, which are often several seconds apart and leave black frames or frozen audio at the cut point. To start and stop cleanly at your exact timestamps, this tool re-encodes the kept section to H.264 video (CRF 23, veryfast preset, yuv420p color) and 128 kbps AAC audio inside an MP4 container with faststart enabled.

If you leave Start blank, the trim starts at 0 seconds. If you enter an End time past the real length of the video, the encoder stops at the end of the source file.

What this tool does not do

It does not splice multiple separate ranges together into one video, add fade-in or fade-out transitions, or cut without re-encoding.

See all free tools

Keep exploring

Related free tools

Questions

Video Trimmer: FAQ

Is my video uploaded to a server?

No. Trimming happens inside your browser tab, so the video stays on your device and is not uploaded. The page sends usage events to Google Analytics, such as which tool ran, but never the video.

How accurate are the start and end times?

The Start and End fields step in tenths of a second (0.1 s) and are passed to the encoder with millisecond precision (`0.000` s). Because the clip is re-encoded, cuts do not have to snap to a distant keyframe.

Why is the End box empty when I load my file?

When the browser's video player can read the file's duration, End is pre-filled with the duration rounded up to 0.1 s. When the browser cannot preview the format or reports no duration, End stays empty so you can type the end time in seconds.

Can I cut a section out of the middle and join the two ends?

No. This tool extracts one continuous segment between Start and End.

Why is the first run slower?

The first trim in a tab waits while the browser gets the video tools ready. Later trims in the same tab start immediately.

What happens if my video has an odd pixel width or height?

Standard H.264 with yuv420p requires even pixel dimensions, and the trimmer does not round odd sizes, so the trim fails on an odd-sized video. Run it through Crop Video or the Video Resizer first; both round sides to even numbers.