Skip to content
Accessibility
Theme
Text size
High contrast
Limit animations
Readable fontAtkinson Hyperlegible
Increased text spacing
Underline links
Always show focus

Runs in your browser — nothing you paste is uploaded.

Image Resizer

Resize or compress an image — set a width, choose the format and quality, and download. The image is processed in your browser and never uploaded.

Drop an image here · or click to choose

What it does

Drop or choose an image, set a target width in pixels, and the tool draws it onto an HTML canvas at that size, then re-encodes the result as PNG, JPEG or WebP for download. By default the height scales proportionally so the aspect ratio is preserved; untick Keep aspect to force the original height and stretch the image instead. The result card shows the final dimensions, format and file size so you can see the saving at a glance.

Format and quality

PNG is lossless and keeps transparency — best for logos, icons and screenshots with sharp edges, but larger. JPEG is lossy with no transparency — best for photos, and it exposes a quality slider (0.1–1.0) that trades file size against artefacts. WebP is also lossy here and usually beats JPEG at the same quality, with transparency support; it is well supported in modern browsers. The quality slider only appears for JPEG and WebP because PNG has no lossy setting.

Gotchas

  • This resamples pixels — enlarging past the original width does not add detail, it just interpolates and looks soft. Downscaling is where you get real quality and size wins.
  • Re-encoding a JPEG as JPEG applies lossy compression a second time; for repeated edits keep a lossless master (PNG) and export JPEG/WebP only at the end.
  • Exporting a transparent PNG to JPEG flattens transparency (typically to black), since JPEG has no alpha channel. Use PNG or WebP if you need it.
  • EXIF metadata and colour profiles are dropped on re-encode, which also strips location data — handy for privacy, but don't rely on orientation tags surviving.

Worked example

A 4000×3000 photo straight off a phone might be several MB. Set the width to 1600, pick WebP and drop quality to around 0.8, and you will typically land well under a few hundred KB — plenty for a blog hero or product shot, with the height auto-set to 1200 to keep the 4:3 ratio. For smaller UI assets, resize to the exact pixel width your layout uses so the browser isn't scaling at render time.

Privacy

All resizing happens locally with the canvas API; the image is never uploaded.

Frequently asked questions

Will resizing to a larger width improve quality?

No. Upscaling interpolates existing pixels, so it cannot recover detail that isn't there and the image will look softer. Resizing is best used to shrink an image; its sharpness and size benefits come from downscaling.

Which format should I pick — PNG, JPEG or WebP?

Use PNG for graphics with sharp edges or transparency, JPEG for photos where small size matters, and WebP when you want the smallest photo at a given quality and your browsers support it. Only JPEG and WebP expose the quality slider.

Are the image's EXIF data and location stripped?

Yes. Because the image is redrawn onto a canvas and re-encoded, EXIF metadata including GPS coordinates and the colour profile are not carried over to the output. Orientation tags are also dropped, so verify rotation after export.

Related tools