TapCub is live — analytics, insights and live chat, free on one platform

Free tool · Files Trim video online: keep only the part you need

Cut the silence before a demo starts, the fumble at the end of a recording or everything but the one moment worth sending. Drag two handles on the timeline, preview the selection in a loop, and save an MP4. Fast mode copies the original frames, so quality stays exactly the same.

  • Files stay on your device
  • Same quality in fast mode
  • Cut to 1/100 s

Trim a video

Choose a video, set the start and end, and save the trimmed MP4.

Trim

No video yet. Choose, drop or paste a video, or try the sample.

Where fast mode starts

A 30 fps video with a keyframe every 2 seconds, common for phones and screen recorders. Each clip is 5 seconds long.

Where fast mode starts
You choose startFast mode startsExtra at the startExact mode starts
0:04.000:04.0000:04.00
0:05.300:04.00+1.30 s0:05.30
0:07.900:06.00+1.90 s0:07.90
0:12.500:12.00+0.50 s0:12.50

Fast mode cannot start between keyframes without re-encoding, so it starts at the one before. The note under "How to cut" shows the real start for your own video.

Your files never leave this device: they are read and converted by your browser, and nothing is uploaded to TapCub or anyone else. To check, open your browser’s developer tools, go to the Network tab and run the tool: no file is sent.

Use this tool often? Save it to My tools.Saved to My tools. Find it any time at the top of the free tools page. You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.

Problem or suggestion?Send feedbackChat with support

Version v1.0Updated Update history

Read the result

Fast or exact: which cut you got

The result line names the real start and end. Here is why they can differ from what you chose.

  • Drag handles or type exact times
  • Fast mode without re-encoding
  • Frame-accurate mode
Trim video illustration: Cut the start and end off an MP4, MOV or WebM on a thumbnail timeline. Fast mode keeps the original quality. No upload
Trim video, illustrated

Keyframes

Video stores a full picture only every few seconds (a keyframe); the frames in between are changes. A copy can only start on a full picture, so fast mode starts at the keyframe before your start.

Same quality

Fast mode copies the compressed frames byte for byte. The picture, sound and file format are exactly the original, and a 1 GB video takes seconds.

Exact frames

Exact mode decodes from that keyframe, drops the frames before your start and encodes the rest again. The cut is on the frame you chose, at about the original bitrate.

End point

Both modes stop at your end time. With B-frames, fast mode may keep a frame or two past it, so the clip can be a fraction of a second longer.

The note under "How to cut" shows where fast mode will start before you trim, so you can move the start or switch modes.

How to use it

How to trim a video

Fast mode is selected when the file allows it.

  1. 1

    Add the video

    Choose an MP4, MOV or WebM, drop it on the box or paste it. The timeline fills with thumbnails.

  2. 2

    Set the start and end

    Drag the two blue handles, type the times, or play the video and use "Start at playhead" and "End at playhead".

  3. 3

    Check the selection

    Click "Play selection" to loop the part you chose. The length is shown next to the times.

  4. 4

    Pick a mode and trim

    Keep Fast for the original quality, or choose Exact to cut on the frame. Click Trim video, then download the MP4.

How it works

Cutting on keyframes, or re-encoding

The tool reads the MP4’s sample table to know where each frame is and whether it is a keyframe.

  • MP4 and MOV are read with a built-in demuxer: for every frame its file position, size, decode time, display time and keyframe flag (the sync sample table)
  • Fast mode: start = the latest keyframe whose display time is at or before your start; end = the last frame whose display time is before your end, in decode order, so every frame it needs is included
  • Fast mode copies those frames and the matching AAC or Opus sound into a new MP4 with the open-source mp4-muxer, keeping the rotation of phone videos
  • Exact mode decodes from the same keyframe with WebCodecs, keeps frames from your start to your end, and encodes them again: H.264 first, VP9 or AV1 when H.264 is unavailable
  • Times: decimal seconds, m:ss or h:mm:ss, with fractions; handles move 0.1 s per arrow key, 1 s with Shift and one frame with comma or full stop
  • Files that are not MP4 or MOV, such as WebM screen recordings, are trimmed in exact mode by playing them once in the page’s player
