Twitter/X has some of the strictest video specifications among major social platforms, with a hard ceiling of 512MB for standard accounts, a maximum length of 2 minutes 20 seconds, and a preference for H.264 MP4 wrapped in a fast-start container.
Loading Video Compressor…
Meets Twitter/X video specifications
Handles 512MB size limit
Supports MP4 and MOV
Free, no watermark
Drop the Video Compressor into any page — blog post, product docs, intranet, school portal — with a single line of HTML. Your visitors get the full tool, processed entirely in their browser. No backend, no uploads, no signup.
Embed code
<iframe
src="https://www.fixtools.io/video-tools/video-compressor?embed=1"
width="100%"
height="780"
frameborder="0"
style="border:0;border-radius:16px;max-width:900px;"
title="Video Compressor by FixTools"
loading="lazy"
allow="clipboard-write"
></iframe>Attribution-friendly: a small "Powered by FixTools" link appears in the embed footer.
Twitter/X applies a stricter set of upload gates than most large platforms, and understanding each gate individually is the difference between a smooth post and a string of failed uploads. The 512MB ceiling is the headline number, but it pairs with a 2 minute 20 second duration cap for standard accounts and an implicit codec preference for H.264 in an MP4 container. The platform technically accepts MOV, but MOV files are silently re-encoded to MP4 on the server, which adds latency and an additional pass of generation loss. Submitting a file that already matches the platform's internal specification skips that re-encode and gets the post live faster, with quality closer to what you exported.
Bitrate planning for Twitter/X centres on the 512MB ceiling and the 140 second maximum duration. A simple calculation shows that 512MB across 140 seconds works out to roughly 29 Mbps total budget, which is far higher than Twitter will actually display. The practical ceiling for visible quality on Twitter is around 5 to 8 Mbps for video plus 128 kbps for audio. Allocating a budget around that figure produces a file in the 90 to 140MB range for a full 2:20 clip, which uploads quickly and gives Twitter's transcoder enough headroom to produce a clean adaptive ladder for different viewers and connection speeds.
Captions and on-screen text matter more on Twitter/X than on platforms that autoplay with sound. Around 80 percent of Twitter video views happen with audio muted, especially on mobile in a feed scroll context. Burning captions into the video at the encoding stage, rather than relying on the platform's auto-generated captions, guarantees the message lands even when audio is off. The trade-off is that hardcoded captions cannot be toggled by the viewer, so keep them legible against any background, position them in the lower third away from Twitter's own UI overlay, and use a font size that reads cleanly at the smaller mobile thumbnail dimensions.
Quality verification after encoding closes the loop. Twitter's in-feed player aggressively downsamples and re-compresses any video that exceeds its internal display ceiling, so uploading at 4K or 60fps wastes bandwidth without producing a sharper result for any viewer. Encode at 1080p 30fps with a moderate bitrate, then play the output file end-to-end before posting. Pay particular attention to fast motion sections, gradient backgrounds, and any text overlays, since these are the regions where compression artefacts appear first. If you spot blocking or banding, raise the bitrate slightly and re-encode rather than letting Twitter's server-side pass make the problem worse.
Upload your video and select the Twitter/X preset. The tool compresses to H.264 MP4 at Twitter-optimal settings.
Step-by-step guide to compress video for twitter/x:
Upload Your Video
Click the upload button or drag and drop your source video. The tool accepts MP4, MOV, AVI, MKV, WebM, and most other container formats, including iPhone HEVC recordings and screen captures from QuickTime, OBS, or Loom. Processing happens in your browser, so the file does not leave your device during preparation.
Apply the Twitter/X Preset
Select the Twitter/X preset. The tool encodes to H.264 MP4 capped at 1080p 30fps, applies a target bitrate that keeps the result under 512MB, and trims the duration to 2 minutes 20 seconds if the source is longer. Audio is converted to AAC stereo at 128 kbps, which is the format Twitter/X transcodes most cleanly.
Preview the Trimmed Clip
Before finalising, scrub through the preview to confirm the trim point lands in the right place and that no critical moment was cut. If your source is longer than 2:20, the preset trims from the start by default. Adjust the in-point if the key content sits later in the clip so the upload captures the right portion.
Download and Post to Twitter/X
Click Compress, wait for encoding to finish, and download the result. The output meets every Twitter/X requirement at once: file size, duration, container, codec, and audio format. Drag it directly into the Twitter/X post composer and the upload progress bar will move faster than it would for a raw source file.
Common situations where this approach makes a real difference:
Sharing event highlights on Twitter
A conference organiser captures 10 minutes of stage footage at 4K from a mirrorless camera, producing a 3.2GB MOV. The Twitter/X preset trims to the most quotable 2:20 segment, downscales to 1080p, and outputs an MP4 around 240MB. The post goes live the same evening with sharp visuals and synced audio, well within Twitter's gates.
Posting a product demo on Twitter
A SaaS founder records a 90-second product walkthrough using a screen recorder set to high bitrate, ending with a 600MB MP4. The preset re-encodes the same duration at 1080p with a lower target bitrate, producing a 180MB file. Text overlays remain crisp and cursor movement stays smooth across the timeline thumbnail.
Reposting a podcast clip with captions
A podcast team exports a 2-minute audio-driven clip with hardcoded captions from their editor at master quality, producing 850MB. The Twitter/X preset compresses the file to roughly 150MB while keeping the captions readable on mobile. The clip uploads in under a minute on a typical office connection.
Promoting a film trailer cutdown
An indie filmmaker has a 60-second trailer at ProRes 422 weighing 4.5GB. The preset converts to H.264 MP4 at 1080p 24fps and keeps the cinematic frame rate intact, producing a final file around 90MB. The trailer plays cleanly in the Twitter feed and on the embedded player on the film's landing page.
Use when your video is too large for Twitter/X or when you want to reduce upload time.
Get better results with these expert suggestions:
Match resolution to the viewing context for compress video for twitter
Twitter's feed player tops out at 1080p on desktop and renders at far lower resolutions on mobile, where most plays actually happen. Uploading 4K or 1440p sources wastes encoding time and bandwidth without any visible benefit. Settle on 1080p 30fps as the practical ceiling for Twitter delivery and reserve higher resolutions for platforms like YouTube or Vimeo where viewers can actually see the difference on a large screen.
Re-encode from source, not from a previous compression
If you already exported a master file from your editor at high quality, always feed that master into the Twitter preset rather than a smaller version you compressed for another platform. Each re-encode compounds quality loss because compression artefacts from the first pass become part of the input the second pass tries to preserve. Keep the master archived and treat each platform export as a fresh pass from the same clean source.
Use a quality-targeting mode when size is not fixed
When your clip runs well under the 2:20 ceiling, a CRF based encode often beats a fixed bitrate target. CRF holds quality steady across the clip and lets the encoder spend more bits on complex sections and fewer on static ones. A CRF value around 22 to 24 with H.264 typically produces clips well inside the 512MB Twitter ceiling while keeping fast motion and gradients clean.
Verify audio sync after compression
Drift between video and audio is a common artefact when re-encoding files that were originally recorded with variable frame rate sources, such as iPhone screen recordings. After the Twitter preset finishes, play the last 10 seconds of the output and check that mouth movements still match speech and that any music beats still hit on the right frame. If sync has drifted, re-encode with a constant frame rate forced on the input to keep timing locked to the audio track.
Twitter standard limit: 512MB, 2:20 max
Standard Twitter accounts can upload videos up to 512MB and 2 minutes 20 seconds (140 seconds). Twitter Media Studio (for large accounts) allows up to 1GB.
1080p at 30fps is the Twitter quality ceiling
Twitter displays video at maximum 1920x1200 at 40 Mbps. Uploading at higher settings is pointless, Twitter re-encodes to its own specs.
Add captions in the video for silent autoplay
Twitter videos autoplay muted. Add captions or on-screen text to your video before compressing so it communicates effectively without audio.
Other tools you might find useful:
Open the full Video Compressor — free, no account needed, works on any device.
Open Video Compressor →Free · No account needed · Works on any device