§ 11 — Tools / 20Photo files● Runs in your browser

Image resizer for the web

Resize and compress a photo for the web, compare quality against file size, and save it as JPEG or WebP without the file leaving your device.

All tools
The longer side of the photo is scaled to this many pixels.
Format
85
Original
—
Output
—
File size change
—

How it works

The method behind the numbers.

The photo is decoded in your browser, drawn onto a canvas at the new size, and encoded again by the browser's own JPEG, WebP or PNG encoder. Nothing is uploaded.

scale = min(1, edge ÷ long edge) size = round(width × scale) × round(height × scale) passes = halve while the long edge is more than 2 × the target
  • Never upscaled. If the chosen edge is longer than the photo, the photo keeps its size and is only re-encoded.
  • Step-down halving. Shrinking by more than 2× in one draw can leave jagged or shimmering fine detail, because the browser samples only a few neighbouring pixels. Halving first, then drawing the last step to the exact size, approximates averaging every source pixel and keeps detail cleaner.
  • Quality. JPEG and WebP quality runs 0 to 100, but the number is not comparable between formats or browsers. Use the size table to see what your browser produces. PNG is lossless, so it ignores quality and is usually much larger for photographs.
  • WebP. Most current browsers can encode it. When one cannot, the canvas silently returns a PNG; the tool detects that and says so.
  • What is dropped. The output carries no EXIF (camera settings, location) and no embedded colour profile; treat it as sRGB. Transparent areas become white in a JPEG.
Start inquiry