Image Compressor

Compress JPG, PNG and WebP right in your browser — nothing is uploaded.

On your device
01 / IMAGES JPG, PNG or WebP
02 / SETTINGS Changes apply to all images
Compress by
80

Lower quality makes smaller files. 75–85 suits most photos.

Maximum size (optional)
px
Output format

Off by default, so location and camera details are removed. Metadata can only be kept for JPEG to JPEG.

Compressed on your device. Never uploaded. Free. No signup. Privacy details

Before and after

BeforeAfter

A heavy photo.
A lighter file.

To compress an image, drop it into the box above, then choose a quality level or a target size in KB and download the result. DSOOU’s image compressor runs entirely in your browser, so your photos are never uploaded. You can compress several images at once, convert them to WebP and save everything as one ZIP file.

How to compress an image

Drop images on the box, select “choose files”, or paste an image from your clipboard. This page accepts JPG, PNG and WebP, and AVIF files in browsers that can open them. Up to 50 images, 50 MB each. A larger file stays in the list with “Over 50 MB. Choose a smaller image.” and is not compressed. An image over 24 megapixels stops with “Over 24 megapixels. Resize it before compressing.”

Pick a mode. Quality is a slider from 10 to 100 and starts at 80. The note under it says “Lower quality makes smaller files. 75–85 suits most photos.” Quality mode does not change the pixel size unless you fill in Maximum size. Target size offers 20 KB, 50 KB, 100 KB, 200 KB, or a custom number from 1 to 102400 KB. 1 KB is 1024 bytes. A missing or out-of-range custom value shows “Enter a target size from 1 to 102400 KB”.

Maximum size is optional. Enter a width, a height, or both, from 1 to 20000 px. The picture is scaled down to fit inside that box and is never enlarged. Target size searches after that fit.

Output format is Keep, JPEG, WebP, AVIF or PNG. Keep leaves the format alone. WebP is usually smaller for a page you control. AVIF is shown only when this browser can run the local encoder, and that file is loaded the first time you select AVIF.

Download each result on its own. The name ends in -min plus the new extension, such as photo-min.jpg. “Download all (ZIP)” saves the finished images as compressed-images.zip. Compare opens a before-and-after slider and stays hidden when the original file was kept. The same settings apply to every image, and changing a setting runs the list again. Read the size beside each image before you upload it.

Quality or target size?

Use Quality when you care how the picture looks and want a lighter file — a website, a blog post, a chat message or a shared folder. 75–85 matches the note under the slider. Move it, then read the new size beside the image and open the download before you publish it.

Use Target size when a form, inbox or portal states a maximum. The note under the chips says the page keeps the highest quality that fits and reduces dimensions only if it has to. The search does that in two steps. It tries quality 92 at the current pixel size, then lower qualities down to 10, and keeps the highest that stays at or under the target. If quality 10 is still too large, it shrinks the width and height at quality 70, down toward a 16-pixel shorter side. If the file is still over the target, the note says “Smallest possible, still over the target.” The page does not promise a fit.

PNG is lossless, so the quality slider does not apply. The note then says “PNG is lossless, so quality does not apply. Choose JPEG or WebP, or set a maximum size.” In Target size, a PNG that stays PNG can only get smaller by losing width and height. If it still misses, the note says “Still over the target. Try JPEG or WebP output.”

If the format and the pixel size are unchanged and a new encode would not be smaller, the page keeps that file instead of writing a new one. With Keep EXIF off, metadata is still removed when the format allows it. Target size then says “Already under the target. Original kept.” Quality says “Already optimized. Original kept.” Saving as JPEG paints transparent pixels white, and the note says “Transparent areas, if any, are now white.”

If a large photo only fits by becoming soft, set a maximum width and height, or crop to the part that matters, before you compress. A smaller starting image almost always looks better than a large one squeezed at quality 10. To set exact dimensions instead, use the Image Resizer.

For common limits, these pages open the tool with the target already set: Compress image to 100KB, Compress image to 50KB and Compress image to 20KB.

JPG, PNG or WebP?

JPG is the safest choice for photos you need to upload to a form or send to someone else. Almost every website, portal and email client accepts it, and it compresses photos well.

