Resize an image by pixels
Resize photos and images to a width and height in pixels. Keep the aspect ratio and save as JPEG, PNG or WebP.
Files you select are processed in your browser on this device. They are never uploaded to or stored on our server. For how analytics are handled, see the Privacy Policy.
How to use
- Choose a photo or image with "Choose an image" (or drag and drop it).
- Enter a width and height in pixels, or choose "Percentage (%)" to scale from the original. With "Keep aspect ratio" on, enter one side and the other is calculated for you.
- Pick a format (JPEG, PNG or WebP) and quality, then press "Resize image".
- Check the new pixel size and file size, then press "Save image" to download it.
Supported formats and limits
- Supported formats: JPEG, PNG and WebP, one image at a time. HEIC, GIF and BMP are not supported.
- Images up to 30 MB and about 50 megapixels can be opened. The output can be up to about 16 megapixels (for example 4,000 × 4,000 px).
- By default the image is never made larger than the original. To enlarge it, turn on "Allow enlarging" (enlarged images look softer).
- Saving as JPEG fills transparent areas with white. Choose PNG to keep transparency.
- Saved images generally do not include Exif data such as the date taken or location, because the image is redrawn before saving.
- The printed size (cm or inches) is not guaranteed.
How it works
With the aspect ratio kept, the other side is calculated from the original proportions and rounded to the nearest pixel. If you enter both width and height, the image is fitted inside that box at the largest possible size.
Large reductions are done in steps of one half before drawing at the final size, which reduces jagged edges.
The orientation recorded by phone cameras (Exif rotation) is applied when the image is loaded.
FAQ
Is my image uploaded to a server?
No. Loading, resizing and saving all happen in the browser on your device. Nothing is sent to our server.
I want to make the file smaller in KB.
Reducing the pixel size usually makes the file smaller too. To hit a specific file size, use a compressor that targets a size in KB.
I cannot choose a photo taken on my iPhone.
HEIC photos are not supported. Choosing the photo from the Photos picker often converts it to JPEG automatically. You can also set Settings > Camera > Formats to "Most Compatible" to take photos as JPEG.
What quality setting should I use?
For typical photos, 80–90 looks almost identical to the original. Lower values make the file smaller but show more noise.
Related guides
- How to reduce an image to under 200 KBMake a photo fit an upload limit such as 200 KB: compress to a target size, resize when needed, check the result and fix files that stay too large.
- JPG vs PNG vs WebP: which image format to useHow JPG, PNG and WebP differ in compression, transparency and compatibility, which one to pick for photos, screenshots and logos, and how to convert.
Related tools
Last updated: