Image tools

Resize Image by Pixels, cm or mm

Enter the width and height a form asks for. Lock the aspect ratio so the photo is never stretched.

  • No upload
  • No signup
  • No watermark
  • Runs in your browser
Select imageJPG, PNG or WebP. Or drag and drop, or paste.
Photo presets

The picture fits inside the width and height above, so one side may come out smaller. The final pixel size is shown with your result.

Leave empty if you only need the dimensions.
Advanced

Processed in your browser. Your file never leaves your device.

Resize an image here to the exact width and height a form asks for. You can work in pixels, centimetres or millimetres, which helps when a portal lists a printed size. Choose a DPI and the tool converts the units for you.

The picture is processed in your browser and is not uploaded. Keep proportions on to avoid stretching, and tick Crop to the exact size when the result must match your numbers exactly.

How it works

  1. 1

    Click Select image and choose your JPG, PNG or WebP photo.

  2. 2

    Pick a Unit (pixels, centimetres or millimetres) and type the Width and Height. For cm or mm, also choose a DPI.

  3. 3

    Leave Keep proportions ticked. Tick Crop to the exact size if the result must be exactly your width and height.

  4. 4

    Click Resize image, compare the before and after, then click Download image.

Why use this tool

Exact dimensions

Type the numbers from your form and get a file that matches them.

Several units

Pixels, centimetres and millimetres are supported, so you can follow printed instructions.

Private and free

Your image stays on your device, with no signup and no watermark.

Good to know

  • Centimetres and millimetres need a DPI. At 300 DPI, 25.4 mm equals 300 pixels.
  • With Keep proportions ticked and Crop to the exact size off, the picture fits inside your numbers, so one side may come out smaller. The final pixel size is shown with the result.
  • With Crop to the exact size ticked, the picture is centred and trimmed, so edges can be cut off. Check the after preview.
  • Small pictures are not enlarged unless you tick Allow enlarging small pictures under Advanced. Enlarged images look soft.
  • The largest supported output is 4096 pixels per side. Resizing does not guarantee a small file, so use the optional Also keep it under (KB) box if a limit applies.

Frequently asked questions

How do I resize an image to specific pixels?

Click Select image, choose Pixels as the Unit, type the Width and Height, and click Resize image. Keep proportions stops the picture from being stretched.

How do I convert cm or mm to pixels?

Divide the length by 25.4 for inches (or by 2.54 from cm), then multiply by DPI. At 300 DPI, 35 mm is about 413 pixels. The tool does this when you choose cm or mm.

What does Crop to the exact size do?

It centres the picture and trims the edges so the result has exactly the width and height you typed, without stretching. Leave it off if you would rather keep the whole picture.

Can I also limit the file size?

Yes. Use the optional Also keep it under (KB) box. After resizing, the tool compresses the picture to fit, and tells you if it cannot reach the size.

Why was my small image not made bigger?

To avoid blur, the tool does not enlarge small pictures by default. Tick Allow enlarging small pictures under Advanced if you need the exact size anyway.

Need something built just for your business?

Riznexia designs custom software, automation and FBR-ready invoicing for Pakistani businesses.