inyourbrowser.com

Compress Image for WhatsApp

WhatsApp re-compresses photos you send from the gallery, which can blur fine detail. Compressing the photo yourself to about 900 KB lets you choose how it is compressed and check the result before you send it. For full quality, send the original as a document instead.

Drop an image or click to choose

JPG, PNG, or WebP, up to 50 MB. Runs in your browser.

TARGET SIZE

~900 KB

About 900 KB, sized for sending as a photo

FORMAT

QUALITY –

Quality is set automatically to reach the target size. Large photos may also be scaled down.

Runs entirely in your browser

How it works

Your photo is rendered into an off-screen Canvas and re-encoded with ctx.canvas.toBlob('image/jpeg'), or as WebP if you pick it. The tool aims for about 900 KB, a size that sends quickly on mobile data. Sending an already-optimised JPEG lets you keep control of the visible quality your friends and family receive.

Processing runs in your browser

The whole compression runs in your browser. The Canvas API runs the re-encode locally, so you keep full control over how the WhatsApp version of your photo will look. You can confirm this yourself in your browser's DevTools Network tab.

Related operations

If you need a different file format after compressing, try the image converter. To trim images to a specific aspect ratio first, use image crop. For multi-image PDFs from compressed photos, see image to PDF.

Frequently asked questions

Why does WhatsApp make my images blurry?
WhatsApp re-compresses photos sent from the gallery to save data. Sending a photo you have already compressed and checked tells you roughly what your contacts will see; to skip re-compression entirely, send it as a document.
Should I send as a document instead?
Sending as a document (using the paperclip icon, not the photo icon) bypasses WhatsApp's re-compression entirely, the file is sent as-is. Use this for photos where quality matters most.
What quality setting should I use?
This page picks the quality automatically: the highest that stays under about 900 KB. Large photos are scaled down when only a low quality would fit. You can preview the result and its size before downloading. To set the quality yourself, use the main Compress Image tool, where 70–80% gives a good balance for photos.
Is my photo uploaded before it reaches WhatsApp?
The photo is compressed in this tab with the Canvas API and saved to your device; it reaches WhatsApp only when you send the downloaded file yourself. Our servers are not involved at any point.

Last reviewed September 30, 2026

Other pages for this tool

Related tools

Resize image
Scale to any size or use platform presets. Instagram, LinkedIn, WhatsApp and more.
Convert image
Convert between JPEG, PNG, and WebP formats. Lossless or quality-controlled.
Image to Base64
Convert any image to a Base64 data URI. Copy directly into HTML, CSS, or JSON.
Compress PDF
Reduce PDF file size in your browser. Lossless optimisation or image re-rendering.
Image to PDF
Convert JPG, PNG, WebP, or GIF images to a PDF. Add multiple images, reorder, download instantly.