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.
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.


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.