For X (Twitter)

Compress Video for X (Twitter)

Compress video for X (Twitter) to hit the platform's spec — 15MB mobile / 512MB desktop, 1280×720, H.264 — and avoid brutal re-encoding. Browser-based, free.

No upload No watermark Free, no sign-up
Loading compressor…
Platform specs

Official platform specifications

Default compression settings target these specs to avoid the platform re-encoding your upload.

Max file size
15 MB (mobile), 512 MB (desktop web), 512 MB (Premium)
Max duration
2:20 (standard), 4 hours (Premium and Premium+)
Recommended resolution
1280×720 (720p) or 1920×1080 (1080p)
Aspect ratio
16:9 (landscape) or 1:1 (square)
Recommended format
H.264 video + AAC audio in MP4

Notes & gotchas

  • Bitrate: target ~3-5 Mbps to match X's re-encoder ceiling.
  • Audio: AAC, 128 kbps stereo, 48 kHz.
  • Frame rate: 30 fps constant (60 fps supported but may downmix).
  • Avoid H.265/HEVC and VP9 — X re-encodes them with quality loss.
  • Premium subscribers get 1080p unlock + 4K upload option (but player still streams ~1080p).
  • GIFs under 15 MB auto-convert to MP4 on upload.
Recommended settings

Recommended FFmpeg settings

Resolution: 720p (1280×720) for mobile-first content
Codec: H.264 (libx264) with medium preset
Target size: 15 MB (mobile) or up to 25 MB (desktop / Premium)
Bitrate: ~5 Mbps (matches X's player ceiling)
Audio: AAC 128 kbps stereo at 48 kHz
Frame rate: 30 fps constant
Pixel format: yuv420p
Container: MP4 with +faststart
What is this

Need to compress video for Twitter / X before posting? The platform (rebranded from Twitter to X in July 2023) caps video uploads at 15 MB on mobile and 512 MB on desktop web. The infamous 'Twitter video quality' complaint that has trended repeatedly since 2018 traces directly to uploads that didn't match the platform's preferred spec. X's transcoder re-encodes every upload to approximately 1.2-2 Mbps regardless of source quality — meaning a 50 Mbps 4K cinematic upload gets crushed to 2 Mbps itself, with visible blocking artifacts. Pre-compressing locally to X's target bitrate (~3-5 Mbps) means the re-encoder recognizes the file as already-compliant and applies minimal additional compression. H.264 + AAC in MP4 at 1280×720 or 1920×1080 is the default output.

  • 1X's re-encoder is notoriously aggressive — the platform compresses every upload to ~1.2-2 Mbps regardless of source quality. Pre-compression is the only way to control the quality/size trade-off explicitly.
  • 215 MB mobile limit catches most phone-recorded clips unprepared — compression is essential for mobile-first content creators.
  • 3Output is 1280×720 H.264 MP4 — the universally-supported combo on X. MOV and WebM sometimes work but get re-encoded with quality loss.
  • 4The compressor runs locally — no uploading to a third-party service, important for journalists, activists, and sources who need to share video without leaving traces on compression servers.
  • 5X Premium subscribers get 1080p unlock and 4K upload options, but the player still caps streaming at ~1080p for most viewers. 1080p pre-compression is the right move regardless of subscription tier.
  • 6Pre-compressed video uploads faster (smaller file = less bandwidth) and posts more reliably on flaky mobile connections, reducing the 'upload failed' problem.
How it works

Three steps, no account needed

From raw footage to shareable MP4 in seconds — all in your browser.

1

Upload your video

Drag-and-drop or click to browse. Files are processed locally — nothing is uploaded to any server.

2

Pick quality

Use the recommended preset or fine-tune CRF / resolution in advanced settings.

3

Download

Compression runs entirely in your browser. Grab your smaller MP4 in seconds — no account, no watermark.

Features

Why people choose this compressor

Built for everyday use — fast, private, and free forever.

100% Browser-Based

Your video never leaves your device. No upload, no server-side processing, no privacy concerns.

No Watermark

Output is clean H.264 MP4 — no logos, no overlays, no time limits baked in.

Free & Unlimited

No sign-up, no credit card, no daily cap. Compress as many videos as you need.

Fast FFmpeg Engine

Powered by FFmpeg compiled to WebAssembly — the same engine professionals use, now in your browser.

Universal MP4 Output

Output is H.264 + AAC in an MP4 container — plays everywhere, uploads everywhere.

Cross-Platform

Works on Windows, macOS, Linux, iOS, and Android — any modern browser.

Use cases

Who uses this tool

1

Journalists

Compress breaking news footage for rapid X posting without quality loss that would undermine credibility. Pre-compression ensures the source footage's integrity survives the upload pipeline.

2

Content Creators

Match X's spec exactly so the algorithm doesn't tank video quality before distribution. Spec-compliant uploads consistently rank higher in impressions for video content.

3

Brands & X Ads

Ship spec-compliant video ads that pass quality review without re-encoding cycles. X Ads has stricter quality floors than organic uploads — pre-compression ensures compliance.

4

Activists & Citizen Journalists

Compress footage of events for sharing via X without uploading to third-party compression services that may log IP addresses or retain files.

5

Sports & Esports

Preserve motion detail in highlight clips. X's re-encoder is brutal on fast motion (sports, gaming) — pre-compression with CRF 24-26 keeps motion clarity intact.

6

Meme Accounts

Compress meme videos, reaction clips, and viral content for fast X posting. Smaller files upload faster, which matters when riding a trending topic.

FAQ

Frequently asked questions

Two-tier system: mobile app uploads cap at 15 MB; desktop web allows up to 512 MB. The 15 MB mobile wall catches most phone-recorded 1080p clips unprepared. X Premium ($8/month or $16/month Premium+) raises limits to 1080p unlimited + 4K uploads but the player still caps streaming at ~1080p for most viewers.