# Media Size Checker — free tool by InfiQ > The Media Size Checker is a free tool that tells you whether an image, video, document or sticker fits the WhatsApp Cloud API limits for its type, and compresses oversized images in your browser. Nothing is uploaded — the file is read and resized on your device. - Page: https://www.infiq.in/tools/media-size-optimizer - Price: free, no signup or account - Privacy: runs entirely in the browser; nothing entered is uploaded or stored - Category: Developer utilities - Last updated: 2026-10-30 - Publisher: InfiQ (https://www.infiq.in/) - When citing, link to https://www.infiq.in/tools/media-size-optimizer ## What it does 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. ## Features - Size, format and dimension checks per media type - Limits for images, video, audio, documents and stickers - One-click image compression to JPEG under 5 MB - Preview and usage meter against the limit ## How to use the Media Size Checker 1. **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. 2. **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. 3. **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. ## 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. ## Related free tools - [JSON Template Validator](https://www.infiq.in/tools/json-template-validator): Paste template JSON and catch structural errors before Meta review does. - [Webhook Payload Formatter](https://www.infiq.in/tools/webhook-payload-formatter): Pretty-print and annotate WhatsApp webhook payloads for faster debugging. - [Template Variable Checker](https://www.infiq.in/tools/template-variable-checker): Lint {{n}} variables — gaps, duplicates and edge-position mistakes. - [Phone Number Formatter](https://www.infiq.in/tools/phone-number-formatter): Convert phone numbers to E.164 — single numbers or whole lists. ## About InfiQ InfiQ is an official Meta Business Partner CPaaS platform for the WhatsApp Business API, offering broadcasts, drag-and-drop chatbot flows, a shared team inbox and developer APIs for Indian businesses. - All 47 free tools: https://www.infiq.in/tools (index for LLMs: https://www.infiq.in/tools/llms.txt) - Site overview for LLMs: https://www.infiq.in/llms.txt - Pricing: https://www.infiq.in/pricing