PNG is lossless, which suits screenshots, diagrams, logos and images with transparent areas. It keeps sharp edges and text clean, but a PNG photo is often much larger than the same photo as a JPG. Because PNG is lossless, the quality setting does not apply to it: in Target size mode, a PNG that stays PNG can only get smaller by losing width and height, so choose JPEG or WebP output for photos that must fit a limit.

WebP usually produces a noticeably smaller file than JPG at similar visual quality, and it supports transparency. All modern browsers display it, which makes it a good format for your own website. Some upload forms and older programs still accept only JPG or PNG, so check the requirements before converting a file you need to submit.

Converting to WebP with this tool is optional: leave the output format on the original if a form expects JPG or PNG.

AVIF often makes an even smaller file than WebP at similar visual quality, and current versions of the major browsers display it. The format note says “AVIF makes small files but is slower to create, especially with Target size.” Fewer upload forms accept it, so keep it for a site you control. If this browser cannot encode AVIF, the option is hidden and the note says “AVIF is not available in this browser.”

When to compress an image

Uploading to a form. Application portals, job sites and registration pages often reject files above a fixed size. Use Target size with the limit they state, and keep the format they ask for.

Publishing on a website. Large images are a common reason pages load slowly on phones. Compress photos before you upload them to a blog, shop or portfolio, and check the result at the size it will be shown. WebP is a practical output format here.

Sending and storing. Smaller files attach to email more easily, send faster in chat apps on slow connections, and take less space in shared drives and backups. A quality setting of 75–85 is usually enough for photos people will only view on screen.

Whichever case you have, keep your original files. Compression discards detail permanently, so it is best to compress a copy and go back to the original when you need a different size.

How the compressor works

Images are decoded and re-encoded in this browser, on your device. Nothing is sent to DSOOU. There is no account and no copy for this site to delete. Reloading or leaving the page clears the results, so download what you need first. That is why the page suits personal photos and scanned documents you would rather not hand to another service.

Keep EXIF metadata is off. Location and camera details are removed. The checkbox can keep them only when a JPEG is saved as JPEG: this page copies that EXIF block and resets an existing orientation tag to upright, because the pixels on the canvas are already rotated. A format change, and every PNG, WebP or AVIF output, drops the block. The note then says “Metadata removed: it can only be kept for JPEG to JPEG.”

Lossy compression drops detail the eye notices least: fine texture, small color steps and noise. A photo can lose most of its bytes around quality 75–85, and quality 10 can show blocky edges and color banding. Speed depends on your device and on the pixel count. A long list of large photos is slower, and AVIF is slower still.

Read the privacy policy for tool input and website access logs.

Common questions

Are my images uploaded to a server?

No. Compression runs in your browser on your own device, and your images are not sent to DSOOU. The results exist only on your device until you download them; reloading the page clears them.

How do I compress an image to a specific size in KB?

Switch to Target size and choose 20 KB, 50 KB, 100 KB or 200 KB, or enter a custom size from 1 to 102400 KB. The page tries quality from 92 down to 10 and keeps the highest that fits. If quality 10 is still over the target, it shrinks the dimensions at quality 70. If the note says the result is still over the target, set a maximum width and height or choose JPEG or WebP.

Will compression reduce image quality?

Lossy compression removes some detail. At 75–85 the change is often hard to see at normal viewing size. Lower settings, and a target that forces quality 10 or a shrink at quality 70, remove more. Quality mode does not change dimensions unless Maximum size is set. Check each result, and keep your original file.

Can I compress several images at once?

Yes. Add up to 50 images. The same mode, quality or target, maximum size, format and metadata choice apply to all of them. Download each file, or use “Download all (ZIP)” for compressed-images.zip. A file over 50 MB is listed and skipped.

Should I convert my images to WebP?

WebP is usually smaller than JPG at similar quality and works in all modern browsers, so it suits your own website. Many upload forms still accept only JPG or PNG, so keep the original format for files you need to submit.

Is the image compressor free?

Yes. It is free to use with no account or signup. Because the work happens on your device, there is no server processing to pay for.