Skip to content
1001 Tools
sr
Image tools

Image Compressor

Drop your images below — or click to browse — and each one is re-compressed right on your device. Lower the quality, cap the dimensions, or switch format, and every file shows exactly how many kilobytes you saved. Nothing is uploaded, so there is no size limit beyond your own memory and no privacy trade-off.

80% is visually lossless for most photos. Ignored for PNG output. Changing it re-compresses all files.

Compressed files will appear here with a size comparison.

    How it works

    Two levers do the work. Quality controls how aggressively JPG and WebP discard detail your eye barely registers — 80% is a safe default that typically halves a photo with no visible change. The dimension cap is the bigger lever most people forget: a 4000-pixel phone photo shrunk to a 1920-pixel long edge is a quarter of the pixels before quality even applies, which is why resizing usually beats squeezing quality alone.

    Everything runs through the browser’s Canvas API: the image is decoded, optionally scaled down, and re-encoded in the format you pick. Choosing JPG flattens any transparency onto white (JPG has no alpha channel); WebP keeps transparency and compresses noticeably smaller than both JPG and PNG at the same quality. Leaving format on “keep” re-encodes each file in its own format.

    PNG is lossless, so the quality slider does nothing for it — the way to shrink a PNG is to resize it or convert it to WebP or JPG. Each row shows the before and after size with the percentage change, and screenshots or flat graphics occasionally grow rather than shrink; the numbers tell you instantly when to leave a file alone.

    Practical examples

    A phone photo too big to upload

    A 6 MB JPG straight off a phone, capped at 1920px and 80% quality, usually lands around 300–500 kB — small enough for any form, with no visible loss on screen.

    Meeting a hard 2 MB limit

    A portal rejects anything over 2 MB. Drop the file, lower quality or the dimension cap, and watch the after-size next to it until it fits — no guesswork, no re-exporting from an editor.

    Lighter photos for a web shop

    Product images exported at full resolution are slow to load. Cap them at 1280px and convert to WebP: they typically drop 70–90% while staying crisp on a listing page.

    Batch-shrinking a folder of screenshots

    Drop a dozen at once — each compresses independently with its own download and a running total at the top. If a screenshot grows as JPG, the percentage flags it so you keep the original.

    Frequently asked questions

    Are my images uploaded anywhere?

    No. The whole process runs in your browser via the Canvas API. You can go offline after the page loads and keep compressing — no image data ever leaves your device, which is the main reason to use a local tool for private photos and documents.

    Quality or resize — which reduces size more?

    Resizing, almost always. File size scales with pixel count, so halving each dimension cuts the data to roughly a quarter before quality even applies. Lowering quality then trims further. For most oversized photos, capping the longest edge is the single most effective move.

    Why does the quality slider do nothing to my PNG?

    PNG is a lossless format — it has no quality parameter to trade off. To shrink a PNG, either resize it down or convert it to WebP or JPG, both of which compress photographic content far more.

    What is the difference between JPG, WebP and PNG here?

    JPG is universal and small for photos but has no transparency. WebP is smaller still at the same quality and keeps transparency, though a few very old programs can’t open it. PNG is lossless and best for flat graphics and images that must stay transparent.

    What happens to transparent areas?

    If you output JPG, transparency is flattened onto a white background because JPG has no alpha channel. Choose WebP or PNG to preserve transparency — relevant for logos, icons and overlays.

    Why did a file get bigger instead of smaller?

    Screenshots, diagrams and text-heavy graphics compress extremely well as PNG, while JPG adds noise around sharp edges. If the after-size turns out larger, the percentage shows it in grey rather than green — keep the original for those.

    Does compressing repeatedly hurt quality?

    For JPG and WebP, yes — each lossy re-encode discards a little more. Compress once from the best source you have, rather than re-compressing an already-compressed file. PNG re-encoding is lossless and safe to repeat.

    Can I compress several images at once?

    Yes — select or drop as many as you like. Each compresses independently with its own download button, and changing any setting re-processes the whole batch automatically.

    Is there a maximum file size?

    No fixed limit. Because everything is local, the practical ceiling is your device’s memory — a desktop handles very large images a phone might not.

    Will the tool strip photo metadata (EXIF)?

    Yes. Re-encoding through the Canvas drops embedded metadata such as camera model, GPS location and timestamps — often a welcome privacy side effect when sharing photos publicly.

    Related tools