NeedHowMuch

Image resizer: compress images to an exact size

Shrink any photo to an exact file size (100 KB, 50 KB, even 20 KB) or exact dimensions — right in your browser. Nothing is uploaded. Free, private, instant.

Your image never leaves your device — all processing happens locally.

Ad space — your AdSense / Ezoic unit goes here (728×90 leaderboard)
Drop an image here, or click to choose JPG, PNG or WebP · processed locally on your device
1
Add your image

Drag in a JPG, PNG or WebP. It stays on your device.

2
Set a target

Pick exact pixels or an exact file size like 100 KB.

3
Download

Get the compressed file instantly — no signup.

Ad space — in-content rectangle (300×250)

How to compress an image to a specific size

Photos straight from a phone or camera are often 3–8 MB, which is far too large for email attachments, website uploads, government forms, or job applications that cap files at 100 KB or 1 MB. This tool solves that in two ways: you can set exact pixel dimensions, or you can name a target file size and let the tool automatically find the highest image quality that still fits under your limit.

Compress to 100 KB (or any KB target)

Choose Target file size, type your number (for example 100) and leave the unit on KB. The tool repeatedly re-encodes the image at lower quality until the result lands just under your limit, so you keep as much detail as possible while meeting the requirement.

Resize to exact dimensions

Choose By dimensions and enter a width. With Keep aspect ratio on, the height adjusts automatically so the image isn't stretched. This is ideal for profile photos, thumbnails, and platforms that require an exact pixel size.

Which format should I use?

JPG gives the smallest files for photos and is the safe default. WebP is even smaller and supports transparency, but a few older programs don't read it. PNG is lossless and best for graphics with sharp edges or transparency, but produces larger files.

Frequently asked questions

Is this really private?

Yes. The tool uses your browser's built-in canvas to process the image on your own device. Nothing is uploaded to any server, so it works even with sensitive documents.

Does it work on phones?

Yes — it runs in any modern mobile or desktop browser with no app to install.

Will compressing reduce quality?

Some, when you target a very small size. The tool always keeps the best quality that fits your target, so you control the trade-off with the quality slider or your size limit.

Example: compress an image to 100 KB

Choose the image, select a 100 KB target, and run the compression. The tool adjusts quality and, when necessary, dimensions until the result is close to the requested size. Preview the result before downloading, especially when small text or fine detail must remain readable.

More free tools

NeedHowMuch also provides practical project tools such as the paint calculator, tile calculator, and landscaping plant calculator.

Ad space — footer unit