Fast and exact mode compared
FastExact
QualityUnchangedRe-encoded at about the original bitrate
Start pointKeyframe at or before your startYour exact frame
SpeedSeconds, even for large filesDepends on length and device
FilesMP4 and MOV (H.264, HEVC, VP9, AV1)Anything the browser can play
Browser needsAny current browserWebCodecs video encoder
Worked example

A 5-second cut from a phone video

A 30 fps video with a keyframe every 2 seconds. You want 0:05.30 to 0:10.30.

Fast and exact start
StepRuleResult
1. KeyframesEvery 2 s: 0:00, 0:02, 0:04, 0:06…Full pictures only there
2. Fast startLatest keyframe at or before 0:05.300:04.00
3. Extra footage0:05.30 − 0:04.001.30 s
4. Exact startDecode from 0:04.00, drop frames before 0:05.300:05.30

If the extra second matters, move the start to 0:04.00 yourself, which is free in fast mode, or switch to exact mode.

Common mistakes

Where trimming goes wrong

Most surprises come from keyframes and from re-encoding when it is not needed.

Expecting fast mode to start on any frame

Without re-encoding, a cut can only start on a keyframe. Check the note under "How to cut" and switch to exact if the start must be precise.

Re-encoding for no reason

If a second of extra footage does not matter, fast mode keeps the original quality and is much quicker. Exact mode always loses a little detail.

Trimming after compressing

Trim first, then compress the shorter clip: every second you remove leaves more bitrate for the rest.

Losing the sound

Sound in AAC or Opus is copied as is. Other formats such as MP3 inside an MP4 cannot be copied; the result line says when the sound was removed.

FAQ

Trim video questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

How do I trim a video?

Add the video, drag the blue handles on the timeline (or type the start and end), check it with "Play selection", and click Trim video. Download the MP4 when it is ready.

Does trimming reduce the quality?

Not in fast mode: the original frames are copied unchanged. Exact mode encodes the selection again at about the original bitrate, so it loses a little detail.

Why does fast mode start earlier than I chose?

A video only stores a full picture every few seconds. Without re-encoding, the cut has to start on one of them, so fast mode starts at the keyframe before your start. Exact mode starts on your frame.

Is it free, and are my videos uploaded?

It is free, with no account and no watermark. The video never leaves your device: your browser reads and cuts it locally.

Which formats and browsers work?

Fast mode works with MP4 and MOV (H.264, HEVC, VP9 or AV1) in any current browser. Exact mode needs the WebCodecs encoder: current Chrome and Edge, Safari 16.4 or later, Firefox 130 or later on a computer.

Can I trim a WebM screen recording?

Yes, in exact mode. The browser plays it through once and records the frames, so a 2-minute selection takes about 2 minutes; keep the tab in front.

Can I cut out a part in the middle?

Not in one step. Trim the first part and the last part as two files and join them in a video editor; this tool keeps one continuous section.

Feedback

Is this tool working for you?

Rate it, or tell us what went wrong and what you’d like improved. A person reads every message, and frequent requests go into the next update.

Rate this tool

Please don’t include passwords or other sensitive information.

Only used to reply to this feedback.

Type, details and email are required.

We only use this to handle your feedback. See the privacy policy.

Feedback received

Thank you! We will read it and reply from hello@tapcub.com if needed.

Need help right now?

Chat with our support team, best for urgent problems; you can leave a message when we are offline.

Chat with support
Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · v1.0

    LaunchedFirst release.

Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates

Cite this tool

Recommend this tool in an article or on your site

This tool is free to cite and share. Copy the URL or link below into your article, tutorial or resource page; to write a review, embed a tool or partner with us, get in touch.

URL
https://tapcub.com/tools/trim-video
HTML link
<a href="https://tapcub.com/tools/trim-video">Trim video - TapCub</a>
Next step

Analytics that keep personal data out

TapCub counts visits without cookies and never stores IP addresses, with a compliance centre for stricter regions.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics