Resize an Image to Exact Pixels, Inches or Centimetres

Type the width and height a form or print shop asks for — in pixels, inches or centimetres — and the image is resized in your browser, at the exact size requested.

Resize an Image to Exact Pixels, Inches or Centimetres

Drop your images here

Or choose files from your device

JPG, PNG, WebP, AVIF or HEIC · up to 20 images · max 40 MB each

On a phone? Tap “Choose image” to pick from your gallery.

    No image added yet.

    Three steps — nothing to install

    1. Add your image

      Drop a JPG, PNG, WebP, AVIF or HEIC file, or pick one from your device. Up to 20 images at a time, 40 MB each.

    2. Pick the size

      Choose 600×600, 2×2 inch, 35×45 mm or a pixel width, or type your own width and height in px, inches or centimetres.

    3. Resize and download

      The new pixel size and file size are shown before you download. Proportions are kept unless you turn that off.

    Pixels, inches and centimetres are three ways of saying one thing

    A photo has only one real size: its pixel grid. Inches and centimetres are a promise about how densely those pixels will be printed. A 2×2 inch passport photo at 300 DPI is 600×600 pixels; the same 600×600 file printed at 600 DPI would be 1×1 inch. That is why a portal can reject a photo that “looks the right size” on screen — it checks the pixel count, not the print size.

    This tool converts the other way round: you give it the size in the unit you were told (2 inch, 3.5×4.5 cm, 35×45 mm, 600 px) and it works out the pixels at the DPI you choose. 300 DPI is the safe default for print and for most government forms.

    For inch and centimetre sizes the DPI is also written into the exported file: JPG and PNG carry it as resolution metadata, so the print software still sees the physical size you asked for. WebP output has no print-resolution field in the browser's encoder, so export JPG or PNG for anything a printer will read.

    Sizes that come up again and again

    These are the requests that appear most often in form instructions and print shops, with the pixel size they mean at 300 DPI:

    • 2×2 inch (US passport, visa, green card) — 600×600 px
    • 35×45 mm (India, UK, EU, Schengen visa) — 413×531 px
    • 3.5×4.5 cm (same as 35×45 mm) — 413×531 px
    • 600×600 px — the usual exam-form square
    • 1920 px wide — a sensible maximum for web and email

    Pick one of the presets and the tool fills in the numbers; adjust the DPI only if the instructions name a different one.

    What resizing does to quality

    Making an image smaller throws pixels away, and it is almost always safe: a 4000 px phone photo reduced to 1280 px still has more detail than a web page or a form can show. The browser resamples smoothly, so the result is clean rather than jagged.

    Making an image larger invents pixels. It cannot add detail, so upscaling is offered only for print sizes, where a form insists on a pixel count your file does not have. If you can, start from a larger original instead.

    The output is re-encoded from the canvas, which means metadata such as GPS coordinates and camera model is dropped. Format is your choice: JPG for photos, PNG when you need transparency, WebP for small files on the web.

    Resize first, then compress

    Resizing and compressing solve two different rejections. “Image must be 600×600 pixels” is a size problem; “file must be under 50 KB” is a weight problem. Fixing the pixels first usually fixes part of the weight too, because fewer pixels means a smaller file at the same quality.

    When a portal states both — for example 600×600 px and 20–50 KB — resize here, then run the result through the exact-KB compressor. Doing it in that order avoids compressing a huge photo down to nothing and then enlarging it again.

    Frequently asked questions

    How many pixels is a 2×2 inch photo?At 300 DPI, 2×2 inch is 600×600 pixels. At 600 DPI it would be 1200×1200. US passport and visa rules assume 300 DPI, so use the 2×2 inch preset unless your instructions name another resolution.
    How many pixels is 35×45 mm?35×45 mm at 300 DPI is 413×531 pixels, which is the size most Indian, UK and Schengen visa forms expect. The preset rounds to whole pixels because a file cannot contain part of a pixel.
    Will resizing stretch my photo?No. Pixel presets and “Keep proportions” fit the image inside the size you gave, so nothing is distorted and the result may be slightly smaller in one direction. 2×2 inch and 35×45 mm cover-crop to the frame — scaled to fill it and trimmed from the centre. Only a custom pixel size with “Keep proportions” turned off stretches the image to exactly the width and height you typed.
    Does resizing reduce the file size in KB?Usually, yes — fewer pixels means fewer bytes at the same quality. It is not a guarantee: a PNG of a detailed screenshot can still be large. If you need a specific KB number, use the exact-KB compressor after resizing.
    Does the resized image keep its DPI?For inch and centimetre sizes, yes in JPG and PNG: the chosen DPI is written into the file's resolution metadata, so the print size is preserved. Pixel presets carry no print resolution, and WebP exports do not either, so use JPG or PNG for print.
    Is my image uploaded?No. The file is read by your browser, drawn onto a canvas and encoded again in the same tab. There is no upload endpoint, no server copy and no account behind this page.
    Can I resize several images at once?Yes, up to 20 per batch. The same target size is applied to all of them, each file keeps its name with the new dimensions, and Download all (ZIP) saves the whole batch in one archive.