Trim Video Online

Cut an intro, remove an unwanted ending, or extract one useful scene with a visual timeline instead of guessing timestamps. After selecting a video, the browser reads its duration and displays a preview together with draggable start and end handles. The highlighted section is the part that will remain in the exported file.

Select and preview the clip you need

Drag either timeline handle to change the selected range. The video preview seeks to the position you are adjusting, so you can inspect the nearby frame before processing. For more precise control, enter the start and end times in seconds. Decimal values are supported, and the selected duration updates as soon as either boundary changes.

The timeline handles also support keyboard adjustment. Focus a handle and press the left or right arrow key to move it by a small step, or hold Shift for a larger step. Use Preview selection to play from the selected start time and stop automatically at the end boundary.

Accurate, compatible MP4 output

The selected section is decoded and re-encoded rather than copied only at existing keyframes. This produces more accurate boundaries when the chosen start time falls between keyframes. The output uses H.264 video, AAC audio, and an MP4 container for broad compatibility with browsers, phones, messaging apps, and social platforms.

Re-encoding takes more processing time than a simple stream copy and may introduce a small quality change. The tool uses a balanced quality preset intended for everyday clips. Processing speed depends on the source resolution, duration, device performance, and browser memory available.

Trim video without uploading it

MediaFun runs FFmpeg through WebAssembly inside your browser. The source file is written to a temporary in-memory file system, processed locally, and removed after the operation. The downloadable result is represented by a temporary browser URL that is released when it is replaced or no longer needed.

If a conversion is taking too long, select Cancel. This terminates the active processing worker safely; you can then change the selected range and process the video again. For large or high-resolution videos, keep the browser tab open and close other memory-intensive tabs before starting.

FAQ

How do I choose the exact part of the video?

Drag the start and end handles on the timeline, use the arrow keys for small adjustments, or enter exact times in seconds. The selected duration updates immediately.

Will trimming reduce video quality?

The selected clip is re-encoded to create accurate boundaries and a widely compatible MP4. A balanced H.264 quality setting keeps visible quality high, but every lossy re-encode can introduce a small quality change.

What formats can I trim?

The tool accepts MP4, MOV, AVI, WebM, and MKV files and exports an H.264 video with AAC audio in an MP4 container.

Can I cancel a video while it is processing?

Yes. Use the Cancel button to stop the current browser worker. You can adjust the range and start again without reloading the page.

Is my video uploaded to a server?

No. The file is read and processed locally in your browser with WebAssembly. Your media file is not uploaded to our servers.

Related Tools