Skip to main content

Image Resizer Cluster

Resize by Pixels: type the width and height

Image Resizer

100% client-side · No uploads · Powered by HTML5 Canvas

Need the main tool? Image Resizer

Written by Safaat Rahman Siham, Founder & Developer at Convertify4u. Contact us.

You need this picture at a specific width and height, in pixels. Type those two numbers, and download an image that is actually that size. The resizer takes the width and the height you enter. Lock the aspect ratio when the photo should keep its proportions, so changing one side updates the other and the subject stays natural. Leave the lock off when the destination really is a fixed box, and you accept the stretch that a mismatched frame implies. You can bring a JPG, a PNG, a WebP, or a GIF. You can export JPG, PNG, or WebP. When the kilobyte box is empty, JPEG and WebP export at quality 0.92, a clean setting for a picture you are about to share. The resize runs locally, in the browser, on the image you added. Know the number before you type it. A form might ask for 1200 by 1200, a banner for 1920 by 1080, an avatar for a square you were given. Type that width, type that height, and look at the preview so a face or a logo is still the point of the picture. If the lock is on, the second number follows the first, which is what you want for a normal photo. If you truly need both numbers exact, unlock and accept the frame. Then download and confirm the file info shows the pixels you asked for. That check is the whole point of resizing by pixels.

The pixel size you typed, on the file you download

Type the width and the height

This page starts from the sentence you already have in mind: I need this many pixels. There is a width field and a height field, and the export uses those numbers. If a template says 1080 by 1350, type 1080 and 1350. If it says 800 on the long side, type the matching pair with the aspect lock on so the short side stays in proportion. Look at the preview after the numbers are in. A resize this direct is at its best when you already know the destination, and the tool's job is to meet it. The download should then report the same width and height you entered.

Lock the aspect ratio when shape matters

The lock is optional, and it is the kind option for a photograph. Turn it on and the picture keeps its proportions while you set the size. A portrait stays a portrait. A landscape stays a landscape. Turn it off only when both numbers are required and a little stretch is acceptable, for example a slot that is a fixed banner and the artwork was built to be stretched into it. For a face, a product, or a document photo, leave the lock on and let one side follow the other. You can still hit the important edge, the width a form named, without squashing the subject.

JPG, PNG, and WebP out, at quality 0.92

Bring a JPG, PNG, WebP, or GIF. Save as JPG, PNG, or WebP, whichever the next step asked for. When the kilobyte box is left empty, JPEG and WebP export at quality 0.92, so you get a tidy file without hunting for a compression setting first. PNG is the choice when you want the resized pixels in a PNG. After the download, open the image and read its dimensions. They should match the width and height you typed. The resize itself stays local, so you can try a second pair of numbers on the same photo if the first preview crops a detail you meant to keep in frame.

How it works

  1. 1

    Add the image

    Bring one JPG, PNG, WebP, or GIF. This run resizes that picture. Have the pixel size ready before you type, from the form, the template, or the place the image will be shown.

  2. 2

    Enter width and height

    Type the exact width and the exact height. Turn on the aspect lock when the proportions should stay. Leave it off when both numbers are a fixed box you are willing to fill.

  3. 3

    Export and check the pixels

    Save as JPG, PNG, or WebP. With the kilobyte box empty, JPEG and WebP use quality 0.92. Open the download and confirm the width and height match the numbers you typed. The work stays local.

Use cases

A form that names the pixels

When the instructions say 1200 by 630, or any other pair, type that pair and download. Checking the file info is how you know the upload will match.

A photo that should stay in proportion

Lock the aspect ratio, set the long side, and let the other side follow. Faces and products keep their shape, and you still hit the size that mattered.

A banner with a fixed frame

Unlock, type both the width and the height the slot requires, and preview. Use this when the frame is the rule and the artwork can meet it.

Problems we solve

The subject looks stretched

The aspect lock was off and the two numbers changed the shape. Turn the lock on, set the side that matters, and export again so the proportions return.

The file info shows a different size

Re-read the width and height you typed, including a swapped pair. Export once more and check the download. The pixels in the file should be the pixels you entered.

Trust & technology

Resized locally

The new width and height are applied in the browser. You can try a size, look at the preview, and download when the frame matches the number you needed.

A clear export quality

With the kilobyte box empty, JPEG and WebP save at quality 0.92. PNG, JPG, and WebP are the formats you can download after a JPG, PNG, WebP, or GIF comes in.

Frequently asked questions