Resize and compress images for the web

A 12 MB phone photo will slow any page it lands on. The fix is almost always the same two steps: resize to the size the site actually needs, then compress to a reasonable file size. ToolDeck has a dedicated tool for each step — here's when to reach for which.

Start with the target size, not the tool

Decide the dimensions first. A hero image might want 1600–2000px wide; a product thumbnail, 400–800px; an avatar, 256px. Resizing to exactly what the layout needs beats compressing a giant image and hoping for the best — smaller pixels are the single biggest win for page weight.

The three image tools, and when to use them

  • Image Resizer — exact pixel or percentage dimensions, aspect ratio locked by default. Use it when you know the target size. Upscaling is off by default on purpose: enlarging a small image just adds blurry pixels.
  • Image Compressor — hit a target file size (say, under 200 KB) and let it find the best quality setting. Best-effort: it reports honestly when a target can't be reached rather than silently missing it.
  • Image Converter — change format (JPEG, PNG, WebP). Reach for it when the destination demands a specific format — e.g. a form that only accepts JPG, or WebP for modern browsers.

A typical workflow

  1. Drop the photo into Image Resizer, set the width you need, keep the aspect ratio locked.
  2. Take the resized file into Image Compressor with a target size that fits your page budget.
  3. If the platform wants a different format, finish in Image Converter.
  4. Need a favicon or app icon from the same image? Favicon Generator produces the whole PNG set.

Format quick guide

  • JPEG — photos. Lossy, small, no transparency.
  • PNG — graphics, screenshots, anything with transparency. Larger files.
  • WebP — modern default: smaller than JPEG/PNG at similar quality. Check the destination supports it.

Watch for

  • EXIF orientation — phone photos often store rotation as metadata. The tools bake orientation into the pixels so the result looks right everywhere, including places that ignore EXIF.
  • Transparency — JPEG has none; converting a transparent PNG to JPEG fills it with a background colour you choose.
  • Re-compressing — JPEG→JPEG quality loss compounds. If you can, compress from the original once.

Related: Image Cropper for trimming before you resize, and Images to PDFwhen the deliverable is a document instead of a web asset.

Privacy settings

Checking…

We count anonymous tool use and coarse errors to improve ToolDeck. We do not send your files, pasted text, generated links, or results. Normal network delivery still exposes connection metadata to Cloudflare. Your choice is stored only in this browser's local storage — we do not create a visitor ID. Decline opts out; your browser's Global Privacy Control or Do Not Track signal overrides any choice.

Developer feedback