Use this image resizer and photo compressor to reduce file size in KB or change dimensions in pixels or cm. Convert PNG, JPEG or WebP to JPEG in your browser; your photo stays on your device.
Resize and compress an image
Preview and result
Your image preview and output details will appear here.
How to resize an image for an online form
Select your PNG, JPEG or WebP image.
Enter the maximum size in KB and any width or height specified by the form.
Resize, then check the actual output dimensions, file size and preview before downloading the JPEG.
How image size compression works
The resizer first adjusts JPEG quality while keeping the chosen starting dimensions. If needed, it reduces the dimensions in small steps until the file is below your size limit. File sizes use binary kilobytes: 1 KB = 1,024 bytes, so a 20 KB target is at most 20,480 bytes. A result can be smaller than the target. The final file is a JPEG, and transparent pixels are filled with white. Compression can reduce sharpness, so check the preview before downloading.
Resize a photo in pixels or cm using DPI
Leave width and height blank to start with the source dimensions. Enter only width or height to preserve the image proportions. Enter both for exact starting dimensions, which may change the proportions; compression can reduce them further to meet the file-size limit. For example, setting a 1,200 × 800 image to 600 px wide starts at 600 × 400 px. Centimetres are converted to pixels using your DPI value; the downloaded JPEG does not store print-resolution metadata.
File privacy and limits
The image is decoded, compressed, and previewed in this browser. It is not uploaded. PNG, JPEG, and WebP inputs up to 30 MB are supported, with a maximum of 40 megapixels and 10,000 pixels on either side. Generic size presets do not guarantee that an image meets any exam, application, or other organization’s requirements.