Compress Video to 25MB — MP4 → 25MB

Get under the Gmail attachment limit in one pass. All processing happens in your browser — your file never leaves your device.

Drop your MP4 file here, or

How to convert MP4 to 25MB

  1. Drop your .mp4 file into the area above (or pick it from disk). The file is encoded locally in your browser — nothing is uploaded anywhere.
  2. The encoder calculates a bitrate from your video's duration so the result fits under 25 MB, then encodes with H.264, retrying automatically if a pass overshoots.
  3. Download the .mp4 — sized for Gmail's 25 MB attachment limit, with faststart metadata for instant playback.

MP4 vs 25MB: what survives the conversion

FeatureMP425MB
File sizeWhatever your source isUnder 25 MB — guaranteed by bitrate math
Video codecYour source codecH.264 — universal playback
AudioYour source audioAAC 96 kbps
Quality at short length—Under ~3 minutes: usually looks close to the source
Quality at long length—Longer = softer; the limit is physics
Where it happens—In your browser tab via WebAssembly

FAQ

How long can the video be for 25 MB?

Rough guide: ~6 minutes at watchable 480p-ish quality, ~3 minutes at decent 720p, ~90 seconds near-source. Bitrate is a budget spread over duration — more minutes means less detail per frame.

Does Gmail really reject videos over 25 MB?

Gmail accepts attachments up to 25 MB per file; larger messages get blocked at send time. Note Gmail also offers "insert from Drive" for big files — but for a plain attachment that must survive, this tool sizes the file under the limit.

Can I compress to a different limit?

The sibling tools cover 8 MB (Discord) and 16 MB (WhatsApp document). For a custom limit, pick the closest one — the math is identical, only the budget changes.

Why does the first encoding sometimes run twice?

Duration-based bitrate calculation is close but not exact. When a pass lands above the target, the tool measures the miss and re-encodes with corrected bitrate. Each pass costs as much time as the first.

Is my file uploaded to a server?

No. The 31 MB encoder module loads once into your browser, and all encoding happens locally in a Web Worker. You can disconnect from the internet after the page loads.

Related tools