Resize images

Resize photos in pixels or cm and save JPG or PNG. Use 3 × 4 cm, 3.5 × 4.5 cm, A4 and A5 presets with DPI conversion.

Use our fictional files without choosing a personal document. Editing still happens in your browser.

JPG, PNG, WebP · 20 files · 20MB each · 100MB total · 16 megapixels per image. HEIC, GIF and animation are not supported.

Output bounds: 1600 × 1600 px

cm is converted to pixels using the selected DPI. This does not lock the file’s print size; set the size when printing.

Keeping proportions fits inside the chosen size; one side may be smaller. No cropping is applied. Turning this off stretches to the exact size.

JPG and PDF use a white background for transparency. Re-encoding may change metadata and color information. Compression varies by image.

Images stay in your browser. Originals are unchanged.
Try it, then compare the result

Convert a 3.5 × 4.5 cm size to pixels

Steps to reproduce

Load the 630 × 810 px sample. Choose 3.5 × 4.5 cm at 300 DPI, keep aspect ratio on, select PNG, and convert. These settings are prefilled for the sample.

What to check

The result is 413 × 531 px. Both sizes have the same aspect ratio, so no crop is needed. DPI is used for the cm-to-pixel calculation; this tool does not guarantee print metadata or official ID-photo compliance.

Original files

sample-grid.png ↓

Reference result

example-resized.png ↓

Reference downloads are examples. Your edited result is created separately on your device.

Fictional sample preview
630 × 810 px
Reference result
PNG · 413 × 531 px · 300 DPI

How to use this tool

Set photo width and height in pixels or centimeters. Choose presets such as 3 × 4 cm, 3.5 × 4.5 cm, A4 or A5. Centimeters convert at 96, 150 or 300 DPI. Keeping proportions fits inside the bounds without cropping. This tool does not verify official ID photo composition or background requirements.

Pick px or cm, then type the width and height or choose a common size. With cm, the pixel size calculated at the selected DPI (96, 150 or 300) appears below the fields. Keep proportions fits the photo inside your size without cropping or stretching, so one side may come out smaller than you typed. Save as PNG or JPG; JPG also lets you set the quality.

Frequently asked questions

Will a 3.5 × 4.5 cm preset crop my photo?+

No cropping is applied. Keep proportions fits inside the bounds, so one side may be smaller. Turning it off stretches to the exact dimensions. cm and DPI convert to pixels; set print dimensions separately.

Does setting 300 DPI improve image quality?+

No. DPI is only the rate used to turn cm into pixels; it does not change quality. The same 3.5 × 4.5 cm becomes 132 × 170 px at 96 DPI and 413 × 531 px at 300 DPI. Enlarging beyond the original pixels makes a photo softer, not sharper. If a form gives a pixel size, type it in px directly.

Which formats and file limits are supported?+

Up to 20 still JPG, PNG or WebP images, 20 MB per file and 100 MB total. Each image supports up to 16 megapixels and 8,192 pixels per side. HEIC and animation are not supported. Everything is processed in your browser, so download your results before closing or reloading the tab.

Simple image tools