Resize Image Online to Exact Pixels
Set custom width and height, preserve proportions, crop or pad, and optionally set a maximum KB.
Choose an image to start.
Max 20 MB per image · 25 MP · 8,192 px per side. Still images only. Privacy details.
Pixels are not the same as kilobytes
When a website asks for a photograph of 400 by 500 pixels, it is describing the number of pixels across and down, not the amount of storage used by the image. Two photographs with those dimensions can have very different file sizes. A plain background is usually easier to compress than a busy background. The image resizer is meant for tasks where the width and height are the important numbers, such as profile photographs, listing images and application uploads. The separate compression setting is useful if the same website also sets a file-size limit. Start with the original image rather than a small copy forwarded through a messaging app.
Choose dimensions without stretching a face
After selecting a picture, the tool fills in the original dimensions. Keep the aspect-ratio checkbox selected if you want to change one side and calculate the other automatically. If the destination needs a particular rectangle, turn off that checkbox and enter both numbers. The fit setting then decides what happens to the extra space. Contain places the whole picture inside the new frame, while Fill by cropping covers the frame and may trim the edges. Stretch fills every pixel without preserving the proportions, so use it only when distortion is acceptable. White padding is useful for pictures with a clean document-like background.
A practical example
Suppose an image is 1,200 pixels wide and 900 pixels tall and you want a 600-pixel-wide copy for a webpage. Keeping the ratio gives a height of 450 pixels. That preserves the shape of the original. If you instead need a 600 by 600 pixel square, a centered crop can remove the sides while leaving the central subject unchanged. Check whether anything important is near an edge. A product photographed off-center may look better with padding than cropping. For deliberate placement, use Crop & Rotate first to isolate the area you want, then return to the resizer with the cropped copy.
When the receiving site has a KB limit
Enter a maximum file size only if you have a reason to restrict it. This tool will preserve your requested dimensions, so it cannot simply make the picture smaller in pixels when compression alone is insufficient. Choose JPG or WebP if the destination accepts them; PNG is often larger for photographic material. If the result cannot fit the maximum, the tool explains that it failed instead of labeling an oversized file as ready. You can choose a larger permitted limit or change the dimensions if the application instructions allow that. Do not change mandatory dimensions just to get a successful download.
Inspect the finished image
The result panel reports the actual width, height, format and byte count of the generated file. For online forms, use those numbers alongside the latest official instructions. For printing, pixels do not automatically establish the physical dimensions on paper; the print application also determines the scaling. Upscaling a small photograph adds pixels but cannot recover missing detail. Prefer a clear original and save the edited copy under a separate name. If the preview appears wrong, change the fit option and try again. Resizing takes place locally in the browser, which is particularly convenient when working with personal or business pictures.
Related image tools
Image Compressor
Reduce a photo to a maximum KB size. Choose JPG, PNG or WebP and optionally reduce dimensions.
Photo & Signature Resizer
Prepare a photo or signature with custom pixels, minimum and maximum KB, and output format.
JPG to PDF
Combine up to ten JPG, PNG or WebP images into a PDF, reorder pages and choose paper size.