How to resize an image to exact pixel dimensions
Application forms, online stores and social platforms often demand an image of a precise size: a 600 × 600 profile photo, a 1200 × 400 banner, or square product shots. This resize tool lets you type the exact width and height you need in pixels, redraws the image at those dimensions, and downloads the result as a ready-to-upload JPG.
Everything runs inside your browser using the HTML Canvas element, so the photo is never sent to a server. That makes it a sensible choice for ID photos, scanned documents and other personal images.
How to use it
- Drag an image onto the upload box, or click the box to pick one from your device. One image is handled at a time, and its name and size in KB appear below the box.
- Enter the new value in Width (px). It starts at 800.
- Enter the new value in Height (px). It starts at 600.
- Click Resize. A message confirms the new size and a file named resized.jpg downloads.
What you can control
- Width and height independently: the aspect ratio is not locked, so the output matches exactly what you type.
- Shrinking or enlarging: you can enter values smaller or larger than the original.
- Output format: the result is always a high-quality JPG, regardless of the input format.
Practical examples
- Preparing a square 600 × 600 headshot for a registration form.
- Scaling a large phone photo down to 1200 × 900 before emailing it.
- Giving every product photo in your shop the same 1000 × 1000 size so the grid looks tidy.
- Producing a 1200 × 400 header image for a website that requires those exact dimensions.
Tips and notes
- Keep the ratio yourself: a 4000 × 3000 photo resized to 800 wide should be 600 high (a 4:3 ratio). Different proportions will stretch or squash the picture.
- Crop first when the ratio changes: if the target shape differs from your photo, crop to the right proportions before resizing so faces and objects are not distorted.
- Transparency is not kept: because the output is JPG, transparent areas of a PNG are lost and may turn dark.
- Enlarging has limits: blowing a small image up several times makes it soft, so start from the largest version you have.
- Enter positive whole numbers in both fields before clicking the button.
Once the size is right, you can shrink the file further with Compress image, select a specific area first with Crop image, or set print resolution without touching the pixels using the DPI converter.