FFmpeg Cookbook
JA

WhatsApp Video Compressor

Compress a video for WhatsApp to a size you choose in MB, then check the real size and quality of the result.

Your file is not uploaded
Choose a video MP4 / MOV / MKV / WebM / AVI, up to 500 MB

1 MB = 1,000,000 bytes. The presets are common sizes; check the official help of each service for its limit. Entering a shorter duration does not trim the video.

Equivalent FFmpeg command

CLI command for your current settings. Updates live as you change controls.

Pick a file and adjust settings — the command appears here.

Before sharing

WhatsApp's help gives a default video limit of 100 MB at 720p on a fast connection and 64 MB at 480p on a slow one; sent as a document, a file can be up to 2 GB. The 64 MB default matches the slow-connection limit, so it is within the limit on either connection. When quality matters more, you can send the original file as a document.

WhatsApp Help Center (Checked 2026-09-25)

The calculation budgets 95% of the target for video and audio. An oversized output is retried once and any remaining excess is reported.

Re-encoding changes quality. Check small text, motion and audio, and keep the original. Automatic tag and chapter copying is disabled, but this does not conceal personal information in the picture or sound.

Measured comparison: file size and quality from the same clip

What changes when you compress a video?

One 10-second clip compressed with three settings. The pictures show part of the frame at 2x.

Source 23.28 MB → 0.73 MB, encoded in 1.1 s
ffmpeg -i input.mp4 -map 0:v:0 -map 0:a:0? -c:v libx264 -crf 36 -preset fast -pix_fmt yuv420p -c:a aac -b:a 96k -movflags +faststart output.mp4
Part of the original frame (a printed T-shirt and a jacket) at 2x The same part after compression at the selected setting Original Compressed
How this was measured

2026-09-24, FFmpeg 8.1 on Windows (H.264, fast preset), one run per setting on a 10-second 1080p live-action clip. The pictures are a 480x270 native-resolution crop at 3 seconds, shown at 2x.

Measurements (JSON)Source film

Tears of Steel (CC) Blender Foundation | mango.blender.org, CC BY 3.0. Cropped from the 4K version and scaled to 1080p; part of each encoded frame at 2x

Popular uses
Compress for WhatsApp sharingSendable videos on slower networksLightweight family or team sharing

How to use

  1. Select a videoChoose a video up to 500 MB and 7200 seconds (2 hours) long. Your original stays as it is.
  2. Check duration and targetCheck that the detected duration (in seconds) is right. Set the target a little below the limit of the way you will send it.
  3. Inspect the resultClick Compress video. Check the output size in bytes, the picture and the sound before saving.

Recommended settings

Over the limit
Trim unneeded footage first
A shorter clip has more bitrate available at the same size target.
Small text is unreadable
Increase the target or send it as a document
Downscaling and strong compression blur small text. WhatsApp lets you send up to 2 GB as a document.
Do not share the conversation
Remove audio
The output has no sound at all. Anything visible in the picture remains.

When it goes wrong

Unknown duration

Cause: The browser may not be able to read the file format.

Fix: Enter the actual duration shown in a player. A wrong duration throws off the size calculation.

Still over target

Cause: The content, the audio and the file structure can make the real size differ from the estimate.

Fix: The result says it is over the target. Trim the clip, or change the size, resolution or audio settings.

Conversion failed

Cause: An unsupported format, a damaged file, too little memory or a failed engine download.

Fix: Try a shorter clip, or use desktop FFmpeg.

Questions

How much can I send through WhatsApp?

WhatsApp's help says the default video limit is 100 MB at 720p on a fast connection and 64 MB at 480p on a slow one. Sent as a document, a file can be up to 2 GB. The 64 MB default matches the slow-connection limit, so it is within the limit on either connection.

Is the selected size guaranteed?

No. The real output size in bytes is checked. An oversized output is compressed again at most once, and any remaining excess is shown.

Does re-encoding change quality?

Yes. Check small text, motion, faces, colour and sound.

Does this remove personal information?

Tags such as the recording location, chapters and extra tracks such as subtitles are not carried over. Names, faces and places visible in the video, and conversations in the audio, remain.

Were the comparison images measured on my device?

No. The comparison images come from desktop FFmpeg converting a 10-second 1080p live-action clip at different quality settings (CRF). For your own video, check the output bytes in the result and the Conversion report (JSON).

More detail (settings, limits, FFmpeg commands)

What each setting means

Target size
One MB is counted as 1,000,000 bytes. The default is 64 MB, WhatsApp's video limit on a slow connection; change it to fit the way you send.
Video and audio budget
95% of the target goes to video and audio. Audio gets 128 kbps up to five minutes, 64 kbps beyond, or nothing when removed. If video would get less than 150 kbps, the tool stops and shows the smallest target that works. When the clip is short for the target, the video bitrate is held at the cap for the output size (4000 kbps up to 480p, 7500 up to 720p, 12000 up to 1080p, and so on; YouTube's recommended upload bitrates), so the file comes out smaller than the target.
Output resolution
A maximum for the short side: the height of a landscape video, the width of a portrait one. The default, Match bitrate, picks 480p, 720p or 1080p from the video bitrate. The picture is never enlarged, and the size is rounded to even numbers.

Browsers and limits

  • Accepts videos up to 500 MB and 7200 seconds (this is separate from WhatsApp's limits)
  • Uses only the first video and the first audio track; subtitles, extra audio tracks and chapters are left out
  • Settings cannot be changed while converting
  • The video is not uploaded, but loading the processing engine (FFmpeg) needs a network connection

The same job with the FFmpeg command line

Example budget: 20 MB for a three-minute clip
ffmpeg -i input.mp4 -map 0:v:0 -map 0:a:0? -vf "scale='if(gte(iw,ih),-2,trunc(min(iw,720)/2)*2)':'if(gte(iw,ih),trunc(min(ih,720)/2)*2,-2)'" -c:v libx264 -b:v 716k -maxrate 788k -bufsize 1432k -preset fast -pix_fmt yuv420p -map_metadata -1 -map_metadata:s -1 -map_chapters -1 -c:a aac -b:a 128k -movflags +faststart output.mp4
95% of 20 MB over 180 seconds is 844 kbps; minus 128 kbps of audio leaves 716 kbps for video. At that bitrate the resolution cap is 720p. The real size depends on the content. The command shown on the page follows your current settings.

Choose a sharing method for WhatsApp

WhatsApp's help says a video sent as a video is limited by default to 100 MB at 720p on a fast connection and 64 MB at 480p on a slow one. Sent as a document, a file can be up to 2 GB. The 64 MB default matches the slow-connection limit, so it is within the limit on either connection.

Checked 2026-09-25. Official guidance

Useful next tools