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

Drag one or more images onto the box, select “choose files”, or paste an image from your clipboard. The tool accepts JPG, PNG and WebP files, and AVIF files in browsers that can open them.

Pick a mode. Quality lets you set the compression level with a slider: higher values keep more detail, lower values make smaller files. Target size lets you choose a maximum file size — 20 KB, 50 KB, 100 KB, 200 KB, or a custom number — and the tool chooses the quality for you.

Choose an output format. Keep the original format, or convert to WebP for a smaller file on the web.

Download each result on its own, or select “Download all (ZIP)” to save the whole batch in one file. Check the new size shown next to each image before you upload it anywhere.

Quality or target size?

Use Quality when you care about how the picture looks and simply want a lighter file — for a website, a blog post, a chat message or a shared folder. A setting between about 70 and 85 usually removes most of the weight while the photo still looks the same at normal viewing size. Move the slider, then compare the new file size and how the downloaded image looks until you are happy.

Use Target size when something outside your control sets the rule: an upload form that rejects files over 100 KB, an email system with a limit, or a portal that asks for “under 50 KB”. You set the limit; the tool searches for the highest quality that keeps each file at or under it.

If a large photo cannot reach a very small target even at the lowest quality, the image simply has too many pixels for that size, so the tool reduces its width and height until it fits and shows the new dimensions. To decide what stays, crop it to the part that matters or set a maximum width and height before you compress. A smaller, cleaner image almost always looks better than a large one squeezed at the lowest quality.

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. It takes noticeably longer to create, especially in Target size mode, and fewer upload forms and programs accept it, so it is best kept for your own website. The AVIF option appears only in browsers that can run its encoder.

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 the most common reason pages load slowly, especially on phones. Compressing photos before you upload them to a blog, shop or portfolio makes pages faster without changing how they look. WebP is a good 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 around 75–80 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

Your images are decoded and re-encoded by your own browser, on your own device. Nothing is sent to DSOOU, so there is no upload wait, no copy on a server and nothing to delete afterwards. That makes the tool suitable for personal photos and scanned documents that you would rather not hand to an unknown service.

Lossy compression works by discarding detail that the eye notices least: fine texture, subtle color steps and noise. Each lower quality step removes a little more. That is why a photo can often lose most of its file size without an obvious change, and why very low settings eventually produce blocky edges and color banding.

Because the work happens on your device, speed depends on your computer or phone and on the size of each image. Large batches of high-resolution photos take longer, especially on older phones. When you leave or reload the page, the images and results are gone, so download what you need first.

Read our privacy policy for details about 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. The tool picks the highest quality that keeps each file at or under that size. If a large photo cannot get small enough even at the lowest quality, the tool reduces its dimensions; to choose what stays, crop it or set a maximum width and height first.

Will compression reduce image quality?

Lossy compression removes some detail, but at moderate settings the change is usually hard to see at normal viewing size. Lower settings and smaller targets remove more. Check each result before you use it, and keep your original file.

Can I compress several images at once?

Yes. Add multiple images in one go, apply the same mode and settings to all of them, and download each file separately or the whole batch as a single ZIP file.

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.