"Image size" lives in two places at once — the pixel dimensions (how big it is on screen) and the file size in kilobytes (how big it is on disk). You can shrink either independently, and you often need to shrink both: a 20KB passport photo limit or a 100KB job-portal cap is impossible to hit with compression alone on a 12-megapixel phone photo. Treat them as two separate steps and the result stays sharp. Conflate them and the photo turns blurry while still being too big. Here's the method that works.
Two kinds of 'size' — pixels vs kilobytes
Pixel dimensions describe how much the image shows — a 4000 × 3000 photo contains 12 million pixels of information. Kilobytes describe how much space the image file takes up on disk once that information has been encoded. The two are linked but not identical:
- Resize a 4000 × 3000 photo to 1600 × 1200 and the file shrinks ~6× — same compression setting, far fewer pixels to store.
- Compress the same 4000 × 3000 photo at quality 50 instead of 85 and the file also shrinks — but the per-pixel detail suffers, so the image looks softer at full size.
- The clean approach combines both: resize to the smallest sensible dimensions, then compress at a *high* quality setting on the smaller image.
Pick a target first
Before touching any tool, decide what the destination actually requires. The common ones:
| Destination | Dimension target | KB target |
|---|---|---|
| Blog post or landing page | 1200–1600 px long edge | under 200 KB |
| WhatsApp / messaging app | 1600 px long edge | under 1 MB (it re-compresses anyway) |
| Email attachment | 1200 px long edge | under 1 MB per image |
| Social feed (Instagram, X) | 1080 px square or long edge | platform re-encodes |
| Indian passport / visa photo | 600–800 px long edge | 20–50 KB JPG |
| Exam portal (UPSC, SSC, IBPS) | ~600 px long edge | photo 20–50 KB, signature 10–20 KB |
| Job portal CV photo | 600–800 px long edge | under 100 KB |
If the destination publishes an exact limit, treat the smaller of the two numbers as a hard cap and the other as a soft one. Portals that cap at 50 KB usually accept anything smaller; most do not accept anything larger, no matter how clean it looks.
Step 1: Reduce the pixel dimensions
This is the step most people skip, which is why they fight the compressor and end up with a soft photo. Open the image in Resize Image, lock the aspect ratio, and enter the dimension target. The file is usually already *much* smaller before you touch the KB step. For a one-click workflow that resizes and compresses in a single pass, use Reduce Image Size.
Step 2: Compress to the KB target
Now shrink the file to the exact byte number. There are two sensible routes:
A quality slider (general use)
For a web article, email attachment, or messaging send-off, a quality slider at 75–85 is enough. Run the resized photo through Compress Image and accept the default — the output usually weighs well under 200 KB with no visible change.
A target-size compressor (exact KB limits)
When a portal demands a specific number, don't guess. A target-size compressor binary-searches the quality setting until the file fits precisely — the output is the highest-quality JPG that stays under the cap. The common targets have dedicated pages: Compress Image to 20KB, Compress Image to 50KB, Compress Image to 100KB. For an arbitrary target, use Compress Image to Custom Size and type any value between 5 KB and 10 MB.
Batch and mobile workflows
Processing a few dozen product photos or a wedding album one by one is painful. Bulk Image Compress applies the same resize + compress recipe to a folder of files in a single pass — all in the browser, nothing uploaded. The tool runs identically on an Android or iPhone, so the entire workflow fits in a mobile browser if you don't have a laptop handy. For built-in phone options (iOS Mail's size picker, Android share-sheet quality menus, Google Photos export sizes), see our guide to compressing on mobile.
A quick worked example
Say you have a 4.8 MB phone photo (4000 × 3000 px) and the exam portal wants 50 KB. Resize to 800 × 600 px first — the file drops to roughly 400 KB with no quality setting change. Now run that smaller file through Compress Image to 50KB. The target-size compressor lands you at ~48 KB at quality 82 — crisp enough that the ID photo passes a human reviewer. Compare that to running the raw 4.8 MB file directly through the same compressor: it hits 50 KB at quality 18, which looks visibly blocky. Same tool, same target, dramatically different output — the only variable is whether you resized first.
Common mistakes
- Compressing before resizing. Burns quality on pixels you're about to throw away. Always resize first.
- Renaming .png to .jpg. Changes the extension but not the actual format — portals reject the file with a format error.
- Compressing a photo twice. JPEG is lossy; each re-save damages the image further. Start from the best original you have.
- Using a slider when a portal demands exact KB. Guesswork; use a target-size tool.
- Shrinking to a size you'll later regret. Keep the original at full resolution — the compressed copy is a new file, not a replacement.
Frequently asked questions
- How do I reduce the size of an image without losing quality?
- Resize first, then compress. Downscale to the smallest pixel dimensions that still look right at the destination, then re-save as JPG at quality 75–85. The combination usually cuts file size 10× or more with no visible change.
- What's the difference between resizing and compressing?
- Resizing changes the pixel dimensions — the image gets physically smaller on screen. Compressing changes how those pixels are encoded on disk — the file gets smaller but the image stays the same size. Both reduce file size; they just do it differently.
- How can I reduce a photo to under 100 KB?
- Resize the long edge to about 800 pixels, then run it through a target-size compressor — Compress Image to 100KB binary-searches the quality setting so the file lands just under the limit while staying as sharp as possible.
- Does cropping reduce file size?
- Yes — fewer pixels means a smaller file. Cropping is a form of resize, and tight head-and-shoulders crops are specifically what portal photo guidelines expect. Crop before compressing.
- Which is the best free image compressor?
- The right compressor depends on what you need. For general use, a browser-based quality-slider tool like Compress Image is the fastest option. For an exact KB target, a target-size compressor is the only reliable choice. All of our tools run in the browser — nothing is uploaded, and the original file never leaves your device.