Skip to content

Resize and Compress to Size Limits

Set max width, max height and max KB — get a file that passes any upload form.

Drop an image here

or choose files from your device

You can also paste an image with Ctrl+V

JPG, PNG, WebP, AVIF, HEIC, GIF · up to 100 MB

Your images are processed locally in your browser and are not uploaded.

Application portals, visa forms and marketplaces often require something like “max 1200 × 1200 px and under 200 KB”. Enter the limits and PhotoTools scales the image to fit, then finds the best quality that stays under the size limit.

How to resize and compress an image to a size limit

  1. Step 1

    Add your photo or scan.

  2. Step 2

    Enter the maximum width, height and file size required by the form.

  3. Step 3

    Download the image that meets all three limits.

Why use PhotoTools

All limits at once

Dimensions and file size are handled together, so you don’t have to guess.

Best possible quality

The encoder searches for the highest quality that still fits the limit.

Private

ID photos and documents are processed on your device and never uploaded.

Supported formats

Input

  • JPG
  • PNG
  • WebP
  • AVIF
  • HEIC
  • GIF
  • BMP
  • TIFF
  • PSD
  • RAW

Output

  • JPG
  • WebP
  • PNG

Frequently asked questions

What if the limit is impossible to reach?

PhotoTools gradually reduces the dimensions until the file fits, and tells you what it changed.

Which format should I use for forms?

JPG is accepted almost everywhere. Use it unless the form asks for PNG.

Does this change the aspect ratio?

No. The image is scaled proportionally to fit inside the maximum width and height.

Are my images uploaded to a server?

No. This tool runs entirely in your browser using WebAssembly. Your images never leave your device, and nothing is stored.