Skip to main content
Toolmigo

Image Compressor

Compress images to a specific file size. Target 20KB, 50KB, 100KB or any custom size. No uploads — runs entirely in your browser.

100% Private

Files never leave your browser

Instant

No waiting, no uploads

No Limits

Any file size, unlimited files

Drag & drop image

JPG, PNG, or WebP

KB

Preview

Why Compress Images?

Fit Form Upload Limits

KYC, passport, visa and exam portals often cap photos at 20–100KB. Hit the exact requirement on the first try.

Email Attachment Caps

Gmail caps at 25MB, Outlook around 20MB. Shrink photos to fit without splitting threads or using a Drive link.

WordPress & CMS Uploads

Most CMSs warn about images over 500KB or reject them outright. Hit a target instead of guessing quality settings.

About Image Compressor

Common Questions

Add your image and enter 100 in the target size field. The tool searches for the highest JPEG quality that fits within the target — typically landing within a few KB.

JPG, JPEG, PNG and WebP as input. Output is always JPG — JPEG hits very small target sizes far more reliably than PNG or WebP, which is usually the point of compressing in the first place.

JPEG is lossy, so the smaller the target, the more visible the artefacts. Photos at ~150KB usually still look fine; well below that, expect noticeable softness, blocking and colour banding.

JPEG quality settings are discrete, so there are 'jumps' between possible file sizes. The tool gets as close as it can — but for very small targets (e.g. 20KB on a high-resolution photo), the smallest achievable size may exceed your target.

Probably not. JPEG (the output format here) is built for photos — sharp edges, text and flat colors get visible artifacts at small targets. For screenshots, logos and UI graphics, keep them as PNG. Use this tool when the source is a photograph and you have a specific size target to hit.

No, this tool targets a file size in KB and always outputs JPG. If what you actually need is specific dimensions like 1080×1080, or a 50% scale-down, use Image Resizer instead; it lets you set exact width and height.