Resize an image to exact pixels, or change its DPI
Resize photos to an exact width and height, like 1920 × 1080, in pixels, inches or cm. Or change the DPI to 300 with no pixels touched. Nothing is uploaded.
- Runs in your browser
- Nothing is uploaded
- Free, no sign-up
or drop them here. JPEG, PNG, WebP, HEIC, TIFF and most other images, up to 50 MB each. Nothing is uploaded.
Each image will be exactly 1920 × 1080 pixels. Leave one side blank to keep each image's shape.
How it works
Enter the width and height you need, or pick a common size, then choose your images. Each one is drawn again at exactly that many pixels in your browser and saved as a new file. Leave one side blank to set only the width or only the height; the other side follows each image's own shape.
When an image has a different shape from the size you asked for, it can be cropped to fill the frame (you choose which part to keep), fitted inside it with a white, black or transparent border, or stretched. Cropping and borders never distort the picture. To choose exactly which part to keep by dragging a box, use crop an image; to work out the other side of a size at a ratio such as 16:9 first, use the aspect ratio calculator.
For prints, enter the size in inches, centimetres or millimetres with a resolution such as 300 DPI. The tool works out the pixels (8.5 × 11 inches at 300 DPI is 2550 × 3300) and writes the resolution into JPEG and PNG files, so they print at that size.
To change the DPI of an image without changing its pixels, choose Change DPI only. It works as a DPI converter: a JPEG or PNG is not saved again, only the DPI written in its header changes (the JFIF and EXIF resolution of a JPEG, the pHYs chunk of a PNG), and the result shows the DPI it had before and the size it now prints at. DPI is only a number that tells printers and forms how many pixels go in an inch, so changing it never makes a picture sharper or blurrier on screen. A photo that is too small for a print needs more pixels: choose Resize and enter the print size at the DPI you need.
If a form also limits the file size, tick the size box: JPEG and WebP files are then saved at the highest quality that fits, without changing the pixels. To make a file smaller without a set pixel size, use compress an image to a target size.
Questions
How do I resize a photo to 1920 × 1080?
Pick Full HD 1920 × 1080 or type the two numbers, then choose your photo. If it isn't 16:9, choose whether to crop it to fill the frame, fit it inside with a border, or stretch it. Download it once the new size is shown.
How do I crop an image to a square?
Set the same width and height, such as 1080 × 1080, and keep Crop to fill selected. The edges that don't fit are trimmed; choose whether to keep the centre, the top or left, or the bottom or right.
How many pixels is 8.5 × 11 inches?
At 300 DPI, 2550 × 3300 pixels. Choose Letter, or enter the size in inches, centimetres or millimetres with a resolution, and the tool works out the pixels and writes the resolution into JPEG and PNG files.
How do I change the DPI of an image, for example to 300 DPI?
Choose Change DPI only, pick 300 DPI (or type any value from 10 to 2400) and choose your images. JPEG, PNG and TIFF files keep every pixel; only the DPI number saved in the file changes, which is what a form means when it asks for a photo or signature at 200 or 300 DPI. It doesn't make the picture sharper: a 600 × 600 pixel photo at 300 DPI just prints at 2 × 2 inches. For a sharp print at a set size, choose Resize and enter the size in cm or inches at 300 DPI.
Can I resize an image and keep it under a file size?
Yes. Tick Keep each file under a size and enter the limit: JPEG and WebP files are saved at the highest quality that fits, and the pixel size stays as set.
Limits
Opens images up to 50 MB and 100 megapixels, 20 at a time. JPEG, PNG, WebP, GIF and AVIF work in current browsers, and so do iPhone HEIC photos: browsers other than Safari can't open HEIC themselves, so the page first loads a HEIC decoder (about 0.7 MB) from this site, and the photo still stays on your device. The new size can be up to 16,384 pixels on a side and 16.7 megapixels in all, the largest that phones can draw. Animated GIFs keep only their first frame.
TIFF files open in every browser too, read by the page itself, and “Same as original” saves them as TIFF again, written by the page with LZW compression and the DPI you set (or the file's own): a black-and-white scan stays a 1-bit fax TIFF (Group 4). Any image can be saved as TIFF, which has no quality setting, so it can't be made to fit a file size; the file's DPI is shown when you change only the DPI. Only the first page of a multi-page TIFF is resized, and fax pages, whose pixels are taller than wide, are first stretched to the shape they print at. TIFFs this page can't read, such as JPEG 2000 ones, are refused with a message saying why.
Making an image larger can't add detail, so enlarged images look soft. Saving again removes hidden details such as the camera and location, and the colour profile, so colours from wide-gamut cameras can look slightly duller. WebP files don't carry a print resolution. Changing only the DPI of a JPEG or PNG keeps the rest of the file as it was, hidden details included. An image too large to draw again can only have its DPI changed in its own format, JPEG or PNG.
Cropping keeps the centre, the top or left, or the bottom or right; it doesn't look for faces. Check the preview before you download.
Privacy
This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.
Related tools
Crop and rotate an image
Crop a photo to a circle, a square, 16:9, any shape or exact pixels, and rotate or flip it. iPhone HEIC too, and nothing is uploaded.
Increase image size in KB
Make a photo or signature at least 20, 50 or 100 KB for an exam or job form, by saving it at a higher quality, never with padding. Nothing is uploaded.
Remove EXIF data and location from photos
See and remove the hidden GPS location, camera details and dates in photos, iPhone HEIC too. Nothing is uploaded, and JPEG, PNG and WebP aren't re-compressed.