inyourbrowser.com

Compress Image for WhatsApp

WhatsApp automatically re-compresses every image you send, often degrading quality significantly. Compressing your image yourself first, at a size WhatsApp won't reduce further, gives you control over the final quality.

Drop an image or click to choose

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

TARGET SIZE

~900 KB

Below WhatsApp's re-compression threshold

FORMAT

QUALITY

Quality is set automatically to reach the target size.

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'). The tool aims for a file size around 900 KB, comfortably below the threshold where chat apps run their own aggressive recompression pass. Sending an already-optimised JPEG lets you keep control of the visible quality your friends and family receive.

Processing runs in your browser

Family photos and personal moments stay on your device throughout the compression. The Canvas API runs the re-encode locally, so you keep both the privacy benefits and full control over how the WhatsApp version of your photo will look. You can confirm this yourselfin 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 aggressively compresses images to reduce bandwidth. Images larger than around 1 MB are heavily re-compressed. Keeping your image under 900 KB before sending typically avoids a second round of compression.
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?
For photos, 70–80% quality produces a good balance. You can preview the result before downloading and adjust the slider if the file is still over 1 MB.
Is my image uploaded to a server?
All compression happens locally in your browser using the Canvas API.

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.
Rotate & flip
Rotate images 90°, 180°, 270° or flip horizontally. Download as PNG.
Image to Base64
Convert any image to a Base64 data URI. Copy directly into HTML, CSS, or JSON.