What Video Trimmer helps you do
Cut an exact section out of a video without installing an editor or sending the file anywhere. Set a start and end time, preview the range, and the browser re-encodes that span so the clip opens on the frame you chose instead of the nearest keyframe. It is the quickest way to isolate a moment from a recording before sharing, captioning or compressing it.
Trimming runs in your browser with WebCodecs. The video, the audio and the encoded result never reach Haivix servers, and closing the tab clears the working file.
How it works
The file is read locally with the browser's WebCodecs decoder. The tool seeks to the requested start time, decodes frames through the end of the range, feeds each frame to the encoder and copies the audio across the same span. An arbitrary cut point almost never lands on a keyframe, so the selection is re-encoded rather than stream-copied. That is why the result is frame-accurate, and also why the quality setting matters: a high-quality encode keeps fine detail, while the balanced setting produces a smaller file.
How to use Video Trimmer
- Load an MP4, MOV, WebM or MKV file from your device.
- Enter the start and end time, or scrub the preview to the moment you want.
- Check the marked range in the preview and nudge either end by a fraction of a second if needed.
- Choose an output container and a quality level.
- Start the trim and keep the tab open while the range is encoded.
- Preview the finished clip, then download it.
When to use it
- Pull a single answer, demo or bug reproduction out of a long screen recording.
- Shorten a clip to fit a chat, email or upload limit.
- Remove dead air at the beginning or end of a call recording.
- Isolate a section you plan to caption, transcribe or turn into a GIF.
- Keep the useful part of a clip whose opening and closing minutes are noise.
When not to use it
- Do not expect a lossless copy; an exact cut re-encodes the selected range.
- Do not use it to delete a section from the middle of a clip; split the file into two parts and merge them instead.
- Avoid very long recordings on a phone, because encoding happens in memory.
Example
A 42-minute webinar has a nine-minute demo running from 12:10 to 21:05. Trimming that range produces a clip that opens on the first slide of the demo rather than a few seconds earlier at the previous keyframe. The shorter file can then be compressed for email or converted to WebM for a web page.
What you can do with Video Trimmer
- Set start and end times to a fraction of a second.
- Export MP4, WebM, MKV or MOV.
- Keep or drop the audio track as part of the trim.
- Choose a quality level before encoding.
- Preview the selected range before committing.
- Work entirely from a local file, with no queue or account.
Example workflow
A common path is trim then compress: cut the section you need, confirm the edge of the clip is where you want it, and send the result through the Video Compressor with a target size for chat or email. Trimming first also makes compression faster because fewer frames are encoded.
Another path is trim then caption. A short, accurate clip is far easier to subtitle than a full recording, and the subtitle burn-in tool can add captions to the trimmed file in one pass.
What to know before you start
- An arbitrary cut point requires re-encoding; a keyframe-aligned cut would be lossless but imprecise.
- Output depends on the browser's WebCodecs support, and older browsers are warned before encoding starts.
- Large files can exhaust browser memory, particularly on mobile devices.
- Only one continuous range is produced per run; use split and merge for middle cuts.
- Audio is re-encoded when the chosen container does not accept the source codec.
Common mistakes
- Cutting too tightly and clipping the first word or frame; leave a small margin.
- Choosing the lowest quality for text-heavy screen recordings, where compression artifacts are most visible.
- Closing the tab mid-encode and losing the in-memory result.
- Assuming the original file was modified; the source on disk is never touched.
Troubleshooting
If the result starts slightly earlier or later than expected, remember that player timestamps are approximate and the encoder works from decoded frames. Nudge the start time and encode again, judging the edge from the preview rather than a timestamp readout.
If the browser reports that WebCodecs is unavailable, switch to a current desktop Chrome, Edge, Safari or Firefox. Mobile browsers are more limited, so transfer the file to a desktop if the encode cannot start.
If the audio sounds different after trimming, the source codec probably did not fit the chosen container. Pick MP4 or MKV for the widest codec support, or keep the original container.
Related standards and documentation
- ISO/IEC 14496-12 defines the MP4 container used by most trimmed files.
- The WebCodecs API describes the browser decode and encode path this tool relies on.
- The clip starts where you set it, not at the previous keyframe.
- The selected range is re-encoded, so quality depends on the preset.
- The original file is never uploaded or changed.