CompressYourVideo - Free online video compressor
CompressYourVideoFree online compressor

MP4Twitter / X

Compress MP4 for Twitter / X

Compressing MP4 for Twitter / X comes down to three constraints: Twitter / X's 512 MB cap, its 1920:1200 resolution ceiling, and the need to output MP4 H.264 for reliable inline playback. MP4 source files are typically 1080p at around 100 MB per minute — right at Twitter / X's 500 MB target. We calculate a per-clip bitrate budget from your duration, subtract 128 kbps for audio, and allocate the remainder to H.264 video at the highest quality that fits. MP4 source retains its H.264 stream without re-containerization work — we simply recompute the bitrate. Twitter / X accepts MP4 inline, so the work here is purely bitrate reduction.

512 MB targetInput: MP4Output: MP4 H.264

Where do you want to share your video?

50MB
1 MB2 GB
FreeNo hidden fees
No signupStart instantly
No watermarkClean output
Auto-deletedFiles gone in 1 hour

How to compress MP4 for Twitter / X

  1. 1Drag your .mp4 file onto the upload zone above (or browse to it).
  2. 2Twitter / X is already selected — we'll target 500 MB to stay safely under the 512 MB cap.
  3. 3Optionally trim to a highlight clip or switch to H.265 for 30-50% smaller files at the same quality.
  4. 4Download the compressed MP4 and share it on Twitter / X. Source file auto-deletes from our servers after 1 hour.

What to know about MP4Twitter / X

  • MP4 source retains its H.264 stream without re-containerization work — we simply recompute the bitrate.
  • Resolution is kept at up to 1920p when the bitrate budget allows.
  • Trim to the highlight before you compress — every 10 seconds you cut gives remaining frames more bitrate to work with.
  • Twitter / X's 500 MB target leaves a 5% safety margin below its 512 MB hard cap, so platform-side rejection is never an issue.

The compression math

A 1-minute MP4 at 1080p = ~100 MB. Twitter / X's 500 MB target minus 128 kbps audio = ~69777 kbps video budget. H.264 at that budget kept at up to 1920p when the bitrate budget allows produces a file at the target size that plays inline on Twitter / X.

About MP4 files

MP4 is the most universally compatible video format in the world, supported by every device, browser, and social media platform. It uses H.264 video encoding and AAC audio, delivering excellent quality at relatively small file sizes. Despite this efficiency, phone-recorded MP4 files are often 100MB or more per minute at 4K, far exceeding platform limits like WhatsApp's 16MB or Discord's 10MB. CompressYourVideo.com reduces MP4 file size by recalculating the optimal bitrate for your target platform, preserving the highest quality that fits within the limit. The output remains MP4 H.264, so compatibility is never an issue. This is the most common compression task: most uploads to our tool are already MP4 files that just need to be smaller.

About Twitter / X

Compress videos for Twitter/X. Twitter's free tier allows up to 512MB, but videos must be under 2 minutes 20 seconds. X Premium users get 16GB and longer duration.

Related compression tools