Back to AllToolio

Resize image: pixels, percentage or file size in KB

Resize an image or photo and save it as JPG, PNG or WebP: set pixels, a percentage or a KB limit.

or drop or paste (Ctrl+V) images here

1 KB = 1000 bytes. For JPG and WebP, a target selects quality automatically and may reduce dimensions further. PNG ignores this setting. The target may not be reached.

Resize settings

Avoid enlarging small images: Contain adds margins without scaling up pixels; Fill and crop and Stretch may produce smaller dimensions. SVG scales freely, up to 4096 px on its longest side.

Presets select Exact size and Fill and crop. Disable “Do not enlarge” if a small image must fill the preset. The passport preset is 413 × 531 px, approximately 35 × 45 mm at 300 DPI. Set 300 DPI when printing; the preset does not write DPI metadata or check official photo requirements.

Enter whole pixel dimensions from 1 to 20000. Rendering is limited to 64 million pixels per image; available device memory may impose a lower limit.

Choose one or more images to start.

Everything runs in your browser. The converted file keeps the pixels only: EXIF data such as the camera model and the GPS position is not copied, and the EXIF orientation is already baked into the image.

Rename-only output is the exception: it preserves the original file bytes and all their metadata.

PNG preserves the decoded pixels but cannot recover detail already lost in the source. Animated images become a still image of the first frame. Very large batches depend on device memory.

Set dimensions and save resized images

  1. To resize image files, select your pictures and enter a width, or choose another resizing mode.
  2. Use longest side, height or percentage to preserve proportions, or press a quick size such as 1080, 1920 (Full HD) or 3840 (4K); for example, 4000 × 3000 at width 1000 becomes 1000 × 750.
  3. For exact dimensions, choose margins, a centred crop or stretching, or select a social media preset.
  4. Choose the output format and quality; optionally enter a JPG or WEBP target in KB instead of choosing quality manually.
  5. Read each result's dimensions and size, then download images separately or gather multiple results in a ZIP.

Common resizing tasks

  • Give mixed portrait and landscape photos the same longest-side limit.
  • Prepare Instagram, Facebook, X, YouTube or LinkedIn assets using the supplied dimensions.
  • Reduce a collection to 50% of its original width and height.
  • Try to resize image to 100 KB for a form with a strict upload limit.
  • Prepare the pixel dimensions for a 35 × 45 mm photo printed at 300 DPI.

Pixels, proportions and file limits

Are pixels and KB the same thing?

Pixels describe dimensions; KB describes stored data, with 1 KB equal to 1000 bytes. Similar dimensions can produce very different file sizes depending on content and encoding.

How do the exact-size options differ?

Contain adds margins, Fill and crop removes outer content centrally, and Stretch changes proportions. Margins use the selected colour for JPG and transparency for PNG or WEBP.

Can Do not enlarge change a preset's dimensions?

Yes. Cropping or stretching may return smaller dimensions when the source is too small. Contain keeps the requested canvas and adds margins without enlarging the picture.

Is the passport preset a verified passport photo?

It sets 413 × 531 pixels, approximately 35 × 45 mm at 300 DPI. Set the print resolution yourself; DPI metadata and official photo compliance are not provided.

Will the KB target always be reached?

JPG and WEBP targets adjust quality and may shrink dimensions further, but a warning appears if the limit is missed. PNG ignores targets; WEBP encoding requires Chrome, Edge or Firefox rather than Safari.

What should I check before a large batch?

Check crops and output transparency first: JPG replaces transparent areas with a background colour. Re-encoding removes metadata, animations become first-frame stills, and device memory limits batch size.

Built-in size presets

Instagram post 1080 × 1080, Instagram portrait 1080 × 1350, Instagram story 1080 × 1920, Facebook post 1200 × 630, X post 1600 × 900, YouTube thumbnail 1280 × 720, LinkedIn post 1200 × 627, passport photo 413 × 531. A preset uses Exact size with Fill and crop, which crops the centre; turn off Do not enlarge if a small image must fill it.

Resize a photo to 100 KB

Choose JPG or WebP, type 100 in Target size (KB) and add the photo. The tool lowers quality and, if needed, the pixel size, then warns you when 100 KB could not be reached. In that case enter a smaller Longest side value or a larger target.

Tools for the next image task

Image tools

This season