Compress an Image to a Size in KB
Choose a photo, type the size the form accepts, and download the smallest clear copy. Everything runs in your browser.
100% private: your files never leave your browser0 requests to other servers since this page opened.How to verify it yourself
In short
To make a photo smaller, choose it, type the size you need in KB and press Compress. The tool finds the highest JPEG quality that fits under your limit, shrinks the pixels only if it has to, and gives you the file. Nothing is uploaded.
Upload forms are strict about photo size. A government portal may refuse anything over 200 KB, a job site may cap a profile picture at 100 KB, and an email with ten phone photos can bounce because it is over 25 MB. A modern phone takes pictures of three to eight megabytes, so almost every photo needs to be made smaller before it is sent anywhere.
The usual advice is to lower the quality until the file is small enough, but guessing a percentage wastes time and often makes the photo look worse than it needs to. This tool works from the other direction. You say the size the form accepts, and it searches for the best quality that still fits, trying a few values and keeping the largest result that is under your limit. If even low quality is too big, it reduces the width and height in steps until the file fits, and never below a sensible minimum.
You can also cap the longest side, for example at 1600 pixels, which is plenty for a screen and makes files much lighter. Several photos can be compressed in one go: each gets its own result, and you can download them one by one or together in a ZIP file.
How to compress a photo to a size in KB
Step 1: Choose one or more photos
JPG, PNG and WebP photos are accepted, each up to 50 MB. iPhone HEIC photos have their own converter.
Step 2: Type the target size
Enter the limit from the form in KB, or tap one of the common sizes. Optionally set the longest side in pixels.
Step 3: Press Compress and check the result
Each photo shows its new size, its pixel dimensions and the quality that was used, so you can see what changed.
Step 4: Download the photos
Download each photo, or all of them in one ZIP file. The output is a standard JPEG that every website accepts.
Zero-Server
Your photos stay on your phone or computer
Decoding, resizing and re-encoding all happen in a Web Worker inside this browser tab. The photos are never sent to a server, so a picture of your ID, a family photo or a document scan is as private as it was in your gallery. The worker starts when you press Compress and is closed a minute after it finishes.
The new file also loses the hidden EXIF data that phones add, such as the exact GPS location where the photo was taken and the model of your phone. That is one more reason to compress a photo before sharing it.
When people compress photos
- A personal photo for a job portal, a university application or a visa form with a size limit.
- Attaching several phone photos to one email without hitting the attachment limit.
- Uploading pictures to a marketplace, a blog or a website that loads slowly with heavy images.
- Saving space on a phone or a shared drive before an archive is backed up.
- Sending photos of receipts or documents over a slow mobile connection.
Frequently asked questions
Will my photo look worse after compression?
A little detail is always lost with JPEG, but the tool keeps the highest quality that fits your limit. For most limits above 100 KB the difference is hard to see on a phone or a laptop screen.
What is the difference between KB and MB?
One megabyte is 1,000 kilobytes. The tool counts 1 KB as 1,000 bytes, the strictest way, so the file is also accepted by a website that counts 1 KB as 1,024 bytes.
Why did the width and height change?
When the best quality is still too big for your limit, the only way to fit is fewer pixels. The tool reduces the size step by step and stops as soon as the file fits.
Can I keep the PNG format?
The output is JPEG because it gives far smaller files for photos. If you need a transparent PNG, use the JPG to PNG tool instead; for a photo with no transparency, JPEG is the right choice.
Is there a limit on how many photos I can compress?
Up to 50 photos at a time, each up to 50 MB. Large batches take longer because every photo is processed on your own device.
Does compression remove the location from my photo?
Yes. The new JPEG is written from the pixels only, so EXIF data such as GPS position, date and camera model is not copied into it.
Which browsers can I use?
Recent Chrome, Edge, Firefox, Safari and Samsung Internet on Android, iPhone, Windows and Mac. The page needs JavaScript, because the photos are processed in your browser.