Toolsby Decyfy

Compress Image

Make a JPG, PNG or WebP smaller so it fits an upload limit or an email — without it turning to mush.

Drop an image here or browse

JPG, PNG, WebP, GIF or BMP · max 50 MB

What this tool does

You choose either a quality level or a target file size, and the tool re-encodes your image to match. It reports the size before and after, so you can see whether the trade was worth making.

Target-size mode works by trying progressively lower quality until the file fits. If it cannot get there even at the lowest setting, it says so rather than quietly handing you a file that is still too big.

When you might need it

An upload box rejects your file
Government portals, job applications and exam forms routinely cap uploads at 100 KB, 200 KB or 1 MB.
An email attachment is too large
A handful of phone photos will exceed most attachment limits on their own.
A page is loading slowly
Full-resolution photos are the usual reason a site feels heavy.

Common workplace uses

Application and KYC uploads
Portals that demand a photo or signature under a specific size, often with no way to see why the upload failed.
Product and catalogue images
Get a consistent, reasonable size across a batch before they go into a listing or a deck.
Reports and presentations
A deck full of untouched phone photos is unnecessarily large to email or store.
Website and CMS images
Reduce dimensions as well as quality — a 4000 px photo displayed 800 px wide is wasted bytes.

How to use it

  1. Add your image

    JPG, PNG, WebP, GIF or BMP, up to 50 MB. The original dimensions are shown once it loads.

  2. Choose quality or a target size

    Quality mode gives you direct control. Target-size mode is better when a form has a hard limit.

  3. Pick the output format

    JPEG is accepted everywhere. WebP is usually smallest. PNG stays lossless and will not shrink much.

  4. Reduce the dimensions if you need to

    For large photos this does more than quality alone. The longest side is capped and the shape is preserved.

  5. Compress, check the preview, then download

    The before and after sizes are shown side by side, with the preview at the actual output.

Practical tips

Scaling down beats quality alone
If a 12-megapixel photo must fit 200 KB, lowering quality will make it look bad before it makes it small. Cap the longest side at 1600 px first and you will usually keep more apparent detail.
PNG will barely shrink
PNG is lossless. If your PNG is a photograph and does not need transparency, switching it to JPEG or WebP is what actually reduces the size.
Transparency becomes white
JPEG and WebP output flatten transparent areas onto a white background. Keep PNG if you need the transparency.
Already-compressed files may not shrink
Re-compressing a small JPG often makes it slightly larger. The tool tells you when nothing was saved instead of pretending otherwise.
Compression is one-way
Detail removed by a lossy format cannot be recovered. Keep your original if the image matters.

Common questions

Are my images uploaded anywhere?
No. The compression happens in your browser using the canvas API. The file never leaves your device, and nothing is stored after you close the tab.
Can I compress to an exact file size?
Not exactly — the browser gives no way to request a precise output size. Target-size mode lowers quality step by step until the file is under your limit, which is what upload forms actually check.
Which format should I choose?
JPEG when something else has to accept the file. WebP when you control where it is used and want the smallest result. PNG only when you need transparency or the image is a screenshot or diagram with flat colour and text.
Will it work on my phone?
Yes. The tool works the same on a phone browser, though very large images take longer on older devices.
Does it strip location data from photos?
Re-encoding through the canvas does not carry EXIF metadata across, so the output will not contain the original camera or GPS tags. Treat that as a side effect worth knowing, not a privacy guarantee — verify anything that matters legally.

Related workflows

Get photos under an upload limit

Take a batch of phone photos and make them acceptable to a form.

  1. 📱 HEIC to JPGConvert iPhone HEIC photos to JPG first
  2. 🗜️ Compress ImageBring each one under the size limit
  3. Upload to the form

Assemble a document from photos

Combine several images into one file to submit.

  1. ✂️ Crop ImageTrim each photo to what matters
  2. 🗜️ Compress ImageReduce the size
  3. 🖼️ Image to PDFCombine them into a single PDF

Related tools

Didn’t find the tool you need?

Tell us what you’re trying to calculate — we read every one.