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.
Try a Twitter / X-ready H264 MP4 encode at 720p. Create a free account for up to 8K/120fps and production workflows.
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.
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.
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.
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.
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.
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.