Loona Automation โ€บ Image Compressor โ€บ Resize Image

Resize Image

Resize any image to exact pixels, centimetres or inches with a print DPI setting โ€” keep the aspect ratio, choose JPG, PNG or WebP, and download. Everything happens in your browser: your image is never uploaded.

โ†”๏ธ
Drop your image here, or click to browse
JPG, PNG or WebP. Original dimensions and file size are shown after loading.

No image loaded yet.

Load an image, set the target size, then press Resize Image.

How to resize an image in 3 steps

  1. Load your image โ€” drop it above or click to browse. Its original dimensions and file size are shown. Nothing is uploaded.
  2. Set the new size โ€” type a width or height in pixels, cm or inches, use a quick preset, and keep aspect ratio on to avoid stretching.
  3. Resize and download โ€” press Resize Image, check the result size and estimated file size, then download in JPG, PNG or WebP.

About resizing images by pixels, cm and inches

Screens think in pixels, printers think in centimetres and inches โ€” and the bridge between them is DPI, dots per inch. A photo that must print at 10 ร— 15 cm needs 1181 ร— 1772 pixels at 300 DPI, but only 394 ร— 591 pixels at 100 DPI. This tool handles that maths for you: pick cm or inches, choose the DPI your printer or application asks for (300 for print, 72 or 96 for screen), and the pixel size is worked out automatically using the exact conversion of 25.4 mm to one inch.

Keeping the aspect ratio locked is the safe default for photographs: change the width and the height follows in proportion, so faces and objects never stretch. Unlock it only when a form demands an exact width and height that differ from the original proportions โ€” for example a square profile picture from a wide photo โ€” and expect some stretching in that case.

How it works

The image is drawn onto a canvas at the target pixel size and exported in your chosen format. JPG and WebP use the quality slider (higher quality means a larger file); PNG is lossless and ignores quality. The estimated file size shown after resizing comes from the actual exported file, not a guess.

Worked example

A 4000 ร— 3000 px photo resized by width to 10 cm at 300 DPI becomes 1181 px wide (10 รท 2.54 ร— 300). With aspect ratio kept, the height is 1181 ร— 3000 รท 4000 = 886 px, so the result is 1181 ร— 886 px โ€” which prints back at exactly 10 ร— 7.5 cm at 300 DPI.

Frequently asked questions

Is this image resizer free?

Yes โ€” completely free, with no signup, no watermark and no limit on how many images you resize.

What DPI should I choose?

Use 300 DPI for anything that will be printed, 150 DPI for a decent home print, and 72 or 96 DPI for screen-only use such as websites and online forms.

Will resizing make my photo blurry?

Shrinking an image stays sharp. Enlarging beyond the original size cannot add real detail, so very large enlargements may look soft โ€” the tool still performs them if you ask.

What is the difference between JPG, PNG and WebP?

JPG is smallest for photos, PNG is lossless and best for graphics and transparency, and WebP often gives photo quality at a smaller size than JPG in modern browsers.

Is my image uploaded anywhere?

No. Resizing happens 100% in your browser using the Canvas API. Your image never leaves your device.

How do I resize to a passport size?

Use the 413 ร— 531 preset (35 ร— 45 mm at 300 DPI), or enter 3.5 ร— 4.5 cm with 300 DPI. For guided face framing, use our free Passport Size Photo Maker instead.

More free photo tools

Image Compressor

Compress photos to an exact KB size โ€” 50KB, 100KB, 200KB.

NADRA / CNIC Photo Maker

Exact 350 ร— 467 px photo for Pak-ID online applications.

Visa Photo Maker

US, UK, Schengen and China visa photo sizes in one place.

Photo Background Changer

Turn a photo background white, blue or light grey.

Exam Photo with Name & Date

Add a name and date strip under your photo for board exams.

Passport Photo Print Sheet

Put 4, 6 or 8 passport photos on one A4 sheet.

Resize Image

Resize by pixels, cm or inches, with a print DPI setting.

Crop Image

Free crop plus ready ratios โ€” 1:1, 4:3, passport and more.

Photo to PDF

Turn one or more photos into a single PDF file.

Image Format Converter

Convert JPG, PNG and WebP both ways, with quality control.

Photo Filters & Fix

Fix brightness, contrast and sharpness in seconds.

Embed this tool on your website โ€” free

Add this tool to your own website or blog โ€” it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.