---
title: "Compress image: free, no upload | Docsi"
description: "Compress image files to a size you set, such as under 100 KB. Quality drops step by step before pixels shrink, and you see the size before and after."
url: https://docsi.si/tools/compress-image/
updated: 2026-11-19
---

[Docsi](https://docsi.si/) / [Tools](https://docsi.si/tools/) / [Images](https://docsi.si/tools/#images)

# Compress image

Shrink an image file, optionally to a target size.

Images

Up to 2 GB a file, 2000 files at a time.

**Runs on**: Your device

**Files uploaded**: None

**Price**: Free

**Account**: Not needed

**Works offline**: Yes

**Updated**: 19 November 2026

Most forms and inboxes cap file size, not quality, so this tool lets you give a target. It saves the image as JPEG at quality 75 by default. If you set Target bytes, it lowers quality in steps of 10 down to a floor of 35, then shrinks the picture to 80 percent at a time until the file fits. PNGs with no target stay PNG and are re-packed without loss. You see the size before and after, the quality used and whether the target was met. If the same format comes out no smaller, you get your original back.

## How to compress an image

1. **Add your files above** Drop it on the box or choose it from your device. It is opened locally and is not uploaded.
2. **Set the options** Adjust auto orient, keep dimensions, lossless and more, or keep the defaults.
3. **Download the result** It appears on this page when the work is done. Nothing to install, no account, no watermark.

## When to use compress image

**Uploading to a form with a KB limit**: Government, school and job sites often accept only images under 100 KB or 2 MB, and the error rarely says by how much you are over. Type the limit in bytes and the tool works toward it for you.

**Sending photos by email**: Phone photos of several megabytes each fill an attachment limit quickly. Compress a batch at the default quality and they shrink to a fraction of the size while looking the same on a screen.

**Speeding up a web page**: Large hero images and product shots slow pages down, especially on phones. Compress them before upload, and run Resize image first if they are far wider than the space they are shown in.

## Tips for a better result

**Protect quality with Min quality**: The tool will not drop below Min quality, 35 by default. Raise it to 60 if faces or text start to look blocky, and accept that the target may then be met by shrinking the picture instead.

**Turn on Keep dimensions for exact sizes**: If the pixel size must stay fixed, Keep dimensions stops the tool from shrinking the picture. The result can then miss the target, and the report says so, so you can try a lower Min quality.

**Keep transparent PNGs as PNG**: With a size target and no format chosen, the result is a JPEG, which loses transparency. Choose png in To, or turn on Lossless, to keep it. A PNG reaches a target only by getting smaller in pixels.

**Resize before you compress**: A 4000-pixel photo shown at 1200 pixels wastes most of its bytes. Run Resize image with Max side 1600 first and compression has far less work to do, so quality can stay higher.

## Options

**Auto orientdefault true**: Turn the picture upright when the camera recorded it sideways. On by default: the note saying which way up a photo goes cannot be written into the new file.

**Keep dimensionsdefault false**: Never make the picture smaller in pixels. Without this, a stubborn size target is met by shrinking the picture once quality has bottomed out.

**Losslessdefault false**: Keep pixels identical (PNG optimization only).

**Min qualitydefault 35**: The lowest quality the tool may drop to while chasing a size target (default 35). Raise it to protect how the picture looks, even if that means the target is missed.

**Qualitydefault 75**: JPEG quality 1–100 (default 75). Ignored for lossless formats unless `target_bytes` forces JPEG.

**Target bytes**: Best-effort size ceiling. Lowers quality, then downsamples, until met.

**To**: Save as this format instead of letting the tool choose. WebP usually reaches a size target at a much higher quality than JPEG, and unlike JPEG it can keep see-through areas.

- png
- jpeg
- webp
- gif
- bmp
- tiff

## What it costs and what it takes

Nothing. No account, no watermark, no trial and no daily limit.

- **Files up to 2 GB** As big as a browser tab can open. On a phone, past about 200 MB it may run out of memory; a computer copes better.
- **Up to 2,000 files at a time** They are worked through one after another, on your device.
- **Up to 20,000 pages a document** Long documents take longer, and nothing is uploaded while they do.

## Why it runs on your device

Photos carry faces, locations and private moments, and most online converters ask you to upload them. Docsi's image engine is compiled to WebAssembly and runs inside your browser tab, so the picture stays on your device, there is no upload wait, and the tool keeps working offline.

In the app you can also type what you want: “shrink image”, “smaller image”, “reduce image size”, “optimize image”, “under”.

## Questions

### How do I compress an image to 100KB?

Type 100000 into Target bytes and run it. The tool lowers JPEG quality until the file fits, then reduces the pixel size if quality alone is not enough. The result shows the final size and whether 100 KB was reached. For 50 KB or 200 KB, change the number.

### Why is my compressed image not smaller?

Some files are already as small as their format allows. If the tool cannot beat the original in the same format, it returns the original rather than a bigger copy. Try a lower Quality, a size target, or Resize image to reduce the pixel count.

### Why did my PNG turn into a JPG?

When you give a size target without choosing a format, the tool saves JPEG, which can reach much smaller sizes for photos. Pick png in To if the format must stay the same, or turn on Lossless.

### Does compressing an image reduce its resolution?

Only when a size target cannot be met by lowering quality. Then the picture is scaled down to 80 percent at a time. Turn on Keep dimensions to stop that and keep every pixel.

### Are my files uploaded?

No. Compress image runs inside your browser using WebAssembly, so the file never leaves your device. You can turn off your internet connection after the page loads and it still works.

### Is it free?

Yes, with no watermark, no account and no limit on how often you use it.

### Can I process several files at once?

Yes. Select several files and the tool runs on each of them.

### Does it work on a phone or tablet?

Yes, in any modern browser. Very large files are limited by the memory of the device, so a laptop handles them better than a phone.

## Related tools

[Convert image Convert between PNG, JPG, WebP, GIF, BMP and TIFF.](https://docsi.si/tools/image-converter/)[Resize image By pixels, percent or longest side.](https://docsi.si/tools/resize-image/)[Exam photo resizer Exact size and KB for a form.](https://docsi.si/tools/exam-photo-resizer/)[Passport photo sheet Many photos on one print.](https://docsi.si/tools/passport-photo-sheet/)[Crop image Crop to a rectangle, to a shape such as 1.](https://docsi.si/tools/crop-image/)[Rotate image Rotate an image by a quarter turn, or by any angle to straighten a crooked scan or photo.](https://docsi.si/tools/rotate-image/)[Flip image Mirror an image horizontally or vertically.](https://docsi.si/tools/flip-image/)[Image to PDF JPGs and PNGs into one PDF.](https://docsi.si/tools/images-to-pdf/)

## Compress image, and 153 more tools.

[See all tools](https://docsi.si/tools/)[Open the app](https://docsi.si/app/)
