Toolivaro

Free Image Resizer

Resize JPG, PNG, WebP, and GIF images to any maximum dimension, preserving aspect ratio — on your device.

Processed locally in your browser

How is the result calculated?

Resizing a product photo for a listing

A camera photo is 4,000×3,000 pixels and 4.8 MB — too large for most marketplace listings. Resizing to fit within 1,600×1,600 pixels produces a 1,600×1,200 image; with a quality-oriented re-encode the file typically drops below 1 MB, which most platforms accept instantly.

Example input and output
Input Value
image 4,000×3,000 px · 4.8 MB
maxWidth 1600
maxHeight 1600
Result 1,600×1,200 px · typically < 1 MB

What is the formula and its assumptions?

Aspect-preserving fit

scale = min(maxWidth / width, maxHeight / height, 1)

Formula terms
Symbol Meaning
width, height the source image dimensions in pixels
scale applied to both dimensions — never stretches

The scale is capped at 1, so the tool never upscales images beyond their original resolution.

Output dimensions

output = (round(width × scale), round(height × scale))

Formula terms
Symbol Meaning
round to the nearest whole pixel

What are the most common mistakes?

  • Upscaling small images and getting blur — the resizer deliberately never enlarges.
  • Forgetting that GIF input is re-encoded as a single static frame, not an animation.
  • Using an online resizer that uploads the photo — this tool processes everything locally.

What are the assumptions and limitations?

  • Animated GIFs are converted to a single frame.
  • Input is limited to 25 MB to keep processing responsive; the tool is designed for typical photos, not RAW files.
  • Re-encoding removes embedded metadata by design (disclosed on the page).

Where do the numbers come from?

Last reviewed August 4, 2026 · Version 1.0.0 · Toolivaro does not guarantee external content.

Frequently asked questions

Will the image be stretched?

No — the resizer scales both dimensions by the same factor to fit inside your maximum box. The aspect ratio is always preserved; the result may be smaller than the box on one axis.

Does resizing upscale small images?

No. The scale is capped at 1, so an image smaller than your maximum dimensions comes out unchanged in size — enlarging a small photo would only blur it, which is worse than keeping it as-is.

What happens to EXIF and GPS metadata?

Re-encoding removes embedded metadata. The page discloses this on every result — if the metadata matters (for example for proof-of-origin or printing), keep the original file.

Found a mistake or have a correction? Report it — we review every correction.