Skip to content

Image compressor that runs in your browser

Compress images without compromising what matters.

Shrink JPG, PNG and WebP files with exact control over quality, dimensions and format. You can also give Compressly a file-size budget and it will find the best result that fits. Your images never leave this device.

Drop your images here or browse files JPG · PNG · WebP · GIF · BMP · AVIF  /  up to 25 MB each, 30 per batch
Processed on your device
A 4.8 MB PNG photo re-encoded into a 612 KB WebP file, 87 percent smaller IMG_2048.png 4.8 MB 4032 × 3024 · PNG · 24-bit original file IMG_2048.webp 612 KB 1920 px −87% QUALITY 82
Fig. 01: PNG to WebP at quality 82, resized to 1920 px wide.
  • Processed on your device

    Images are never uploaded.

  • Native encoding

    Uses your browser's image engine.

  • Hit a size budget

    50 KB to 2 MB, or your own.

  • 30 images per batch

    Save one by one or as a ZIP.

Advertisement

How it works

Three steps, no detours.

No account and no queue. Compressly works like a desktop utility that happens to live in a browser tab.

  1. 01 / Add

    Add your images

    Drop files, browse, or paste a screenshot. Compressly reads them locally with the File API. Nothing is uploaded.

  2. 02 / Tune

    Tune the output

    Pick a mode, or set quality, format and dimensions yourself. Every change re-encodes the image, so the numbers you see are the real result.

  3. 03 / Save

    Download

    Compare before and after with a draggable divider, check the savings, then download each file or the whole batch as one ZIP.

Features

Everything an image needs before it goes online.

Compressly decodes each image, applies orientation, resamples it to your size and re-encodes it. Metadata you didn't ask to share is left out.

An image separated into three layers: pixels, encoding and metadata Pixels oriented, resampled Encoding JPG · PNG · WebP Metadata EXIF & GPS removed
Fig. 02: What happens to an image inside Compressly.
  • Fast browser processing

    Encoding runs on your browser's native image codecs. There is no upload wait, so large files start processing immediately.

  • Quality you can dial in

    A 10–100 quality slider for JPG and WebP. Every change produces a new file, so the size you see is the size you get.

  • Target file size

    Set a budget from 50 KB to 2 MB, or any value you need. Compressly searches for the best quality that fits it.

  • Resize without distortion

    Width presets from 640 to 1920 px, or custom dimensions with an aspect-ratio lock. Downscaling is done in steps to keep edges clean.

  • JPG, PNG and WebP

    Keep the original format or convert between formats. Transparent areas get a background colour of your choice when saving to JPG.

  • Batch processing

    Up to 30 images at once with per-file status and savings. Download them one by one or as a single ZIP.

  • Before and after

    Drag the divider to compare, or open the full-screen viewer and zoom to actual pixels to check fine detail.

  • Private by design

    There is no server step. Images are processed in memory in this tab and released when you close it.

Six encoding passes converging on a 200 KB target: the final pass lands at 196 KB 50 KB 100 KB 200 KB 500 KB 1 MB 2 MB TARGET 200 KB pass 1 · q92 · 1.4 MB pass 6 · q35 · 196 KB over budget fits, keep searching higher
Fig. 03: A binary search over quality. Each dot is a real encode.

Target size

Give it a budget, not a guess.

Most compressors make you guess a quality number. Target Size mode encodes your image, measures the file, and narrows the quality range until the result fits. That usually takes six to nine passes.

  • Highest quality that fits. Compressly doesn't stop at the first result under budget. It keeps searching for the best-looking one.
  • Optional downscaling. If even the lowest quality is too large, it can step the dimensions down. You decide whether that's allowed.
  • Honest results. You'll see "Target reached" or the closest size it could achieve, never a rounded-down claim.

Optimization modes

Six modes, each tuned for a job.

Start from a mode and adjust anything. Each mode sets real encoder parameters, and you can see them below.

Balanced

Quality
Format
Dimensions
Best for

Compression intensity

The same image at quality 90 on the left and quality 20 on the right, where banding and block artifacts appear QUALITY 90 QUALITY 20 smooth gradients, clean edges banding, 8×8 blocks
Fig. 04: Low quality settings show up first in skies and smooth gradients.

Quality

What the quality setting actually changes.

JPG and WebP are lossy formats. Lowering quality discards the detail your eye is least likely to miss, starting with subtle gradients and fine texture. PNG is lossless, so its size only changes with dimensions or a format switch.

