Loading FFmpeg...0%
Failed to fetch

Compressing for Twitter in detail

Twitter's inline player prefers H.264 video in an MP4 container with AAC audio, 30 or 60 frames per second, and a maximum resolution of 1920x1200 for landscape or 1200x1920 for vertical. Videos that exceed those technical specs get re-encoded by Twitter on upload, which often produces softer output than the original. Compressing before upload with proper parameters means the posted video goes up as-is and keeps its intended quality.

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 size512 MBApplies to every standard account.
Maximum duration (standard)2 minutes 20 secondsFree and most paid accounts.
Maximum duration (Verified Blue)3 hoursAvailable on Verified Organizations and some Blue tiers.
Recommended resolution1920x1080 (landscape) or 1080x1920 (vertical)Auto-scales cleanly in feeds.
Frame rate30 or 60 fpsOther frame rates get re-encoded.
Required codecH.264 / AACMP4 container; HEVC rejected on upload.

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 full quality shows off UI micro-animations that compress poorly at lower targets.

Sponsored ad spots

Advertisers hit the 512 MB tier for maximum clarity before Twitter applies its own ad-optimized re-encode.

Frequently asked questions

What is the Twitter video file size limit?

Twitter caps video uploads at 512 MB per post for every standard account. Verified tiers do not raise the file size cap but do extend the maximum duration. Uploads over 512 MB are rejected at the posting step regardless of duration, verification, or subscription status.

How long can a Twitter video be?

Standard accounts can post videos up to 2 minutes and 20 seconds. Verified Organizations and some paid Blue tiers can post videos up to 3 hours long, limited only by the 512 MB file cap and any account-specific live-stream policies. A 3 hour upload at 512 MB forces very low bitrate and looks soft on playback.

Why is my Twitter video failing to upload?

The three common causes are: file over 512 MB, duration over your tier's cap (2:20 for standard, 3 hours for verified), and unsupported codec. Twitter requires H.264 MP4 with AAC audio. HEVC, VP9, and AV1 files fail to upload. Compressing with this tool produces a safely-formatted H.264 MP4 that Twitter accepts every time.

Can I post a 4K video on Twitter?

Yes, but Twitter downscales it for playback. The player serves up to 1920x1200 in landscape and 1200x1920 in vertical. Uploading 4K source gives the encoder more quality to work with, but the feed experience is capped at roughly 1080p. Compressing to 1080p before upload avoids a Twitter-side re-encode that is often less careful than yours.

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 exactly and avoids any 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 exactly is the best way to preserve your original quality.

How do I compress a Twitter video without losing quality?

Target 512 MB with two-pass H.264 encoding and keep the resolution at 1080p. At 2 minutes 20 seconds that gives you roughly 25 Mbps of bitrate, which is generous headroom for 1080p motion. For shorter clips, drop to 100 MB or 25 MB since the bitrate-per-second ratio stays high even at the smaller file sizes.

100% Private: Your Video Never Leaves Your Device

Compression runs locally in your browser using FFmpeg compiled to WebAssembly. Your video file is read from disk into browser memory, processed there, and the result is saved back to your device. No network request is made during encoding, no data is transmitted, and no server ever sees your footage.

Related Tools and Resources

Resize Video for Twitter

Match the 1280x720 native dimensions for the feed.

Compress Video for Slack

Slack per-file and per-workspace quotas.

Compress Video for Discord

Discord 8 MB, 25 MB, 50 MB, and 500 MB tiers.

Compress Video

Custom MB target or quality slider.