To compress an image for an email attachment, you shrink the file's byte size — usually by re-encoding it at a lower quality setting — until it fits inside the receiving email service's attachment cap, which typically sits somewhere between 10 and 25 MB. A photo taken on a modern phone weighs 3 to 8 MB straight out of the camera, so any individual snapshot is technically small enough — but the moment you attach two or three of them, a screenshot, and a PDF, the total sails right past the limit and the message refuses to leave your outbox. Compressing each image first is the fastest, most reliable fix. The aim is to drop each file from several megabytes down to a few hundred kilobytes without making the picture look visibly worse at normal viewing size. A photo compressed to around 70% quality typically lands between 200 KB and 1 MB, which fits comfortably under any common attachment limit while still looking sharp inside the recipient's inbox. The whole job takes hardly any time once you have a tool that handles the work locally on your own machine.

compress image for email attachment
Compress an Image for Email Attachment in Your Browser

Why Email Attachments Bounce or Block

Email services do not store messages on an unlimited hard drive. To keep their servers fast and their storage costs under control, every major provider draws a hard line at how big a single message can be — counting the body text, every attachment, and any encoded copies they make along the way. That ceiling usually sits somewhere between 10 and 25 MB, depending on the service the recipient uses. Crossing it is the single most common reason a perfectly good message refuses to send.

The second reason is image size, not message size. A single photo from a recent phone camera typically weighs 3 to 8 MB at full resolution. A scanned document page can hit 2 to 5 MB. A screenshot exported as a PNG can easily cross 1 MB. Stack three of those onto one message and you are already past the cap on the more restrictive inboxes, and right at the edge on the others. Some clients will warn you and try to compress the file for you — usually by shrinking the dimensions rather than the byte weight, which can leave the picture looking blocky or soft. The cleanest fix is to compress the images on your own machine, before you attach anything.

A third reason is the recipient's service, not yours. You can write from a generous inbox, but if the person on the other end uses a stricter one, the file still fails on their side. Sending a compressed version hedges against that risk: a small file passes everywhere, while a borderline-large file passes only on the clients that happen to be generous today.

How Image Compressor Shrinks Email-Ready Images

Image Compressor is a browser-based tool that handles the whole shrinking job locally on your machine. Drop a file onto the canvas or pick it from a folder, and compression begins the moment the browser reads the file. No upload step, no server queue, no account. The tool decodes your picture, redraws it onto an HTML5 canvas, and re-encodes it as a JPEG or WebP at the quality you choose. The output updates in real time as you drag the slider, so you see both the byte count and the visual result before you commit.

Two features matter specifically for email. First, the split-view preview shows the original and the compressed image stacked in one frame with a draggable divider line — pull it across the picture to see exactly what compression does to fine detail like hair, text edges, and sky gradients. Second, because nothing leaves your device, the file you are about to attach to an email never sits on anyone else's machine. That matters when the picture in question is a passport scan, a contract, a medical image, or an unreleased product shot — the kind of thing that should not be passing through an upload server.

How to Compress an Image for an Email Attachment

  1. Open Image Compressor in any modern browser. Nothing installs and no sign-up is required.
  2. Pick the image you want to attach, or drag it from a folder straight onto the page. Compression starts as soon as the file lands.
  3. Watch the size readout update as you drag the slider.
  4. Drag the quality slider until the compressed file is small enough for your target inbox. For most photos, 60–80% quality is visually indistinguishable from the original at normal viewing size.
  5. Pull the split-view divider across fine detail — hair, text, sky — and confirm there is no visible damage before downloading.
  6. Pick the output format. JPEG is the safest choice because every email client on every device can open it. WebP is smaller and is supported by all modern browsers.
  7. Download the compressed file. It saves to your machine as a regular image, ready to drop onto the email in your usual mail app.

The whole sequence — drop, drag, verify, download — takes longer to read than to run.

Picking the Right Format and Quality for Email

Format matters as much as quality for hitting an email target. JPEG is the safe default for photographs because every email app on every device can open it, and the format handles smooth gradients and skin tones well. WebP typically lands 20 to 30% smaller than JPEG at the same visual quality and is supported by all modern browsers, so it is the better pick for images that will live on a website. PNG is lossless, which makes it the right home for screenshots that contain fine text or sharp UI edges, but PNG files are usually larger than the equivalent JPEG, so they cost more of your attachment budget.

Quality is the slider most people worry about, but the sweet range is wider than it sounds. For most photographs, anything between 60% and 80% quality is visually indistinguishable from the original at normal viewing size. Going below 50% tends to introduce visible artefacts in skin, foliage, and sky. Going above 85% is fine but spends bytes on detail the recipient will never notice. The right setting depends on the picture — a flat product shot tolerates heavier compression than a portrait.

FormatBest fit for emailTypical size vs original
JPEGPhotos with smooth gradients and skin tones70% quality lands a phone photo at roughly 200 KB to 1 MB
PNGScreenshots, line art, anything with sharp text or transparencyLossless; usually larger than the equivalent JPEG
WebPModern webmail clients that support it20–30% smaller than JPEG at the same visible quality

If you are unsure which format to pick, JPEG at 70% is the safest default for any photo you plan to attach to an email. For a deeper comparison of when each format earns its keep, the JPEG vs PNG vs WebP guide walks through the trade-offs in more detail.

Hitting a Specific Attachment Target

Some inboxes cap at 5 MB, others at 10 MB, and a few sit up at 25 MB or higher. The exact number depends on the recipient's provider, not yours, which is why aiming well below the ceiling is the safe play. The simplest way to land on a target size is to drag the quality slider down until the readout shows a file small enough to fit comfortably under the lowest limit you expect to encounter, then check the split view to confirm nothing visible has gone wrong. A phone photo compressed to around 60–70% quality typically lands between 200 KB and 500 KB — small enough to attach several of them to one message without ever approaching the cap.

For very strict targets — submission forms, ID uploads, government portals that cap individual files at well under 1 MB — the slider is your lever, and WebP is your format. WebP at the same visible quality is reliably 20 to 30% smaller than JPEG, which often turns a borderline 800 KB JPEG into a 560–640 KB WebP that passes a strict upload cap with room to spare. The same split-view check still applies: drag the divider across the picture, confirm the text edges and faces look clean, then download. If you need a worked example for the 100 KB range specifically, the compress-to-100KB guide walks through the trade-offs.

Common Email Compression Mistakes and Quick Fixes

The most common mistake is leaving compression to the email client. Outlook and some webmail providers will offer to shrink large images for you, but they usually resize the dimensions, not the byte weight, which leaves the file still too heavy for stricter inboxes on the other end. Compress on your own machine first and the file passes everywhere.

The second mistake is forgetting that attachments add up. Three 800 KB photos plus a 200 KB screenshot plus a 1 MB PDF is over 3 MB before any text — fine on a 25 MB inbox, risky on a 10 MB one, and fatal on a 5 MB one. Compress aggressively when you plan to attach several files.

The third mistake is saving screenshots as PNG by default. PNG is lossless, which is great for editing, but a PNG screenshot is usually two to three times heavier than the equivalent JPEG at 80% quality, and a WebP version is smaller still. Re-encode the screenshot as JPEG or WebP before attaching.

The fourth mistake is uploading a sensitive document through an online compressor just to save a few clicks. ID scans, contracts, and medical images do not need to pass through a stranger's server. A compressor that runs in your browser keeps the file on your device the whole time, which is the only safe way to shrink something you would not want to upload.