Video Trimmer

FFmpeg Powered

Trim video clips by time range with precision

Drag & drop files here, or click to select

Supports MP4, WebM, AVI, MOV, MKV and other common formats
Settings
Trim Complete
Download Result
How to Use
  1. Click the area above to select a file, or drag and drop a file onto the page
  2. Adjust parameters in the settings area
  3. Click the process button and download the result when ready
Frequently Asked Questions

Supports MP4, WebM, AVI, MOV, MKV, FLV and all other FFmpeg-compatible formats.

No. Uses lossless trimming that copies the video stream directly without re-encoding.

Depends on your device memory. Files under 2GB are recommended for best performance.
How It Works

The Video Trimmer leverages FFmpeg compiled to WebAssembly (WASM) to perform all video processing directly within your browser. When you load a video, the file data is read into memory as an ArrayBuffer and passed to the FFmpeg WASM runtime.

The trimming engine uses FFmpeg's -ss (start time) and -t (duration) or -to (end time) parameters to define the segment boundaries. In copy mode (the default), the tool performs stream copying — it seeks to the nearest keyframe before your start point and copies video/audio packets without re-encoding. This makes it extremely fast and causes zero quality loss.

When precise frame-accurate cuts are needed, the tool switches to re-encoding mode using the libx264 encoder. This decodes the video frames and re-encodes them from your exact start timestamp, ensuring frame-level precision at the cost of slightly longer processing time. The WebAssembly runtime runs on a dedicated Web Worker thread to keep the UI responsive throughout.

Tips & Best Practices
  • Use copy mode for fastest results — stream copying is 10-50x faster than re-encoding and preserves original quality.
  • Trim near keyframes if you need exact frame precision: set your start time 0.5 seconds before the desired cut point and use re-encoding mode.
  • Close other browser tabs when processing large files to free up memory. A 1GB video requires at least 2GB of available RAM.
  • Use the segment feature to split a video into multiple clips in one pass rather than trimming repeatedly.
  • Check file duration first using the Video Info tool before trimming — knowing your exact timestamps makes the process smoother.
  • For social media clips, aim for segments under 60 seconds to ensure smooth playback on mobile devices.
Use Cases

Content creators can quickly extract highlights from long recordings — perfect for pulling a 30-second reaction clip from a 2-hour livestream. Educators trimming lecture recordings to remove pre-class chatter or post-class Q&A, creating focused lesson segments for online courses.

Event videographers isolating the best moments from wedding ceremonies or conference talks for social media teasers. Journalists extracting interview soundbites from raw footage for news packages. Business professionals cutting meeting recordings down to the key decision points for archival and distribution. Parents trimming family videos to share memorable moments without the dead time.