VS
Getting the tool ready...0%

Compressing for Twitter in detail

X's player wants H.264 video in an MP4 container with AAC audio, 30 or 60 frames per second, and at most 1920x1200 landscape or 1200x1900 vertical. Playback tops out at 1080p. Anything outside those specs gets re-encoded on upload, which often comes out softer than the original. Compressing here is a single H.264 pass at a bitrate computed from the target size and clip length, so the output lands close to the number you pick.

Privacy matters on Twitter uploads too. Breaking-news clips, unreleased product demos, and personal reactions often sit in your drafts before the right moment to post. Compressing locally means the file never leaves your device until you hit Post yourself. This encoder runs entirely in your browser with no account required.

Twitter video upload rules

SettingValueNotes
Maximum file size (no Premium)512 MBPremium allows much larger uploads.
Maximum duration (no Premium)2 minutes 20 secondsPremium allows multi-hour videos.
Premium accountsMulti-hour, multi-gigabyteExact figures change; check the composer on your account.
Maximum dimensions1920x1200 landscape, 1200x1900 verticalPlayback is served up to 1080p.
Frame rate30 or 60 fpsOther frame rates get re-encoded.
Required codecH.264 / AACMP4 container.

When to use this preset

Thread anchor clips

Compress the lead-off clip to 25 MB so it loads instantly in the reader's feed and sets the hook for the rest of the thread.

Campaign announcement trailers

A 100 MB 1080p trailer uploads quickly and stays sharp through Twitter's re-encode pipeline.

Breaking-news reactions

Drop a 25 MB reaction clip while the conversation is still hot; fast mobile uploads beat waiting for a 500 MB raw file.

Developer demo loops

A 512 MB 60 fps product demo at 1080p keeps UI micro-animations crisp where a smaller target would smear them.

Sponsored ad spots

Advertisers can use the 512 MB target for maximum clarity before X applies its own ad-optimized re-encode.

Frequently asked questions

What is the Twitter video file size limit?

Without Premium, X caps video uploads at 512 MB per post. Premium subscribers get a much larger ceiling, big enough for multi-gigabyte files, and X adjusts those figures from time to time. Uploads over your tier's limit are rejected at the posting step.

How long can a Twitter video be?

Accounts without Premium can post videos up to 2 minutes and 20 seconds. Premium accounts can post videos that run for hours. Very long uploads at a modest file size force a low bitrate and look soft, so keep the size target generous for long clips.

Why is my Twitter video failing to upload?

The usual causes are a file over your tier's size cap, a duration over 2:20 without Premium, or an unsupported codec. X wants H.264 video and AAC audio in an MP4 container. This tool outputs that combination.

Can I post a 4K video on Twitter?

You can upload it, but X serves playback at up to 1080p, within 1920x1200 landscape or 1200x1900 vertical. Uploading 4K gives X's encoder more to work with, but viewers see 1080p at most. Compressing to 1080p yourself avoids a server-side re-encode that is often less careful than your own.

What is the best video format for Twitter?

MP4 with H.264 video, AAC audio, 30 or 60 frames per second, and a resolution between 720p and 1080p. That matches Twitter's playback pipeline and avoids most server-side conversion. This tool outputs that format by default for all three target tiers.

Does Twitter compress uploaded videos?

Yes, Twitter re-encodes every upload to normalize bitrates across the feed. Videos delivered near the ideal spec with clean H.264 encoding pass through that re-encode with minimal quality loss. Videos in unusual formats or at extreme bitrates get hit harder. Matching Twitter's preferred spec is the best way to preserve your original quality.

How do I compress a Twitter video without losing quality?

Target 512 MB and keep the resolution at 1080p. At 2 minutes 20 seconds that is roughly 25 Mbps, plenty for 1080p motion. This tool encodes once at a bitrate computed from the target, so the result lands near 512 MB rather than exactly on it. For shorter clips, 100 MB or 25 MB still gives a high bitrate per second.

Related Tools and Resources

Resize Video

Match the 1280x720 native dimensions for the feed.

Compress Video for Slack

Slack per-file and per-workspace quotas.

Compress Video for Discord

Discord 10 MB, 50 MB, 100 MB, and 500 MB tiers.

Compress Video

Custom MB target or quality slider.