inyourbrowser.com

Compress Image for Email

Reduce your image to around 150KB so it attaches quickly to any email without slowing recipient inboxes. The Canvas API decodes your file in your browser and re-exports it as a tuned JPEG, small enough to send but still sharp at the dimensions Gmail, Outlook, and other mail clients display. All compression runs locally.

Drop an image or click to choose

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

TARGET SIZE

~150 KB

Optimized for email attachments

FORMAT

QUALITY

Quality is set automatically to reach the target size.

Runs entirely in your browser

How it works

The image is drawn onto a Canvas in your browser and re-exported with ctx.canvas.toBlob('image/jpeg', quality). The quality slider is tuned so the resulting JPEG lands near 150 KB, small enough to attach to any email without slowing recipient inboxes yet still sharp at the sizes most mail clients display. Download the optimised attachment and drop it directly into your message.

Processing runs in your browser

Attachment-ready compression runs inside the tab so private photos and documents you plan to email never leave your device while being prepared. The Canvas API handles the JPEG re-encode locally, and the smaller attachment lands directly in your downloads folder. 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

Is my image uploaded to a server?
All compression happens locally in your browser using the Canvas API.
What file size is safe for email?
Most email providers accept attachments up to 10–25 MB, but images over 1 MB can slow down inboxes. Keeping images under 200 KB is courteous and reliable.
Will recipients be able to see my photo clearly?
Yes. At 150 KB, a typical photo looks sharp at the sizes used in email clients.
Can I compress multiple images?
Currently the tool processes one image at a time. Compress each image separately and attach them all at once.

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.
Image to PDF
Convert JPG, PNG, WebP, or GIF images to a PDF. Add multiple images, reorder, download instantly.