Skip to content
ClipperUtils

Compress a video for X (Twitter)

Without Premium, X accepts videos up to 512 MB and 140 seconds. Smaller files also upload faster on mobile data.

5.1× fasterCompress to ¼ size on a 20 s 1080p30 H.264 clip: 4.9 s here vs 24.7 s with FFmpeg WebAssembly. How we measured

Drop a file here

Processed on your device. Never uploaded.

Source: X Help Center: How to share and watch videos on X (archived copy), checked on .

How to compress for X

  1. Choose a video from your device.
  2. Pick a target size (for example 25 MB) or a quality level.
  3. Click Compress. The tool picks a bitrate and, if needed, a lower resolution so the file fits.
  4. Check the final size and download.

Private and free

Your file is processed in this browser tab using your device’s own video hardware. Nothing is uploaded, there is no account, and there is no watermark. When a file needs a codec your browser lacks, the tool switches to FFmpeg running locally in WebAssembly and tells you it did.

Questions

What size and length can I post on X?

X’s help center says accounts without Premium can upload videos up to 140 seconds long with a maximum size of 512 MB; Premium subscribers can upload videos under 4 hours, up to 16 GB.

My video is longer than 2:20. What do I do?

Trim it first with the X clip tool, then compress if it is still too large.

Is my video uploaded anywhere?

No. The file is read and processed by your browser on your own device. It is never sent to our servers or anyone else. Once the page has loaded you can even disconnect from the internet and the tool keeps working.

Is it free? Is there a watermark?

It is free, with no sign-up and no watermark on the output.

Why is it faster than other online video tools?

Most browser video tools run FFmpeg compiled to WebAssembly, which encodes on the CPU in software. This tool uses WebCodecs, the browser API that talks to the hardware video encoder and decoder in your device (the same chips your phone uses to record video). Our benchmarks page shows measured timings for both on the same files.

How large a file can I use?

The video is read from disk in pieces instead of being loaded into memory all at once, and large results are written to temporary browser storage. The practical limit depends on your device’s free memory and disk space rather than a fixed cap.

Which browsers does it work in?

Recent Chrome, Edge and Safari use the fast hardware path. If your browser lacks a codec the tool needs, it switches to a slower compatibility engine (FFmpeg WebAssembly, downloaded once, about 31 MB) and tells you it did.