Back to Blog
general

Compress Video for WhatsApp Without Wrecking the Quality

WhatsApp re-encodes everything you send, and its built-in compression often crushes clips into mush. Here's how to pre-compress to 720p yourself with ffmpeg or in the browser, when to send as a document instead, and the settings that survive the upload.

Rumen AtanasovNovember 25, 20269 min read

You film a 90-second clip on your phone, send it to a group chat, and it arrives looking like it was faxed. Faces smear when anyone moves, the sky turns into blotches, and your 180 MB original is now a 9 MB blur. That is not a bug — WhatsApp re-encodes almost every video that passes through a chat, and its encoder optimises for small and fast, not for how your clip looks.

The fix is to take the compression step away from WhatsApp. If you compress video for WhatsApp yourself — to a sensible resolution and bitrate, before you hit send — the app has far less reason to mangle it, and you get a file that is already under the limits. Below: what the limits actually are, what the HD toggle does, when to send as a document instead, and a copy-paste ffmpeg preset (plus a browser route if you don't want a terminal).

What WhatsApp actually does to your video

Three constraints shape everything else:

  • Chat media size cap: around 16 MB. Anything bigger is either refused or squeezed down to fit. In practice a long clip gets re-encoded until it squeaks under the cap — which is exactly when quality falls off a cliff.
  • Document size cap: up to 2 GB. Files attached as documents are not treated as media, so they are sent byte-for-byte with no re-encode.
  • Status clips are short. WhatsApp caps status videos at a short length (historically 30 seconds, later extended to 60 seconds depending on your app version and region), and a longer upload is either rejected or split into segments. If your status looks chopped or refused, length — not size — is usually the reason.

The important part: the re-encode happens even if your file is already tiny. A 6 MB clip still gets transcoded. If that 6 MB file was already heavily compressed by an earlier app, WhatsApp compresses the compression — and generation loss is what produces that smeared, blocky look. Giving WhatsApp a clean, moderately compressed 720p H.264 file is the single biggest quality win available.

Use the HD toggle — and know its ceiling

Recent WhatsApp versions show an HD button in the editor before you send a photo or video. Standard quality targets roughly 480p; HD raises that to a higher resolution (around 720p) and a higher bitrate. Tap it every time you care about the result — it is per-send, not a permanent setting, so it resets on the next clip unless your version offers a default.

HD is not a magic bypass, though. It still re-encodes, it still has to respect the chat size cap, and a two-minute 4K clip will still be dragged down hard. HD helps most when your source is already close to what HD targets: a short, 720p, already-efficient file.

Send as a document when quality is non-negotiable

For a wedding clip, a client deliverable or anything you want preserved exactly, skip the media picker. Use Attach → Document and pick the video file. WhatsApp treats it as a generic file: no re-encode, no resolution cap, up to 2 GB.

The trade-offs are real, so decide deliberately:

  • No inline thumbnail or tap-to-play preview — the recipient sees a file row and must download it first.
  • Downloads are manual and can be slow on mobile data; a 900 MB file is a rude thing to send to a group.
  • It will not work for Status, which only accepts media.
  • Some older devices struggle to open large 4K files downloaded this way.

A good middle path: compress to a good-looking 150–300 MB MP4 first, then send that as a document. Full control over quality, no WhatsApp encoder involved, and a download your recipient will actually tolerate.

The ffmpeg preset that survives WhatsApp

This is the workhorse. It scales to 720p, encodes H.264 with a quality-based CRF, keeps the audio reasonable, and puts the index at the front of the file so it starts playing immediately:

ffmpeg -i birthday-4k.mov \
  -vf "scale=-2:720" \
  -c:v libx264 -crf 24 -preset slow -profile:v high -pix_fmt yuv420p \
  -c:a aac -b:a 128k \
  -movflags +faststart \
  whatsapp-birthday.mp4

What each part is doing:

  • -vf "scale=-2:720" — height 720, width calculated automatically and kept even (H.264 requires even dimensions). For a vertical phone clip this gives 720 on the short side; use scale=720:-2 if you want 720 wide instead.
  • -crf 24 — the quality dial. Lower = better and bigger. 20 is near-transparent, 23–24 is the sweet spot for WhatsApp, 28 is visibly soft. Change it by 2 at a time; every −6 roughly doubles the file size.
  • -preset slow — spends more CPU to get a smaller file at the same quality. Use medium if you're in a hurry, veryslow for the best squeeze on short clips.
  • -pix_fmt yuv420p — guarantees playback on every phone, including older Androids.
  • -c:a aac -b:a 128k — clean stereo audio. Drop to 96k for talking-head clips to free up bitrate for video.
  • -movflags +faststart — the file plays before it finishes downloading.

Typical result: a 2-minute 4K iPhone clip at 420 MB comes out around 18–25 MB. Good enough to send as a document with zero visible loss, and close enough to the chat cap that WhatsApp's own re-encode barely has to touch it.

Hitting an exact size target (two-pass)

When you must land under ~16 MB for a chat send, stop guessing with CRF and target a bitrate. The maths:

total kbps = target MB × 8192 ÷ duration in seconds

For a 180-second clip aimed at 15 MB: 15 × 8192 ÷ 180 ≈ 682 kbps total. Subtract 128 for audio and you have about 550 kbps of video. Two-pass gets you there accurately:

ffmpeg -i clip.mp4 -vf "scale=-2:720" -c:v libx264 -b:v 550k -pass 1 -an -f mp4 /dev/null && \
ffmpeg -i clip.mp4 -vf "scale=-2:720" -c:v libx264 -b:v 550k -pass 2 \
  -c:a aac -b:a 128k -movflags +faststart clip-15mb.mp4

At 550 kbps, 720p is ambitious for anything with motion. If it looks mushy, drop to scale=-2:540 — fewer, better pixels always beat more, broken ones.

Status clips

For Status, length is the gatekeeper. Trim before you upload rather than letting WhatsApp split the clip at an awkward point:

ffmpeg -i trip.mp4 -ss 00:00:12 -t 30 -vf "scale=-2:720" \
  -c:v libx264 -crf 23 -preset slow -c:a aac -b:a 128k trip-status.mp4

A 30-second 720p clip at CRF 23 typically lands around 8–12 MB — comfortably inside WhatsApp's media budget, so the status re-encode has little work to do and your text overlays stay legible.

No terminal? Compress it in the browser

If you're on a phone, a locked-down work laptop, or you just don't want to install anything, do the same job online. Upload your .mov, .avi, .mkv or oversized .mp4 to our online MP4 converter, pick an H.264 MP4 output at 720p, and download a file that is already WhatsApp-friendly before you ever open the app. It is the same destination as the ffmpeg route — H.264 video, AAC audio, MP4 container — without the command line. Other formats and targets live in the video converter hub.

A practical sequence that works for almost everyone:

  • Convert/compress to 720p H.264 MP4 first.
  • Check the output size. Under ~16 MB? Send it in chat with HD enabled.
  • Between 16 MB and 2 GB and quality matters? Send it as a document.
  • Going to Status? Trim to under the length cap first, then send as media.

Settings cheat sheet by use case

  • Chat clip, must look good, under 16 MB: 720p, CRF 23–24, preset slow, AAC 128k. Keep it under ~90 seconds.
  • Long clip to one person, quality first: 1080p, CRF 20, send as a document.
  • Screen recording or slideshow: 1080p, CRF 22 — flat graphics compress well and text needs the resolution.
  • Fast action (sport, drone, handheld walking): drop to 540p rather than raising CRF; motion eats bitrate.
  • Status: 720p, CRF 23, trimmed under the length cap, vertical 9:16 so nothing gets cropped.

The 60-second workflow worth memorising

Run one command (or one browser conversion) to get a 720p CRF 24 MP4. Look at the size. Under 16 MB, send it in chat with HD on; over that and precious, send it as a document. Trim status clips before uploading. That's it — three decisions, and WhatsApp's encoder never gets the chance to over-crush your footage, because you handed it a file that was already the right shape.

Save the ffmpeg line in a note or shell alias. After the second time you use it, the whole thing takes less time than re-sending a blurry clip and apologising for it.

FAQ

Why is my WhatsApp video compressed so much? Because WhatsApp re-encodes chat media to keep it small and fast to deliver. If your source was already compressed, you get generation loss on top of that. Pre-compressing to 720p H.264 yourself gives the app less to strip out.

What's the maximum video size I can send on WhatsApp? Roughly 16 MB when sent as chat media, and up to 2 GB when attached as a document. Exact limits can vary slightly by app version and platform.

Does sending as a document really keep full quality? Yes — documents are transferred as-is, with no transcoding. The trade-off is no preview and a manual download for the recipient.

How long can a WhatsApp status video be? Short: historically 30 seconds, extended to around 60 seconds on newer versions. Longer uploads get rejected or split into segments, so trim first.

Does the HD toggle stop compression? No. It raises the quality target (roughly 720p instead of 480p) but the video is still re-encoded and still subject to the size cap.

What is the best resolution for WhatsApp video? 720p for almost everything. It matches what HD sending targets, looks sharp on phones, and leaves enough bitrate per pixel to avoid blocking.

Can I do this on a phone? Yes — convert the file to 720p MP4 with a browser-based converter first, then send the downloaded file from WhatsApp as media or as a document.

Ready to Convert Your Files?

Try our free online file converter. No registration required.

Start Converting