Trim a Video Online
Keep only the useful section of a longer video by setting a precise start and end point before exporting.
Trim MP4, WebM and other supported videos online. Choose precise start and end times, output format and quality, then cut the video in your browser.
Use a video format supported by your browser and the FFmpeg WebAssembly build.
The video may still be trimmable. Enter the start and end times manually below.
Cut a selected section from a video directly in your browser. Choose precise start and end times, select an output format and quality level, then export the trimmed clip with FFmpeg WebAssembly.
Upload a supported video, select the start and end of the section you want to keep, choose the output format and quality, then start trimming. CyberTools processes the selected segment with FFmpeg WebAssembly in your browser and prepares the resulting video for download.
Video trimming is useful when you need to remove unwanted beginnings or endings, extract a shorter clip, prepare social-media footage or create a more focused video segment.
Keep only the useful section of a longer video by setting a precise start and end point before exporting.
Trim an MP4 source and export the selected segment as MP4 when browser-side FFmpeg can decode the source media.
Choose WebM output when you want the selected clip encoded with a web-oriented video format.
Move the start point forward to discard an introduction, countdown, recording delay or other unwanted opening footage.
Move the end point backward to remove unnecessary closing footage without keeping the complete source duration.
Select a smaller section from a longer recording for demonstrations, social posts, previews or focused sharing.
The best output depends on playback compatibility, codec support and where the trimmed clip will be used. A container format does not by itself guarantee a specific codec.
| Format | Best For | Current Workflow | Considerations |
|---|---|---|---|
| MP4 | Broad playback and sharing | Video encoded with H.264 and audio encoded with AAC | Encoding requires processing rather than simple byte-level cutting |
| WebM | Modern web-oriented video | Video encoded with VP9 and audio encoded with Opus | Compatibility depends on the target application and device |
| MOV | QuickTime-style container workflows | Output availability depends on the FFmpeg build and source compatibility | Browser and codec compatibility can vary |
| High Quality | Preserving more visual detail | Uses a lower CRF value | Usually produces more encoded data |
| Balanced Quality | General-purpose clips | Uses a moderate CRF value | Balances visual quality and encoded size |
| Smaller Output | Reducing file size | Uses stronger video compression | More compression can reduce visual detail |
CyberTools uses FFmpeg compiled to WebAssembly. The selected source is loaded into FFmpeg’s browser-side virtual filesystem, the requested time range is processed, and a new video file is encoded from that segment.
The selected start time is passed to FFmpeg with the seek option so processing begins at the requested position.
CyberTools calculates the difference between your end and start times and sends that duration to FFmpeg.
For MP4 output, the current workflow uses H.264 video through libx264 and AAC audio.
For WebM output, the current workflow uses VP9 video through libvpx-vp9 and Opus audio.
The selected quality setting changes the CRF value used by the video encoder. Lower CRF generally means higher visual quality and more encoded data.
The completed file is read from FFmpeg’s browser-side filesystem and exposed as a downloadable object URL.
The best settings depend on the destination of the trimmed clip. Consider compatibility, visual quality, output size and processing workload instead of automatically choosing the highest quality.
MP4 with H.264 and AAC is commonly usable across browsers, devices and sharing workflows.
WebM is designed for web media workflows and the current tool uses VP9 with Opus for this output.
Removing unnecessary footage reduces duration and can directly reduce the amount of video that must be encoded.
A lower CRF allows the video encoder to preserve more visual information, though output can become larger.
A higher CRF can reduce encoded data at the cost of some visual detail.
Browser-side FFmpeg must decode and encode media using the memory and CPU available to the current device.
Final size is influenced by clip duration, video complexity, source characteristics, selected output codec and encoder quality settings. Trimming alone does not guarantee a particular file size.
Shorter clips usually contain less media data than longer clips encoded with otherwise similar settings.
Lower CRF values generally preserve more visual detail. Higher values allow stronger compression and can reduce encoded size.
Fast motion, noise, texture and frequent scene changes can require more encoded data than simple or mostly static footage.
Different codecs compress video differently, so equivalent-looking MP4 and WebM outputs do not necessarily have the same file size.
Exporting at a high quality setting cannot restore detail that is already missing from the source video.
The current trimmer does not use trimming as an upscaling process. Cutting a clip does not create additional source detail.
The current CyberTools Video Trimmer performs its main trimming and encoding workflow with FFmpeg WebAssembly inside the browser.
Trimming changes which part of a video is retained. It does not automatically repair damaged footage, improve poor source quality or make every codec compatible with every browser.
These terms explain why trimming a video involves more than choosing two timestamps and why output compatibility, quality and size can vary.
Keeping a selected time range from a longer video while removing footage before or after that range.
A file structure such as MP4, WebM or MOV that can contain encoded video, audio and related metadata.
A method used to encode and decode video or audio data inside a media container.
A widely used video compression standard used through libx264 for MP4 output in the current workflow.
The audio codec used for MP4 output by the current CyberTools trimming command.
The video codec used through libvpx-vp9 for WebM output in the current workflow.
The audio codec used for WebM output in the current trimming workflow.
Constant Rate Factor, an encoder quality control where lower values generally preserve more visual detail.
The media-processing framework CyberTools uses to decode the source and encode the trimmed output.
A browser technology that allows compiled software such as FFmpeg to execute inside a web page environment.
Detailed answers about trimming MP4 and WebM video, start and end times, quality, codecs, browser processing and output files.
Feel free to request missing tools or give us feedback using our contact form.
Contact Us