Resize Image for Photo and Signature Uploads in px or cm

Presets for SSC, UPSC, IBPS, Railway and state forms, any size in px, cm, mm or inches, with a KB cap

Drop an image here

JPG, PNG or WebP. Photo, signature or a scanned document

Choose fileor drag & drop here
JPGPNGWebP Processed in your browser, never uploaded

Resizing happens entirely in your browser; the image is never uploaded. Pick a preset for the exact pixel size a form asks for, then use the size limit if it also caps the file at 20, 50 or 100 KB. Physical sizes (cm, mm, inches) are converted at the dpi shown, 300 dpi being the print standard portals assume.

About this tool

A form that says photo 3.5 cm by 4.5 cm, 20 to 50 KB, JPEG is asking for three things at once. It wants a pixel size, a file size and a format. Get any one of them wrong and the upload check fails, often with a message that does not say which one. This tool sets all three on a single screen and shows the result as you change it.

Type a width and height in pixels, centimetres, millimetres or inches, or click a preset that matches the form. When the new shape differs from the original you decide whether to crop, pad or stretch. Pick JPG, PNG or WebP, add a KB limit if the form has one, and download a file named with its final pixel size, for example photo-413x531.jpg.

Resizing happens in your browser through the Canvas API. The photo never leaves your device.

How to resize a photo or signature for a form

  1. Click or drop the image. JPG, PNG and WebP open.
  2. Click a preset such as Passport 3.5 × 4.5 cm or 140 × 60 px, or type the width and height. Switch the unit tab to cm, mm or in for a physical size.
  3. For a physical unit, confirm the dpi chip. 300 dpi is preselected.
  4. Choose what happens when the shape differs: Fill and crop for photos, Fit with padding to keep the whole picture, Stretch only when the shapes already match.
  5. Pick the output format and, for JPG or WebP, a quality or a size limit of 20, 50, 100 or 200 KB, or a custom KB value.
  6. Check the preview and the cards under it, then download.

Presets and the forms they match

A 2 × 2 inch square (600 px) and HD, square and thumbnail sizes for web use are also listed. Presets are starting points; if the notification gives a different number, type it and the chip deselects. The Scale chips (25%, 50%, 75% and Original) make a smaller copy of the same shape.

Built-in sizes in pixels and where each is typically asked for
PresetPixelsWhere it is used
Passport 3.5 × 4.5 cm413 × 531SSC, Railway and forms that give the photo in cm (300 dpi)
200 × 230 px200 × 230Many state portals; IBPS guidelines give the same figure
350 × 350 px350 × 350UPSC, which accepts 350 to 1000 px square
160 × 200 px160 × 200Older SSC and Railway forms
Signature 140 × 60 px140 × 60SSC, IBPS and Railway signature box
Signature 4 × 2 cm472 × 236Forms that give the signature in cm (300 dpi)
Signature 250 × 100 px250 × 100Some state and university portals
Thumb 240 × 240 px240 × 240Left thumb impression box
A4 at 150 dpi1240 × 1754Scanned certificate page

How cm and mm turn into pixels

An image file has no physical size, only pixels. A centimetre becomes a pixel count only once a dpi is fixed. The tool converts with pixels = value in inches × dpi, where 1 inch = 2.54 cm = 25.4 mm, and rounds to the nearest pixel. At 300 dpi, 3.5 cm is 3.5 ÷ 2.54 × 300 = 413.4, rounded to 413 px, and 4.5 cm is 531.5, rounded to 531 px. At 150 dpi the same photo is 207 × 266 px, and at 72 dpi only 99 × 128 px, which is why a form that quotes cm without a dpi is best read at 300.

The New size card shows the print size in cm at the active dpi. The lock button keeps the original proportions while you type one side; turn it off to set both sides independently. Changing the dpi re-labels the cm reading and never resamples the pixels.

Worked example with a phone photo

Hypothetical: a 3024 × 4032 px phone portrait into the Passport preset (413 × 531 px). Fill and crop scales by the larger of 413 ÷ 3024 = 0.1366 and 531 ÷ 4032 = 0.1317. The source area read is 413 ÷ 0.1366 = 3024 px wide and 531 ÷ 0.1366 = 3888 px tall, so 72 px are trimmed from the top and 72 px from the bottom while the full width is kept. Fit with padding uses the smaller factor instead, and Stretch uses both at once.

