Select File
or drag and drop files here
How to Trim a Video
Upload a video file (MP4, WebM, MOV, AVI, or MKV)
Set the start time and end time in seconds using the preview player for reference
Click Process to trim and download the result as MP4
Why WebCodecs is faster than FFmpeg WASM for trimming
Most browser-based video tools use FFmpeg compiled to WebAssembly, which runs entirely in software and can be 5-10x slower than native. This tool uses the WebCodecs API, which routes encoding and decoding through the browser's built-in hardware acceleration — the same codecs your GPU uses to play videos. For a trim operation on a typical 100MB MP4, the difference is seconds versus minutes.
Tips for best results
- Use the video preview to find exact timestamps before setting start and end values
- MP4 input files process fastest — convert other formats first if speed is a concern
- For very long source videos, trimming a short segment is nearly instant regardless of total file duration
- If output looks slightly off at the cut point, this is a keyframe issue — try adjusting start time by 0.5 seconds
Key Features
Hardware-Accelerated Processing
Uses the WebCodecs API for GPU-assisted video processing, significantly faster than software-based WASM solutions.
MP4 Output
Output is always a clean MP4 file — the most compatible video format for sharing, uploading, and playback on all devices and platforms.
Microsecond Precision
Trim to exact timestamps without the keyframe rounding issues that affect simpler tools. Start and end points are respected precisely.
No Upload Required
All processing happens in your browser. Large video files are handled efficiently with streaming I/O — no server, no wait, no privacy risk.
Complete Privacy
Video files are processed entirely in your browser. No data is uploaded to any server at any point. Files exist only in browser memory during processing.
Frequently Asked Questions
What formats can I trim?
You can upload MP4, WebM, MOV, AVI, and MKV files. Output is always MP4 for maximum compatibility.
Is there a file size limit?
The tool enforces a 500MB limit. Files are streamed efficiently so memory usage stays low even for large inputs.
Why is my output slightly different from what I set?
Video trim points are snapped to the nearest keyframe when transmuxing. For frame-accurate cuts, the tool re-encodes the segment, which may add a few seconds of processing time.
Which browsers are supported?
Chrome 94+, Edge 94+. Firefox has limited WebCodecs support. For Firefox users, the tool will fall back where possible but Chrome is recommended for best performance.