Free tool
Catch oversized media before WhatsApp rejects it
Drop in an image, video or PDF and see instantly whether it fits WhatsApp Cloud API limits. Oversized images get compressed right in your browser — nothing is uploaded.
Check a file
Images, MP4 video or PDF. The file is read locally — nothing is uploaded.
Drag and drop a file here
or pick one from your device
Private by design: the check and the compressor run entirely in your browser. Your file never leaves your device and nothing is stored.
Verdict
Drop a file on the left to see its size, dimensions and whether it fits the WhatsApp Cloud API limits for its media type.
WhatsApp Cloud API media limits
The limits this tool checks against, per media type.
| Media type | Accepted formats | Size limit | Notes |
|---|---|---|---|
| Image | JPEG, PNG | 5 MB | 8-bit, RGB or RGBA |
| Sticker | WebP, exactly 512 × 512 px | 500 KB static · 100 KB animated | Sent as sticker messages |
| Video | MP4, 3GP | 16 MB | H.264 video with AAC audio |
| Audio | AAC, AMR, MP3, M4A, OGG (Opus) | 16 MB | Voice-note style playback |
| Document | PDF, DOC(X), XLS(X), PPT(X), TXT | 100 MB | Shown with filename and size |
How it works
Three steps, no signup
Drop in a file
Drag and drop or browse for an image, MP4 video or PDF. The tool reads its type, size and — for images — pixel dimensions locally.
Read the verdict
A green chip means the file fits the WhatsApp limit for its media type; a red chip lists exactly what is wrong — size, format or sticker dimensions.
Compress and download
For oversized or very large images, one click resizes to 1,600 px and re-encodes as JPEG under 5 MB, ready to download and upload to the API.
Field guide
Why media that fails silently hurts campaigns
Media failures on WhatsApp are sneaky because they rarely fail at send time. The API accepts your request, returns a message ID, and everything looks healthy — then the message quietly lands as “failed” on your webhook minutes later, or arrives with a broken media placeholder. In a one-off test you notice. In a broadcast to ten thousand customers you may not, and the first signal is a support ticket or a dip in reply rates. An oversized hero image can silently sink an otherwise well-built campaign, and because delivery already “succeeded” from your app's point of view, retries and alerts often never trigger. The fix is boring but effective: validate every asset against the limits before it goes anywhere near the upload endpoint.
For images, bigger is not better. Phones render WhatsApp images inside a chat bubble a few hundred pixels wide, so a 4,000-pixel photo straight off a camera buys you nothing except a slower download and a higher chance of tripping the 5 MB cap. A practical target is 1,080 to 1,600 px on the longest edge, exported as JPEG at around 80 quality. That combination typically lands well under 1 MB, looks sharp on every device, and loads quickly even on congested mobile networks. Reserve PNG for graphics with hard edges and flat colour — screenshots, charts, logos on plain backgrounds — and remember that transparency is flattened in image messages anyway.
Documents deserve the same discipline, even with the generous 100 MB ceiling. A large share of WhatsApp users are on metered or slow connections, and a 40 MB brochure that takes minutes to download is a brochure that never gets read. Export catalogues and price lists with images downsampled to 100-150 DPI, strip embedded fonts you do not need, and aim for single-digit megabytes. If a document genuinely needs to be huge, consider sending a short summary PDF in chat and linking to the full version instead.
- Images — 1,080-1,600 px longest edge, JPEG at ~80 quality, comfortably under 5 MB.
- Videos — MP4 with H.264 video and AAC audio at 720p keeps typical clips under the 16 MB cap.
- Documents — target single-digit megabytes so they open fast on slow connections.
- Stickers — WebP at exactly 512 x 512 px, 500 KB static or 100 KB animated.
Bake these checks into your content workflow — ideally before assets reach whoever presses send — and media failures stop being a class of incident you have to debug at all.
FAQ
Frequently asked questions
What are the WhatsApp media size limits?
On the WhatsApp Cloud API, JPEG and PNG images can be up to 5 MB, MP4 and 3GP videos up to 16 MB, audio files up to 16 MB, and documents such as PDFs up to 100 MB. Stickers are stricter: WebP files at exactly 512 x 512 px, 500 KB for static and 100 KB for animated. This tool checks your file against the limit for its media type.
Why did my message fail even though the API accepted the send request?
The send endpoint validates the request shape, not the media itself, so an oversized or wrongly encoded file often returns a message ID and then fails asynchronously. The failure only shows up later as a 'failed' status on your webhook or in your dashboard. Checking media before you upload it is the reliable way to avoid this.
Is my file uploaded anywhere when I use this checker?
No. The file is read entirely in your browser using local APIs — the size check, dimension reading and JPEG compression all happen on your device. Nothing is transmitted to a server and nothing is stored after you close the page.
How does the image compressor work?
It draws your image onto a canvas resized to a maximum edge of 1,600 px, then re-encodes it as JPEG starting at quality 85 and stepping down to 60 until the file fits under the 5 MB image limit. You then download the result with a -whatsapp.jpg suffix. Transparency is flattened onto white, since WhatsApp image messages render JPEGs without alpha anyway.
Can this tool compress videos or PDFs too?
Not in the browser — video and PDF re-encoding needs dedicated tools. For video, re-export as MP4 with H.264 video and AAC audio at 720p; a tool like HandBrake gets typical short clips well under 16 MB. For PDFs, use your editor's reduce-file-size option or downsample embedded images to 100-150 DPI.
Still have questions?
Book a demoMore free tools
Keep your stack sharp
JSON Template Validator
Paste template JSON and catch structural errors before Meta review does.
Open toolWebhook Payload Formatter
Pretty-print and annotate WhatsApp webhook payloads for faster debugging.
Open toolTemplate Variable Checker
Lint {{n}} variables — gaps, duplicates and edge-position mistakes.
Open toolPhone Number Formatter
Convert phone numbers to E.164 — single numbers or whole lists.
Open toolClean media is step one. Delivery at scale is step two.
InfiQ handles media uploads, broadcasts and per-message delivery status on the official WhatsApp Business API — with a shared inbox and chatbots in the same dashboard. 7-day free trial, no card required.
