Twitter (X) has strict video upload limits: 512 MB maximum file size and 2 minutes 20 seconds maximum duration. If your video exceeds either limit, Twitter rejects it outright. Encoding your video to H.264 MP4 at 1080p dramatically reduces file size while maintaining quality — making it easy to stay within Twitter's limits without sacrificing visual clarity.

Twitter / X Video Requirements

Recommended Codec
H.264 (AVC)
Container
MP4 or MOV
Max Resolution
1920×1200 or 1280×1024
Max File Size
512 MB
Max Duration
2 minutes 20 seconds (140 sec)
Audio Codec
AAC, stereo
Aspect Ratio
1:2.39 to 2.39:1
Frame Rate
Up to 60 fps

Encode Video for Twitter / X — Free Online

Try a Twitter / X-ready H264 MP4 encode at 720p. Create a free account for up to 8K/120fps and production workflows.

Create a free account to get starter credits, higher output limits, up to 8K/120fps options, and access to production encoding workflows.
Drag & drop a video file here or click to browse
Max file size: 200 MB · Max duration: 300s
0%
0%

Verify once, then start the conversion.

Frequently Asked Questions

What video format does Twitter / X accept?

Twitter accepts MP4 and MOV. The recommended format is MP4 with H.264 video and AAC audio at up to 1080p. H.264 provides the most reliable upload experience and the smallest file size for any given quality level.

What is the maximum video file size for Twitter?

512 MB for regular users. If your video is larger, compress it with this tool — encode to H.264 at 720p or 1080p to reduce file size while keeping quality sharp.

What is the maximum video duration on Twitter?

2 minutes and 20 seconds (140 seconds) for standard accounts. X Premium subscribers get extended duration limits. Clips longer than 140 seconds will be rejected at upload.

How do I compress a video to under 512 MB for Twitter?

Use the public encoder on this page for a capped 720p preview, or create an account for 1080p+ production exports. For very long clips near the 2:20 limit, 720p can help keep the file under 512 MB.

Why was my Twitter video rejected?

The most common rejection reasons are: file size over 512 MB, duration over 2 minutes 20 seconds, or an unsupported codec. Encoding to H.264 MP4 with our tool fixes all three in one step.

Related Tools

Full video encoding serviceUse the dashboard, API, bulk jobs, storage outputs, and webhooks for production workflows.Calculate paid encoding costEstimate NEU credits for codec, resolution, FPS, bitrate, quality, and duration.

Need More Power?

The public encoder is useful for quick previews. For larger files, up to 8K/120fps output, bulk jobs, API access, storage outputs, and webhooks, create an account and run production workflows with predictable NEU estimates.