Compress, resize and convert images to an exact size

Free tools for one common problem: getting a photo past an upload form. Hit an exact file size in KB, exact pixel dimensions, a passport or signature spec, or the one format the box will accept. It all happens in your browser, with nothing uploaded.

Compress a photo

All the tools

Free, unlimited and running on your own device. Pick the job the form is rejecting you on. Every tool opens with the picker already waiting.

What is PhotoToKB?

PhotoToKB is a free set of browser-based image tools for one job: making a photo match what an upload form demands. Compress a picture to an exact file size in KB, resize it to exact pixel dimensions, crop or rotate it, apply a published passport or signature spec, or convert it to the one format the box will accept.

If you have ever uploaded a photo to a government portal, a bank's job site or a college form, you know how strict the limits are. A file even a few kilobytes too big gets rejected. The form usually won't tell you by how much, so you compress, guess, upload, and get rejected again. That is the problem this site solves: you type the number your form asks for, and the tool finds the best quality that still fits under it.

Everything runs inside your own browser. No photo is uploaded, there is no account or sign-up, no daily limit and no watermark on the result. Load the page once and every tool keeps working with the internet switched off.

Compress an image to an exact KB size

The number a form prints is the number you type. Here is where each of the usual limits turns up, so you know which one you are being asked for.

Compress to 20 KB

The smallest limit you will usually see. It is normally for a scanned signature, not a face. Line art on white paper stays clear even when squeezed this hard, while a portrait would look soft.

Compress to 50 KB

The photo limit most Indian bank and exam portals ask for. SBI, IBPS and SSC applications nearly all want 20–50 KB for the photograph.

Compress to 100 KB

Plenty for a head-and-shoulders photo at passport size. It is also the safe choice when a form just says the file has to be small without giving a number.

Compress to 200 KB

What NTA exams like NEET allow. It is also enough for a scanned marksheet, ID card or certificate where small printed text still has to be readable.

Any other number, like 35 KB, 75 KB or 300 KB, goes in the custom box instead. The image compressor then re-encodes the picture at a range of quality settings and keeps the best result that still fits under your limit. That is why the download is under the limit the first time, not after four tries with a slider. You can hold up to thirty photos to the same limit in one pass and get them back as a single zip file.

Photo and signature sizes forms ask for

Application portals rarely ask for “an image”. They ask for exact pixels, a KB cap and a format, all at once. These are the specs that come up most often.

Bank & exam photo

200 × 230 px · 20–50 KB · JPG. The dimensions most bank and exam portals ask for, including SBI, IBPS, RRB and SSC. They nearly always put a 20–50 KB cap next to them.

Bank & exam signature

140 × 60 px · 10–20 KB · JPG. Sign on plain white paper, photograph or scan it, then crop to that wide box. The same portals that want the photo above want this as a second file.

NEET / NTA exam photo

3.5 × 4.5 cm · up to 200 KB. A plain white background, with your name and the date printed underneath in some years. You upload a separate signature file alongside it.

Indian passport & PAN photo

2 × 2 in · about 600 × 600 px. Square, with your head centred and facing the camera on a plain light background. The PAN application asks for a signature in the same submission.

US visa & passport photo

600 × 600 px · up to 240 KB · JPG. Square, and 600 × 600 is the smallest allowed, not the target. The State Department accepts anything up to 1200 × 1200 under the same size cap.

Nepal MRP passport photo

35 × 45 mm. The physical size the machine-readable passport form prints. Crop to 35:45 and the preset works out the pixels and the file size for you.

Treat those as examples. The number your own form states always wins. The passport and signature presets hold the verified spec for each named document, lock the crop box to the right shape, and produce a file at the exact pixel dimensions and under the KB cap in one step. India, Nepal, the United States and the United Kingdom are all covered.

Resize to exact pixels, crop, or change the format

File size is only half of what gets a photo rejected. The other half is its dimensions and its format.

Resize to exact pixels

Type a width and a height, like 600 × 600, 200 × 230 or 413 × 531, and choose whether to keep the aspect ratio or fill the box. What downloads is exactly those dimensions, not close to them.

Crop to the right shape

Drag a crop box to a square, a passport ratio or whatever the form expects. You can rotate or flip a sideways phone photo before you apply it.

Convert the format

HEIC from an iPhone, TIFF scans, WebP, AVIF, BMP and more go in. JPG, PNG or WebP come out, whichever one the upload box will actually accept.

Resizing and cropping share one editor at resize and crop, and format changes happen in the image converter. Formats are read using the browser's own decoders, so anything your browser can display can be converted. HEIC in particular works on Safari across iPhone, iPad and Mac. When a form wants exact pixels and a KB cap, the preset tool does both at once, so you do not have to switch back and forth between two tools.

Why PhotoToKB and not the first search result

Four differences, and none of them is a longer feature list.

Nothing is uploaded

Your browser decodes and re-encodes the picture itself. There is no server, no queue and no copy of your photo anywhere else. Load the page once, switch off Wi-Fi, and every tool still works.

You name the number, not a slider

Forms are written in figures, so you answer in figures. Give the limit and the tool finds the best quality that still fits under it. No more guessing at "60%" and hoping.

No account, no quota, no watermark

Nothing to sign up for, no email asked for, no daily limit and no logo stamped on the result. There is no server counting your files, so there is nothing to meter.

Built for the phone that took the photo

The picture a form rejects was almost always shot on a phone. The buttons are thumb-sized, the picker opens your camera roll, and the work happens on the device holding it.

The full detail is in how it works and the privacy note, both of which are short, because there is not much to disclose when no data leaves the page.

Questions and answers

The things people ask before they trust a free tool with a photo, and the ones they ask when a form has just rejected one.

How do I compress a photo to 20 KB, 50 KB or 100 KB?

Open the compressor, pick your photo, tap the preset for the limit you need (20, 50, 100 or 200 KB) or type any other number, then press Compress. The tool tries a range of quality settings and keeps the best one that still lands under your number. The download comes in under the cap on the first try.

What photo and signature size do exam and government forms ask for?

Most Indian bank and exam portals want a 200 × 230 px photo at 20–50 KB and a 140 × 60 px signature at 10–20 KB. NTA exams like NEET allow up to 200 KB for a 3.5 × 4.5 cm photo. US visa and passport photos are square, 600 × 600 px or larger, under 240 KB. The number printed on your own form always wins, and the preset tool holds the exact figures for each named document.

How do I make a passport-size photo with the right pixels and file size?

Choose the document in the passport and signature presets (India, Nepal, the US or the UK) and the crop box locks to the right shape. Position your face inside it and apply. The result comes out at the exact pixel dimensions, in the required format, and under that document’s KB limit in one step, with no arithmetic on your side.

How do I resize an image to exact pixels like 600 × 600?

Use the resize and crop tool, type 600 in the width and 600 in the height, and decide whether to keep the aspect ratio or crop to fill the square. The file you download measures exactly 600 × 600 pixels. If it also has to sit under a KB limit, run it through the compressor afterwards.

How do I convert an iPhone HEIC photo to JPG?

Open the converter, drop the .heic file in and choose JPG. HEIC is read wherever the browser can decode it, which means Safari on iPhone, iPad and Mac. On other browsers, convert the photo on an Apple device first, or change your iPhone camera setting to Most Compatible so it shoots JPG from the start.

Is PhotoToKB free, and do I need an account?

It is free with no account, no email address and no daily limit. There is no paid tier and nothing is watermarked. Because the work happens in your own browser rather than on a server, there is no per-file cost to pass on to you.

Does PhotoToKB upload my photos?

No. Every tool runs entirely inside the page using the browser’s own canvas and image decoders, so your picture never travels to a server. You can confirm it: load the site, disconnect from the internet, and compress or resize a photo anyway.

What is the difference between file size in KB and pixel size?

Pixels are how big the picture is. 600 × 600 is its width and height. KB is how much room the file takes on disk. A form can ask for both at once, and you adjust them differently. Dimensions come from resizing or cropping, file size from how hard the image is compressed. The preset tool is the one that handles both in a single pass.