90–100ArchivalVisually identical, but files stay large. Use it for masters and print proofs.
75–89RecommendedSweet spotMost photos look the same as the original at normal viewing size, often at a fraction of the weight.
50–74AggressiveFine for backgrounds and busy scenes. Smooth skies may start to show banding.
10–49Previews onlyVisible blocking and smearing. Suitable for thumbnails and placeholders.

Privacy

Your images stay on your device.

Compressly is a client-side tool. When you add an image, your browser reads it from disk, decodes it and re-encodes it with the Canvas API inside this tab. The page has no upload endpoint, so no server ever holds your images and there is nothing to delete later.

  • No uploads. Files are read with the File API and processed in memory.
  • No account. No email, no sign-up, no watermark.
  • Metadata removed. Re-encoding drops EXIF data such as GPS location and camera serial numbers.
  • Works offline. Once the page has loaded, compression keeps working without a connection.

If this page is embedded on a website that uses its own analytics, that site may record page visits. Your image contents are never part of that.

A browser window where an image is processed in place, with the connection to a server blocked this tab · local only −81% Image data stays in this tab no upload
Fig. 05: The whole pipeline lives inside the tab.

Batch compression

A whole folder, one set of settings.

Select or drop up to 30 images. Compressly applies the same settings to each one and processes them one at a time, so your device stays responsive. The image you're looking at is always processed first.

  • Per-file results. Status, original and new size, and savings for every image.
  • ZIP download. The archive is built in your browser, with no server round trip.
  • Failures stay contained. A damaged file is flagged on its own row and the rest of the batch finishes.
A stack of twelve images flowing into a batch list, with two complete, one processing and one queued 12 Batch · 12 images 9 / 12 −84% −79%
Fig. 06: Items are processed in sequence, with the active image first.

Tools

Image and document tools that stay on your device.

Compress, resize and convert images, or turn text, images and Word files into PDFs. Every tool runs in this browser tab, so nothing is uploaded.

Compressly at the centre of its image and document tools JPG PNG WEBP PDF DOCX 4K

Image tools

Format compressorsOpen the compressor set to one output format.

PDF and document tools

FAQ

Questions, answered plainly.

If something isn't covered here, the optimizer explains every result it produces.

Yes. There's no account, no watermark and no daily limit. Processing runs on your own device, so there's no server cost to pass on to you.

No. Images are read with the File API and re-encoded by your browser's Canvas engine inside this tab. The tool has no upload endpoint, so image data isn't sent anywhere. Closing the tab releases it from memory.

You can open JPG, PNG, WebP, GIF (first frame), BMP and AVIF files. AVIF depends on your browser. Output can be JPG, PNG or WebP. Almost every current browser can save WebP; if yours can't, the option is disabled and Compressly tells you why. HEIC photos need converting to JPG first, because browsers can't decode them.

Yes. Add up to 30 images per batch, 25 MB each. The same settings apply to every file, and you can download results individually or as a single ZIP archive built in your browser.

Yes. Choose Target Size mode, then pick 50 KB, 100 KB, 200 KB, 500 KB, 1 MB, 2 MB or a custom value. Compressly searches for the highest quality that fits and can reduce dimensions if you allow it. If the target can't be reached, it shows the closest size it achieved.

JPG and WebP compression is lossy, but at quality 75–85 most photos look the same as the original at normal viewing sizes. Use the before/after slider and the zoomable preview to check. PNG output is lossless.

Yes. Choose a maximum width (1920, 1600, 1280, 1024, 800 or 640 px) or enter a custom width and height. With the aspect ratio locked, images fit inside your box without distortion and are never enlarged.

Yes. The optimizer works in modern mobile browsers, and the comparison slider and preview support touch. Phones limit how much memory a page can use, so very large images (above roughly 16 megapixels) may need resizing to process.

PDF to Text and PDF to Word read the text layer of standard PDFs. Scanned pages have no text layer and would need OCR, and password-protected PDFs can’t be opened. Word to PDF converts .docx files with headings, bold and italic, lists and tables, but images are skipped. Text in Latin scripts becomes real, selectable PDF text, while other scripts such as Bangla are drawn by your browser so they always display correctly.

Get started

Ready when your images are.

Open the optimizer and see the real file size before you download anything. No sign-up, no upload.

The Compressly optimizer workspace: an image preview with a comparison divider, a settings panel and a result bar 4.8 MB 612 KB −87%