Resize an image online
Make a photo smaller for a website or a message by reducing its pixel dimensions. PhotoPWA lets you set the width and height and save a new image locally.
Pixel dimensions and file size are different. Width and height describe the image in pixels. File size is measured in KB or MB and also depends on the export format and the amount of detail in the image.
Reduce the width and height
- Open the editor and choose your image. Keep the original so you can return to it later.
- Find Resize: Width x Height. Use its percentage slider to reduce both dimensions together while keeping the current proportions.
- For an exact size, enter the width and height in the pixel fields and confirm with Ok. The manual fields accept 5 to 2500 pixels per side.
- Check the preview. If the picture looks stretched, restore the original proportions and calculate the other dimension, or use the percentage slider.
- Save under Save as Image. Choose JPG for a photograph, PNG for transparency, or WebP if export is available in your browser.
- Check the saved file's dimensions and size on your device. If it is still too large, try smaller dimensions or a different format.
Example: preserve a 3:2 ratio
A 2400 × 1600 photo has a 3:2 ratio. To make it 1200 pixels wide without stretching, set the height to 800 pixels. Calculate it as original height × new width ÷ original width. The percentage slider keeps the proportions for you.

Choose a format for the result
- JPG: suitable for photos. It uses lossy compression and does not preserve transparency.
- PNG: useful for transparent images, screenshots and graphics. A detailed photo can produce a larger PNG file.
- WebP: supports transparency and can be useful for website images. The export button is shown where browser support is available.
The current JPG export uses a fixed quality setting; there is no file-size target such as “under 100 KB”. Check the output instead of assuming an exact reduction.
Crop first when the required shape changes
Changing a 3:2 image directly to square dimensions can distort it. Crop the image to 1:1 first, then resize the square. This removes unwanted edges while preserving the shape of the subject.
What resizing cannot do
Enlarging an image adds pixels but does not recover detail missing from the original. The preview may be scaled to fit your screen; its displayed size is not necessarily the saved pixel size. For sensitive photos, choose a file from your device: image processing runs locally in the browser.
