Skip to content
FastTool

MP4 Video Compressor & Lossless Trimmer

Shrink MP4, MOV or WebM clips under 8 MB, 10 MB or 25 MB upload limits, or cut clips in under one second without re-encoding.

Runs in your browser. Nothing is uploaded.

Source clip & size goal

Export mode
Target file size cap

Preview & bitrate budget

demo-walkthrough-clip.mp4 (built-in demo clip)

0:00.00 – 0:04.00 (4.00 s)

Target cap: 10.00 MB (93% container budget)

Crisp budget

~10.00 MB

Video 18.60 Mbps + Audio muted at 1280×720 (30 fps).

  • 1280 × 720 Output dimensions
  • 18.60 Mbps Video bitrate
  • 0.673 bpp Bits per pixel
  • 4.00 s Clip length
Container
MP4 (video/mp4)
Video track
AVC · 640×360 · 15 fps
Audio track
Silent video track
Source size
180.0 KB · 4.00 s

How to use

  1. The page opens with a playable MP4 demo clip already loaded. Drop your own MP4, MOV or WebM file into the box above.
  2. Choose Instant Lossless Trim when you only need to cut seconds off a clip in under one second with zero quality loss.
  3. Choose Target-MB Compress and pick 8 MB, 10 MB, 16 MB, 25 MB, 50 MB or a custom megabyte limit.
  4. Drag the Trim start and Trim end sliders to cut dead air, or check Mute audio to give 128 kbps back to video clarity.
  5. Click the primary button to export your fast-start MP4, then download it or pass it straight to Video to GIF Maker.

Worked example

Input

A 45-second 1920 × 1080 30 fps phone recording at 18 Mbps takes 101.2 MB, failing a 10 MB Discord cap.

Bitrate budget

Reserving 7% for MP4 box overhead leaves 1,653 kbps total: 128 kbps AAC audio and 1,525 kbps H.264 video.

Result

Auto scaling picks 1280 × 720 (0.055 bpp), producing a sharp 9.62 MB fast-start MP4 that plays everywhere.

Video file size depends on clip duration multiplied by bitrate, not pixel dimensions alone.

Trimming 15 seconds of dead lead-in raises the available video bitrate by 50% before a single pixel scales down.

For the full bitrate table and upload rules, read How to compress an MP4 video under 10 MB or 25 MB using bitrate math.

How it works

Instant stream-copy trimming vs target-megabyte transcoding

Instant Lossless Trim reads ISO Base Media tracks (moov, trak, stbl) and copies compressed video and audio chunks into a new fast-start MP4.

Because pixels never decode or re-encode, a multi-minute MP4 or QuickTime MOV clip trims in milliseconds with zero generation loss.

When trimming starts mid-clip, the cutter snaps to the nearest preceding keyframe so playback begins cleanly on every device.

Bitrate budget formula, even dimensions, and GPU preflight

Target-MB Compress calculates total media bits after reserving 7% container headroom for sample tables and fast-start headers:

videoBitrate = floor((targetBytes × 8 × 0.93) / durationSec) − audioBitrate

Auto resolution steps down from 1080p to 720p, 480p, or 360p whenever bits per pixel would fall below 0.055.

Both width and height round to even integers (w & ~1, h & ~1) as required by ITU-T H.264 4:2:0 chroma planes.

Before transcoding, a 2.5-second single-frame hardware encoder check confirms GPU readiness and falls back to WebM or lossless trim if unavailable.

Container muxing follows ISO/IEC 14496-12 ISOBMFF and W3C WebCodecs (checked 2 December 2026).

Technical Specifications & Limits
Parameter Supported range or behavior
Input containers & size MP4, QuickTime MOV, M4V, WebM and MKV up to 1 GB and 60 minutes in browser memory
Lossless stream-copy trim Copies H.264, HEVC, VP9, AV1, AAC, Opus and MP3 tracks in < 1 second with zero quality loss
Target-MB encoder WebCodecs H.264 + 128 kbps AAC in fast-start MP4 (moov at front), with VP9/VP8 WebM fallback
Resolution & even rounding Auto 1080p, 720p, 480p, 360p scaling for ≥ 0.055 bits/pixel; enforces even w & ~1, h & ~1
Privacy & storage Zero server uploads, zero external requests, and zero browser storage writes

FAQ

Why did my lossless trim start a fraction of a second earlier than the slider?

Compressed MP4 videos store full keyframes every 1 to 2 seconds and difference frames in between. Lossless mode snaps the start point to the nearest keyframe; switch to Target-MB Compress for frame-exact cuts.

Does lowering resolution from 1080p to 720p automatically make an MP4 smaller?

Only when bitrate drops too. At identical bitrates, 720p and 1080p share the same file size. However, 720p packs more bits per pixel so fast motion looks cleaner.

How can I turn a trimmed MP4 clip into a small looping GIF or trim audio separately?

After exporting, click Continue with this file to open Video to GIF Maker, Audio Cutter, or Image Compressor. For vertical framing, open Reels, Shorts & TikTok Safe-Zone Checker.

Are my private recordings or screen captures uploaded anywhere?

No. Demuxing, trimming, and WebCodecs encoding run inside your browser memory, so your videos never leave your computer or phone.

Updated