Compress Image Online
Compress an image right in your browser — to an exact size like 100 KB or 200 KB, or just as small as possible. Works with JPG, PNG, WebP, and iPhone HEIC photos, nothing is uploaded, and there is no signup.
Drag and drop an image here, paste from your clipboard, or
JPG, PNG, WebP, HEIC, AVIF, and most other image formats — up to 25 MB. Nothing is uploaded.
Pick the limit an upload form gives you, or choose "No target" and use the quality slider. 1 KB here is 1,000 bytes, so the result passes forms that count a kilobyte either way.
Lower quality means a smaller file; 75–85% is usually invisible on photos.
Shrinks the long edge — useful for social media, email, and web uploads.
Compress an image to an exact size (100 KB, 200 KB, 1 MB)
Upload forms, email clients, job portals, and visa applications often impose a hard file-size limit, and "under 200 KB" is by far the most common. Pick a target above and the compressor searches for the highest quality that still fits, reducing the pixel dimensions only when quality alone cannot get there. That is what makes a 100 KB target realistic even for a 12-megapixel phone photo — and why the tool always shows the exact final dimensions, file size, and percentage saved before you download. Working to a common form limit? There are pages tuned for compressing to 20 KB (signatures), 50 KB (ID photos), and 100 KB (document photos).
How browser-based image compression works
Your photo is decoded locally with the browser's own image decoder, drawn onto a canvas, and re-encoded at a lower quality or smaller size before you save it. Because the work happens on your device, compression is instant, keeps working offline once the page has loaded, and reports the true output size instead of an estimate. JPEG and WebP are lossy formats, so their quality setting is what buys the savings; PNG is lossless, which means the only way to shrink a PNG here is to reduce its dimensions or convert it to JPG or WebP.
"Compress without losing quality" — what is actually possible
Any meaningful size reduction in a photo throws away some data; the trick is discarding what your eye will not miss. A quality of around 75–85% is usually indistinguishable from the original at normal viewing sizes while cutting the file size dramatically. Screenshots, logos, and images with text are the exception — sharp edges suffer first, so keep those lossless (PNG) or use a high-quality WebP. If re-encoding cannot beat the original, this tool returns the original untouched rather than handing back a bigger file.
Nothing is uploaded: your photos stay on your device
Upload-based compressors send your full-resolution photos to a server, where they are processed, stored, and sometimes retained. This one never makes a network request: the file is read from your disk, compressed in memory, and written back by your browser. That matters for private photos, ID documents, and client work — and it also means there is no server-imposed file-size ceiling to run into. If you also need to change the file type, the image format converter handles JPG, PNG, WebP, and HEIC in one place.
Which format should you compress to?
JPG is still the safest choice for photos and the most widely accepted format on upload forms. WebP produces roughly 25–35% smaller files than JPG at the same visual quality and is supported by every modern browser, so it is ideal for your own website. PNG is the one to keep when you need transparency or pixel-perfect text, though compressing a PNG usually means converting it — for example with the PNG to JPG converter, which also lets you choose the colour that fills transparent areas.
Compressing iPhone HEIC photos
iPhones store photos as HEIC, a format that plenty of websites, Windows apps, and upload forms still reject. This compressor decodes HEIC in the browser and saves JPG or WebP, so you can compress and convert an iPhone photo in a single step — no app, no iTunes, no upload. If you only need the format change, the dedicated HEIC to JPG converter does exactly that, and the image cropper can handle resizing when the dimensions, not the file size, are the problem.
Frequently asked questions
How do I compress an image without uploading it?
Drop your image onto the box above and it is compressed on your own device — the file is read straight from disk, re-encoded in memory, and never sent anywhere. There is no upload step and no server, so the result appears in a second or two even for large photos, and private images stay private.
How do I compress an image to an exact size in KB?
Click a target above, such as 20 KB, 50 KB, or 200 KB, or type any number of kilobytes, and the compressor searches for the highest quality that still fits under that size. If quality alone cannot get there, it also reduces the pixel dimensions. A kilobyte here is 1,000 bytes, so the file passes upload forms that count either way. There are dedicated guides for 20 KB, 50 KB, and 100 KB limits.
Does compressing an image reduce quality?
JPG and WebP are lossy formats, so compressing always removes some data — but at a quality of roughly 75–85% the difference is usually invisible at normal viewing sizes, while the file can shrink by 70% or more. For screenshots, logos, and images with text, convert to WebP or keep PNG to protect sharp edges. If re-encoding cannot beat your original file, the tool hands the original back untouched rather than making it bigger.
Can I compress HEIC photos from my iPhone?
Yes. iPhone photos are decoded right in your browser, then saved as JPG or WebP — the formats every website, email client, and Windows app can open. That means you can compress and convert a HEIC photo in one step, with no app and no iTunes. If you only need the format change, our HEIC to JPG converter does exactly that.
Is there a file size or number limit?
Images up to 25 MB are accepted, which covers ordinary phone photos and most downloaded images. There is no server-side limit because nothing is uploaded — the only ceiling is your device memory. One image is processed at a time; click "Compress another" to run the next one.
Which makes smaller files, JPG or WebP?
WebP is typically 25–35% smaller than JPG at the same visual quality, and every modern browser supports it. JPG is still the safest choice for upload forms and older software, since some portals only accept .jpg. A good rule: use WebP for your own website, JPG when a form demands it, and PNG only when you need transparency or lossless quality.
Related reading
- How to Reduce Image Size in KB (and Hit an Upload Limit First Try)
Crop, resize, then compress, in that order. Plus why a 20 KB file can still be "too large", and how target-size compression really works.
- JPG to PDF: Page Sizes and Margins Explained
Page size, orientation, and margins change how a photo PDF prints. Here is how to choose without wasting paper.
- Compress Images Without Visible Quality Loss: PNG vs JPG vs WebP
Lossless vs lossy, the quality settings that actually matter, and why resizing beats format choice every time.