Image

How to Resize an Image by Pixels — Exact Width & Height, Free

Set an exact pixel width and height, keep the aspect ratio locked and download as JPG, PNG or WebP — entirely in your browser.

5 min readUpdated 2026-10-25

Everyone searching “resize image by pixels” wants the same thing: a picture that ends up at an exact width and height, not a percentage guess. Portals, forms and marketplaces ask for numbers like 600×600 or 1200×627, and percent presets cannot deliver that. Here is the fast way to hit the exact figure.

Resizing in three steps

  1. Open the resizer The Image Resizer needs no account and no upload.
  2. Type the pixels Enter a width or a height; with the lock on, the other value follows the original ratio.
  3. Download Pick JPG, PNG or WebP and save the result straight from your browser.

Aspect ratio: locked or free

Keep the lock on unless the target size has a different ratio from your source. Forcing 800×400 onto a 4:3 photo with the lock off stretches faces and circles into ovals.

When the target ratio differs, crop first with the Image Cropper, then resize to the exact pixels. Crop-then-resize keeps proportions honest and avoids the stretched look.

Choosing the output format

Photos: JPG at quality 80–90 is the smallest faithful file. Graphics with flat colour or text: PNG keeps edges crisp. Web pages: WebP beats both on size where the platform accepts it.

Check the Image Dimensions Checker afterwards if a portal validates both the pixel size and the file weight before accepting an upload.

Does resizing by pixels hurt quality?

Downscaling throws pixels away, which is fine — the result looks sharp at the new size. Upscaling invents pixels and always softens the image; stay within roughly 1.2× of the original for acceptable results.

For many files at once, the Bulk Image Resizer applies one exact pixel size to a whole folder in a single pass.

When exact pixels matter

  • Government and visa portals demand fixed pixel photos — see the passport photo sizes.
  • Social platforms crop anything off-ratio — the size tables list every current figure.
  • Marketplaces and listings often cap both dimensions and kilobytes.

Frequently asked questions

Can I resize to exact pixels without uploading the image?
Yes. The resizer runs on your device with the canvas API, so the file never leaves your browser.
What if I only know one side in pixels?
Type the width or the height alone — with the aspect lock on, the other side is calculated automatically.

Tools used in this guide

Keep reading