Hypothetical 3024 × 4032 px photo into the 413 × 531 px passport preset
ModeScale factorWhat is keptVisible effect
Fill and crop0.13663024 × 3888 px, centred72 px trimmed top and bottom, no distortion
Fit with padding0.1317All 3024 × 4032 px398 × 531 px picture with about 7 px of background each side
Stretch0.1366 wide, 0.1317 tallAll of it, squeezedFace about 4% wider than life

Fill and crop, Fit with padding, and Stretch

Fill and crop scales the image until it covers the new box and trims the overflow equally from both sides, so a centred face stays centred. It is preselected and right for photographs. Fit with padding scales until the whole image sits inside the box and fills the strips with the background colour (white, light grey, black, pale blue, or any colour from the picker). Use it for a signature whose scan is wider than the 140 × 60 box so no stroke is cut off. The same colour fills transparent areas whenever JPG is the output.

Stretch forces the exact size and distorts whenever the shapes differ, and a warning says so. A second warning appears if the target is larger than the original, because enlarging cannot add detail. When a form gives a range, aim for its smaller end.

Output format and the KB limit

JPG is preselected for an ordinary photo and PNG for an image with transparency, since PNG keeps it and JPG cannot. WebP makes smaller files than JPG but a few older portals reject it. Quality runs from 5 to 100 and starts at 90; PNG is lossless and has no quality control.

The size limit is available for JPG and WebP. Because the dimensions are already fixed, only quality can move, so the tool runs a binary search between 5% and 95% and keeps the highest quality under the cap. If even 5% is over the cap, a warning asks you to reduce the dimensions a little or raise the limit.

A 140 × 60 px signature in JPG is nearly always under 20 KB at any quality. The limit matters on a 413 × 531 px photo under 50 KB.

Frequently asked questions

›What is the photo size for SSC CGL in pixels?

Recent SSC notifications describe the photo as passport size, about 3.5 cm by 4.5 cm, in JPEG between 20 and 50 KB, taken within the last three months. At 300 dpi that is 413 × 531 px, which is what the Passport preset gives. Pair it with the 50 KB limit. Confirm the KB window in the notification for your exam, since it can change between cycles.

›What size should a signature be for IBPS and SSC?

IBPS guidelines ask for a signature of 140 × 60 px in JPEG between 10 and 20 KB, and SSC describes the same box as 4 × 2 cm. Click the Signature 140 × 60 px preset, choose Fit with padding with a white background so a wide scan is not cut, and keep JPG. Sign in black ink on plain white paper; a blue gel pen on ruled paper scans poorly at this size.

›What photo size does UPSC accept?

UPSC's online application instructions accept a square photograph from 350 × 350 px up to 1000 × 1000 px, with the file between 20 KB and 300 KB, and recent notices ask for the candidate's name and the date printed on it. The 350 × 350 px preset is the smallest allowed; a larger square, say 600 × 600 px, keeps the printed text readable. Check the notice for the exam you are applying to.

›How do I resize a photo to 200 × 230 pixels without it looking squashed?

Pick the 200 × 230 px preset and leave Fill and crop selected. The photo is scaled until it covers the box and the overflow is trimmed equally from both edges, so proportions are untouched. The squashed look only comes from Stretch, which the tool flags with a warning whenever the shapes differ.

›Can I resize an image without cropping any of it?

Yes. Choose Fit with padding. The whole picture is scaled to sit inside the new box and the leftover area is filled with the background colour you pick, white by default. That is the mode to use for a signature or a scanned certificate, where losing an edge would lose part of the content.

›Can I enlarge a small photo to meet a minimum size?

You can type a larger size and the tool will produce it, but a warning will tell you the image is being enlarged beyond its original pixels. Enlarging interpolates between existing pixels and looks soft. Portals only check that the size is within range, so if a 300 px photo must become at least 350 px, the small enlargement is acceptable; a jump from 100 px to 600 px is not.

›Why do the cm values change when I switch the dpi chip?

The pixel size is the only real size of the file. Centimetres are derived from it by dividing by the dpi, so 413 px reads as 3.5 cm at 300 dpi and as 7 cm at 150 dpi. Switching dpi re-labels the same pixels; it does not resample the image. Type the size in px if you want to avoid the question entirely.