Resize Image to Exact Pixel Dimensions, cm / Inches or a File Size

Set a width and height in pixels, cm or inches at any DPI, or a maximum KB — crop or pad instead of stretching.

🔒 Runs in your browser — files never uploaded ⚡ No signup 💯 Free

Drop an image here or tap to browse JPG, PNG, WebP or GIF · resized in your browser, nothing is uploaded

Resize any image to the size you were asked for, whichever way it was specified: a width and height in pixels, a print size in cm, mm or inches at a given DPI, a percentage of the original, or a maximum file size in KB. When the new dimensions have a different shape from the photo, choose whether to crop the edges, add bars, or stretch, so you never end up with a squashed face by accident.

The work happens in your browser, so nothing is uploaded and a 20-megapixel photo resizes in well under a second. Downscaling uses multi-step resampling, which gives noticeably smoother results than a single-step resize at large reductions.

How to use Resize Image

  1. Drop in your image. Its current dimensions and file size are shown.
  2. Type the size you need. Pixels by default; switch the unit to cm, mm or inches and set the DPI for print. With the ratio locked, the other dimension follows automatically. Or pick a preset, or enter a percentage.
  3. If the shape changes, pick a fit: crop to fill (default), fit inside with bars in a colour of your choice, or stretch.
  4. Optionally set a maximum file size in KB for upload forms and email limits, choose JPG, WebP or PNG, and click Resize. Check the preview and download.

Resizing to exact pixel dimensions

Forms and platforms often demand a precise width and height, say 600 × 600 or 1200 × 630. If your photo is not that shape, something has to give. Crop to fill scales the image until it covers the whole target and trims the overflow from the edges, centred; it keeps everything in proportion and is right for avatars, thumbnails and social images. Fit inside scales the whole image to fit and fills the leftover space with bars (any colour, or transparent in PNG and WebP); nothing is lost, which suits product photos and documents. Stretch distorts the image to fill the target and is almost never what you want, so it is never the default. If you need control over which part is kept, use the crop tool first and resize afterwards.

Print sizes: cm, inches and DPI

A photo has no physical size until you decide how many pixels go into each inch. At 300 DPI, the usual print quality, a 10 × 15 cm print needs 1181 × 1772 pixels; a 4 × 6 inch print needs 1200 × 1800; an A4 page needs 2480 × 3508. Choose cm, mm or inches, enter the size and DPI, and the pixel count is shown next to the fields. For screens, DPI is meaningless: a 1920-pixel-wide image fills a Full HD monitor whatever DPI value is stored in the file.

Getting under a file size in KB

Upload forms that say "maximum 200 KB" are about bytes, not pixels. Enter the limit and the tool first lowers the JPEG or WebP quality until the file fits, then shrinks the dimensions only if quality alone is not enough. PNG has no quality setting, so a PNG can only be made smaller by shrinking; for photos, switch to JPG or WebP. The image compressor does the same job without changing dimensions, and the image converter changes formats only.

Never enlarge if you can avoid it

Making an image larger cannot add detail that was never captured; the result is soft. The "don't enlarge" option is on by default and caps the request at the original size while keeping the requested shape (a 1080 × 1080 request on an 800 × 600 photo becomes 600 × 600). Untick it if a platform insists on a minimum size and the original is all you have.

Common target sizes

  • 1920 px wide — full-width website hero images; 1024 px — email attachments and forum posts
  • 1200 × 630 — Open Graph link previews; 1280 × 720 — YouTube thumbnails
  • 1080 × 1080 and 1080 × 1350 — Instagram; 1080 × 1920 — Stories, Reels, TikTok
  • 1500 × 500 — X header; 1584 × 396 — LinkedIn banner
  • 1800 × 1200 — 4 × 6 inch print; 2480 × 3508 — A4 at 300 DPI

All of these are presets. For every platform's sizes at once use the social media resizer, and for ID and visa photos the passport photo maker knows each country's rules.

Frequently asked questions

How do I resize an image to specific dimensions without stretching it?

Untick "Lock aspect ratio", type the exact width and height, and leave the fit on "Crop to fill": the image is scaled to cover the target and the overflow is trimmed from the edges, so nothing is distorted. Choose "Fit inside" instead if you would rather keep the whole picture and add bars.

How do I resize an image to a size in cm or inches?

Switch the unit from px to cm, mm or inches, set the DPI (300 for prints, 150 for a quick home print) and enter the size. The pixel dimensions appear next to the fields. 10 × 15 cm at 300 DPI, for example, is 1181 × 1772 pixels.

How do I make an image smaller than a certain number of KB?

Enter the limit in the "Max file size" box. The tool lowers the JPEG or WebP quality step by step until the file fits, and only shrinks the dimensions if that is not enough. For photos saved as PNG, switch the output to JPG or WebP first; PNG cannot be compressed by quality.

Will resizing reduce the quality?

Downscaling discards pixels, but it is done with multi-step resampling so edges stay smooth, and at the default 90% JPEG quality the loss is invisible at normal viewing size. Enlarging is where quality suffers, which is why the tool does not enlarge unless you ask it to.

Are my images uploaded?

No. The image is read, resized and encoded by your browser using the HTML canvas. It never leaves your device, which is also why there is no size limit beyond what your browser can hold in memory.

What is the difference between resizing and cropping?

Resizing changes the number of pixels while keeping the whole picture; cropping cuts a region out and keeps its pixels as they are. "Crop to fill" here does both in one go: it scales the image and trims just enough to reach the exact shape you asked for. To pick the region yourself, use the crop tool.

Which format should I choose?

JPG for photos going almost anywhere; WebP for the web when you want the smallest file (about 25–35% smaller than JPG at the same quality); PNG for screenshots, logos and anything with transparency or sharp text. "Keep original" leaves the format alone.

Can I resize several images at once?

This tool handles one image at a time so that you can check the result. For batches of social media sizes from one image, the social media resizer produces every platform's version in one click.