How to resize an image to a size in KB
- Add your photo or signature: drag it onto the box above or tap Choose files. Several files work too.
- Enter the size from the form: width × height in px, cm, mm or inches. For cm, mm and inches, set the DPI (300 if the form doesn't say).
- Pick the maximum KB, such as 20, 50 or 100, or type your own number.
- Choose Crop to fill, Fit with white background or Stretch, then download the JPG (or a ZIP for several files).
Pixels and KB are two different limits
Application forms usually set two rules at once: a size in pixels (or cm) and a maximum file size in KB. They are different things. Pixels are how many dots the image has, for example 200 × 230. KB is how much space the file takes, and for the same pixels it depends on JPG quality and on how detailed the photo is. Most resizers only do one of the two, so you end up resizing in one tool and compressing in another, and the second step can undo the first. This page does both in one pass. It first makes the image exactly the width and height you typed, then searches the JPG quality from high to low and keeps the best one under your KB limit. It never shrinks the pixels to hit the KB number, so the upload form won't reject the size. If a limit is impossible, for example a large photo under 5 KB, it tells you the smallest file it could reach instead of quietly changing your size.
Common sizes people resize to
| What you're uploading | Typical pixel size | Typical KB limit |
|---|---|---|
| Passport-style photo (35 × 45 mm at 300 DPI) | 413 × 531 px | 50–100 KB |
| 2 × 2 inch photo (US style, 300 DPI) | 600 × 600 px | Under 240 KB |
| Signature on an online form | 140 × 60 px or similar | 10–20 KB |
| Small photo on an exam or job form | around 200 × 230 px | 20–50 KB |
| Profile picture or ID card | 300–600 px square | 50–200 KB |
Always use the numbers printed on your own form; these are only typical values. The preset buttons above the tool fill in the first four rows.
Crop, fit or stretch?
- Crop to fill (default): the photo fills the whole size and the edges that don't fit are trimmed from the centre. Best for face photos.
- Fit with white background: the whole photo is kept and white bars fill the gaps. Best for signatures and documents.
- Stretch: the photo is squeezed to the size. Only use it when the shape is already close, or faces will look wide or thin.
Image resizers in KB compared
| This page | pi7 Image Resizer | Cloudinary / Zamzar KB pages | |
|---|---|---|---|
| Exact width × height | Yes (px, cm, mm, inch) | Yes | No — size only |
| Max KB in the same step | Yes | Yes | Yes |
| Photo uploaded to a server | No, stays in your browser | No (in-browser) | Yes |
| Batch with ZIP | Yes | Yes | One file at a time |
| Sign-up or watermark | None | None | None |
| Fit with white background | Yes | Yes | No |
Checked December 2026. Cloudinary and Zamzar have one page per KB number (20 KB, 50 KB…) and do not let you set the pixel size at the same time.
If your photo is too small
When the form asks for more pixels than your photo has, the resizer enlarges it, which can look soft. In that case an optional AI upscale appears under the result: it rebuilds detail before resizing. Resizing itself is always free; the upscale is a paid pack.
Frequently asked questions
How do I resize an image to 20 KB without changing its size in pixels?
Type the pixel size you need, choose 20 KB and download. The page lowers JPG quality to reach 20 KB but keeps the exact width and height you typed.
How do I resize a photo to 35 × 45 mm under 50 KB?
Tap the Passport 35×45 mm preset (413 × 531 px at 300 DPI), choose 50 KB and download. Use Crop to fill and drag the photo so the face is centred.
Can I resize a signature to 10 KB or 20 KB?
Yes. Use the Signature preset or type the size from your form, pick Fit with white background so nothing is cut, then choose 10 or 20 KB.
How do I convert cm to pixels?
Pixels = cm ÷ 2.54 × DPI. At 300 DPI, 3.5 cm is 413 px and 4.5 cm is 531 px. The tool does this for you when you pick cm or mm.
Why is my image still bigger than the KB I chose?
A very detailed photo at a large pixel size may not fit a tiny limit even at the lowest quality. The page shows the smallest size it reached; reduce the pixel size if your form allows it.
Is my photo uploaded anywhere?
No. Resizing and compression happen in your browser; the file never leaves your device, so it is safe for ID photos and signatures.
Does it work on a phone?
Yes. Open the page in Chrome or Safari, tap Choose files and pick the photo from your gallery. The JPG saves to Downloads or Files.
Can I resize several images at once?
Yes. Add several files; each gets the same pixel size and KB limit, and Download all saves them as one ZIP.
Updated · By the imagetojpg.app team