HeyDreaming

Free · processed in your browser · free account to download

Convert Image Size in Pixels

Loading the tool…

Change the width and height of an image to exact pixel dimensions, a percentage, or an official platform size. Resizing runs locally in your browser, so your image is not uploaded.

How do I convert an image to a specific pixel size?

Drop your image into the box above; the Pixels tab fills in its current width and height. Change either one and click Resize file. Leave Lock aspect ratio checked so the other side follows without stretching, or uncheck it to force exact width and height numbers. You can also scale by percentage or pick a platform preset, then download the resized file right away.

How it works

01

Add your image

Drag a JPG, PNG, WebP, AVIF or HEIC/HEIF file into the box, or click to select one. Files up to 50 MB are supported.

02

Enter the target dimensions

Change the width or height, filled in with the image's size, up to 8000 px on the Pixels tab, choose a scale on the Percent tab, or pick a preset.

03

Set quality if needed

When saving as JPG or WebP, leave the quality slider at 90% or lower it to reduce byte weight.

04

Download the new size

Check the before-and-after pixel dimensions and file weight in the result row, then download your file.

Pixel dimensions vs. file weight in KB or MB

People say "image size" to mean two different things: the pixel dimensions (such as 1920×1080 px) and the storage weight on disk (such as 200 KB). This tool changes the pixel dimensions up to 8000 pixels per side—by exact width and height on the Pixels tab, by percentage on the Percent tab, or with a centered cover crop on the Preset tab.

Shrinking the pixel width and height also lowers the byte size, and for JPG or WebP outputs you can turn the quality slider down from 90% to 50% to make the file lighter still. If your upload form requires an exact kilobyte ceiling such as 50 KB or 100 KB while keeping your current dimensions, use one of the related image compressor tools below.

Output format, color space and browser behavior

JPG inputs are saved as JPG, WebP inputs stay WebP in Chrome, Edge and Firefox (or fall back to PNG in Safari), and PNG, AVIF and HEIC inputs are saved as lossless PNG. Output filenames include the new dimensions, such as photo-1200x800.jpg.

Every image is redrawn on an 8-bit sRGB browser canvas. Wide-gamut Display P3 colors are converted to standard sRGB, and camera EXIF metadata (date, lens, GPS) is not copied over. Previews on the page are capped at 1200 px on the long side, while your downloaded file has the full target dimensions.

What this tool does not do

It does not target a specific kilobyte cap directly (use a Compress Image to KB tool for exact KB limits), add detail when enlarging, or preserve EXIF metadata and color profiles.

See all free tools

Keep exploring

Related free tools

Questions

Image Size Converter: FAQ

Is my image uploaded when I convert its size?

No. Decoding, resizing and saving happen inside your browser on your device. The page sends usage events to Google Analytics, such as which mode ran, but never the image.

How do I change width and height without stretching the photo?

Keep Lock aspect ratio checked on the Pixels tab. Both fields start at the image's size. Change either the width or the height and the other side adjusts automatically, so there is no distortion.

How do I convert an image to a target size in KB or MB?

Lowering pixel dimensions and lowering the JPG or WebP quality slider both shrink byte size, which is printed on the result row before you download. To hit a strict target like 50 KB or 100 KB automatically, use the Compress Image to 50KB or Compress Image to 100KB tools.

Why did my AVIF, HEIC or Safari WebP file save as PNG?

The resizer encodes JPG, PNG and (where the browser supports it) WebP. Because browsers rarely encode AVIF or HEIC, and Safari cannot encode WebP, those files are saved as lossless PNGs. That is only the default: the Format menu at download also offers JPG, WebP, TIFF or PDF.

What happens if I enter dimensions larger than my original photo?

The tool scales the photo up to the requested dimensions (up to the per-side limit) and displays a note that enlarging makes the image look softer.

Can I check or convert print size in inches and DPI?

This tool works in pixels. To see how pixel dimensions translate to inches or centimeters at 300 DPI, use the Print Size Calculator or the 300 DPI Converter.