Resize by Dimension

Resize Image to Custom Size (px)

Decide the exact pixels and the file weight yourself: enter a width, a height and a target size, and the image bends to your numbers.

Open Resize to Custom Size →

DPI reference — turning cm, inch and mm into pixels

If you already think in pixels, just type them in. Aiming for a real-world size instead? Convert it with the figures below before you start.

DPIBest for1 inch1 cm1 mm
72 DPIWeb / on-screen display72 px≈ 28 px≈ 2.8 px
150 DPIMinimum print quality150 px≈ 59 px≈ 5.9 px
300 DPIStandard print (ID cards, photos)300 px≈ 118 px≈ 11.8 px
600 DPIHigh-quality print / scanning600 px≈ 236 px≈ 23.6 px

Reckoning at 300 DPI: 1 inch = 300 px · 1 cm ≈ 118 px · 1 mm ≈ 11.8 px. This page opens at 600×600 px, saves as JPG, and targets 0–500 KB.

How to resize an image to a custom size — step by step

1
Fire up the resizerHit the "Open Resize to Custom Size" button above; it arrives with this preset already in place.
2
Bring in your imageDrop a file onto the page or browse for one — JPG, PNG, HEIC and WEBP work, up to 15 MB.
3
Crop, then processAdjust the crop if you want to, click Process Image, and the tool reaches your target on its own.
4
Grab the fileDownload the finished image — it is ready to send wherever you need it.

About resizing images to a custom size

Type in whatever width × height in pixels you need, add the file size you are aiming for, and you steer every part of the output. Uploading paperwork for an exam form, prepping a photo for the printer, or matching an image to one exact measurement for a project — the resize finishes in a moment, right there in your browser.

There is nothing to download and nothing to send off; your image stays put on your own device.

Handy 300 DPI conversions: 1 inch = 300 px · 1 cm ≈ 118 px · 1 mm ≈ 11.8 px.

Other tools you might need

Frequently asked questions

Does resizing to a custom size cost anything?
Not a rupee. You skip the sign-up, you get no watermark stamped on your work, and there is no ceiling on how many images you push through.
Is my image kept private?
Entirely. HTML5 Canvas handles the resize inside your browser, so the picture is never uploaded to any server and stays on your device throughout.
Can I use it on a phone?
You can. Pull up YESPYQ in Chrome or Safari on any iPhone or Android, load your image, and download what comes out — no app required.
Which image formats can I upload?
Send in JPG, JPEG, PNG, WEBP or HEIC/HEIF (where your browser allows it). What you get back is always a JPEG, the format that sits best with Indian government exam and ID portals.
Is any software installation required?
Not a thing. Everything happens inside the browser you already run — Chrome, Firefox, Edge or Safari — on a desktop or a phone.
Which DPI is right for printing?
Treat 300 DPI as the safe default for prints like ID cards, exam photos and documents: 1 inch = 300 px, 1 cm ≈ 118 px, 1 mm ≈ 11.8 px. Since the tool counts in exact pixels, enter the pixel figures those conversions give you.
Why does it save as JPEG rather than PNG?
JPEG is what almost every Indian government exam and ID portal wants, and it keeps files far lighter than PNG without losing photo quality — a perfect match for uploading through online forms.