Private: nothing you enter is stored or sent
Image Resizer
Resize a photo to exact pixels, fit it to a preset ratio, or cap the file size in KB, all inside your browser.
How to resize an image
- Drop a photo into the box above, or click to pick one. JPG, PNG, WebP, GIF, AVIF and most other formats your browser can open will work.
- The width and height boxes fill in with the photo’s current size. Type a new width and the height changes to match, or type a height and the width follows.
- Optional: pick an aspect ratio such as 1:1 or 16:9 if you need a fixed shape.
- Optional: enter a target size in KB if a form or website has a file size limit.
- Choose the output format and, for JPG or WebP, the quality.
- The result updates about a quarter of a second after each change. Check the size shown under the preview, then click Download.
The file is saved with its new size in the name, for example photo-1200×900.jpg, so you can tell versions apart later.
What each option does
| Option | What it does | When to use it |
|---|---|---|
| Aspect ratio: Original | Keeps the photo’s own shape. Width and height stay linked. | Most of the time. Nothing gets cut or stretched. |
| Aspect ratio: Free (stretch) | Unlinks width and height so you can type any pair. | Only when a form demands exact pixels and the photo is already close to that shape. |
| 1:1, 4:3, 3:2, 16:9, 9:16, 4:5, 3:4 | Links width and height to that ratio and trims the photo from the centre to fill it. No stretching. | Profile pictures, banners, slides and vertical phone posts. |
| Width and height (px) | The final size in pixels. | Always. This is the main control. |
| Target size in KB | Searches for the highest quality that keeps the file at or under your number. Minimum 5 KB. | Exam forms, job portals and any upload with a KB limit. |
| Format | Same as original, JPG, PNG or WebP. Formats like GIF, BMP and AVIF are saved as PNG when you keep “Same as original”. | JPG for photos and forms, PNG for logos and screenshots, WebP for websites. |
| Quality | 10% to 100%, default 90%. Hidden when you choose PNG and when a KB target is set, because the tool picks quality itself then. | Lower it to shrink JPG and WebP files. |
How the target KB size works
When you type a target such as 50 KB, the resizer encodes your photo at very low quality first to check that it can fit at all. It then tries quality levels between low and full, seven times, halving the gap each time, and keeps the best one that stays at or under your limit. You get the sharpest file that fits, not a random one that happens to be small.
Three things are good to know:
- PNG becomes JPG. PNG has no quality setting, so its size can’t be steered. With a KB target set, PNG files are saved as JPG. Pick WebP in the Format menu if you want WebP instead.
- The pixel size may shrink. If even the lowest quality is too big, the tool cuts the width and height by 20% at a time until the file fits, and tells you “Dimensions reduced to reach the target size.” It’s better to type a smaller width yourself first, because a smaller image at good quality looks cleaner than a large one at rock-bottom quality.
- It caps, it doesn’t pad. The target is a maximum. If your photo is already smaller than the target, the file stays smaller. To raise a file that is under a portal’s minimum KB, increase the width and height, or use the image enlarger.
What we measured
We ran a 3840 × 2525 photo of the Taj Mahal (a 4.42 MB JPG) through the resizer’s own code in Chrome on 19 October 2026. The quality column is the level the tool picked internally to meet each target.
| Settings | Output | File size | Quality used |
|---|---|---|---|
| Width 1200, no target, quality 90% | 1200 × 789 | 206.1 KB | 90% |
| 1:1 ratio, width 1080, quality 90% | 1080 × 1080 | 252.7 KB | 90% |
| Width 1200, target 100 KB | 1200 × 789 | 98.7 KB | 68% |
| Width 1200, target 50 KB | 1200 × 789 | 49.7 KB | 28% |
| Width 600, target 50 KB | 600 × 395 | 48.7 KB | 86% |
| Width 600, target 19 KB | 600 × 395 | 18.7 KB | 38% |
| Full size, target 19 KB | Shrunk to 1258 × 827 | 17.4 KB | 7% |
The lesson is in rows four and five. Both files are about 50 KB, but the 600-pixel version kept 86% quality while the 1200-pixel one fell to 28%, low enough for JPG blocks to start showing in smooth areas such as the sky. Pick the smallest width the form or page needs, then set the KB target.
The tool counts 1 KB as 1,024 bytes. Some portals count 1 KB as 1,000 bytes, so set your target 1 KB below the limit (19 for a 20 KB cap) to be safe either way.
Worked examples
Shrinking a phone photo for email or a website
A 12-megapixel phone photo is 4000 × 3000 pixels. Leave the ratio on Original and type 1200 as the width. The height fills in as 900, because 1200 ÷ 4000 × 3000 = 900. The new photo has 1,080,000 pixels, about 9% of the original 12,000,000, which is why the file comes out far smaller while still looking sharp on a laptop screen.
Making a square profile picture
Same 4000 × 3000 photo, ratio set to 1:1, width 1080. The height becomes 1080. To fill a square from a wider photo, the tool takes the centre 3000 × 3000 area and trims 500 pixels from the left and right edges, then scales that square down to 1080 × 1080. If the face is off to one side, crop it first with the crop tool so you control what stays.
A vertical 4:5 post
With 4:5 and a width of 1080, the height becomes 1350. From a 4000 × 3000 landscape photo, the tool keeps the centre 2400 × 3000 area and trims 800 pixels from each side.
Resizing a signature or photo for Indian exam forms
Exam portals reject uploads that break their size rules, and the rules change between exams and years. As of October 2026, here is what two recent official notices say:
| Notice | Photo | Signature |
|---|---|---|
| SSC CHSL 2026 notice (opens in new tab) (published 7 September 2026) | No upload. The application captures a live photo with your camera. | JPEG/JPG, 10 to 20 KB, about 6.0 cm wide × 2.0 cm high |
| UPSC CAPF (AC) 2026 notice (opens in new tab) (dated 20 February 2026) | JPG, 20 KB to 200 KB | JPG, 20 KB to 100 KB |
Other UPSC notices from 2026, such as CDS-II, point to the instructions on upsconline.nic.in instead of listing sizes. Always read the notice for your exact exam before you upload.
Turning centimetres into pixels
Forms often give sizes in cm, but the resizer works in pixels. Use pixels = cm ÷ 2.54 × DPI. DPI (dots per inch) is how many pixels fit in one printed inch, and 200 or 300 is typical for scans.
| Size in cm | At 100 DPI | At 200 DPI | At 300 DPI |
|---|---|---|---|
| 6.0 × 2.0 (SSC signature) | 236 × 79 px | 472 × 157 px | 709 × 236 px |
| 3.5 × 4.5 (common photo size) | 138 × 177 px | 276 × 354 px | 413 × 531 px |
Steps for an SSC signature under 20 KB
- Sign in black ink on plain white paper and take a photo of it in daylight.
- Open the crop tool, keep the ratio on Free, and drag the box tight around the signature. Aim for a box about three times wider than tall, since 6.0 × 2.0 cm is 3:1.
- Load the cropped file here, keep the ratio on Original, and type a width of 709. The height lands near 236.
- Set Format to JPG and the target size to 19 KB.
- Check the size under the preview. It should read between 10 and 20 KB. If it is under 10 KB, raise the width and try again.
Resize, crop or compress: which one you need
| Your goal | Best tool |
|---|---|
| Change the width and height of one photo | This image resizer |
| Hit exact pixels and a KB limit on one photo | This image resizer, with a target KB |
| Resize 10, 50 or 200 photos the same way | Bulk image resizer (it also resizes by percentage and can cap each file in KB) |
| Get many photos under a KB limit at once | Image compressor, with its target KB box |
| Choose exactly which part of the photo to keep | Crop image |
| Make a small image bigger | Image enlarger |
Limitations
- One photo at a time. For batches, use the bulk resizer.
- Pixels only. There are no cm, mm or inch boxes. Convert with the formula above.
- No DPI setting. The saved file does not carry a DPI value, so a print shop may assume its own default. Portals that check pixels and KB are not affected.
- Centre trimming only. Preset ratios cut evenly from both sides. Crop first if the subject is off-centre.
- Transparency in JPG. JPG can’t store transparency, so transparent areas turn white when you save a PNG logo as JPG.
- Animated GIFs come out as a single still frame.
- Metadata is dropped. The download is a fresh copy of the pixels, so camera details such as EXIF location are not carried over. That’s good for privacy, since phone photos often store where they were taken.
- Very large outputs can hit your browser’s canvas limit. The tool shows “That size is too large for your browser” when that happens.
Key facts
- For SSC CHSL 2026, the scanned signature must be JPEG/JPG, 10 to 20 KB, about 6.0 cm × 2.0 cm, and the photograph is captured live by the application. (SSC (opens in new tab))
- SSC says applications with blurred or miniature signatures that don’t meet its requirements will be rejected, except for candidates who used Aadhaar-based authentication. (SSC (opens in new tab))
- For UPSC CAPF (AC) 2026, the photo must be a .jpg of 20 KB to 200 KB and the signature a .jpg of 20 KB to 100 KB. (UPSC (opens in new tab))
- Most browsers allow canvas images above 10,000 × 10,000 pixels, but iOS devices limit them to 4,096 × 4,096. (MDN (opens in new tab))
FAQ
Image Resizer FAQs
How do I resize an image without losing quality?
Resize down, not up, and keep the ratio on Original so nothing is stretched. Making a photo smaller removes pixels you don’t need and usually looks just as sharp. Keep quality at 85% to 90% for JPG, or use PNG for logos and screenshots. Enlarging a small photo can’t add real detail, so start from the largest original you have.
How do I resize a photo to 20 KB?
Type 19 in the target size box and pick JPG. The tool finds the best quality that fits under that size. For a cleaner result, also lower the width first, for example to 400 to 700 pixels for a signature, because a small image at good quality looks better than a large one squeezed to 20 KB.
Can I resize an image in cm or inches?
Not directly, because the tool works in pixels, but the conversion is simple. Pixels = cm ÷ 2.54 × DPI, or inches × DPI. At 300 DPI, 6.0 × 2.0 cm is 709 × 236 pixels and 3.5 × 4.5 cm is 413 × 531 pixels. Type those numbers into the width and height boxes.
Why did my image get cropped when I picked a ratio?
Preset ratios fill the new shape from the centre of your photo instead of stretching it. A 4000 × 3000 photo set to 1:1 keeps its middle 3000 × 3000 area and trims 500 pixels from each side. Choose Original to keep the whole picture, or crop first with the crop tool to pick the area yourself.
Is my photo uploaded to a server?
No, your photo never leaves your device. The resizing runs inside your browser using its built-in image engine, and the download is created on your phone or computer. That makes it safe for ID photos, signatures and documents, and it keeps working on slow connections once the page has loaded.
Why is my resized file still bigger than the target KB?
It shouldn’t be: with a target set, the tool keeps the file at or under your number, reducing the pixel size if it must. If a portal still says it is too big, it may count 1 KB as 1,000 bytes. Set the target 1 KB lower, such as 19 instead of 20, and download again.
How do I increase the KB size of a photo?
Make the image larger in pixels or raise the quality. A file that is under a portal’s minimum, such as 10 KB or 20 KB, usually has too few pixels. Type a bigger width here, remove the KB target and set quality to 95%, or use the image enlarger at 1.5× or 2× before uploading.
What is the best format for exam and job forms?
JPG is the safest choice, because SSC and UPSC notices ask for JPG or JPEG files. It handles photos and scanned signatures well and lets you control the file size. Use PNG only when a form asks for it, and avoid WebP unless the portal lists it as accepted.