Free browser tool

Image optimizer

This free image optimizer resizes photos and exports WebP, JPG or PNG. Compare the file sizes, then download the result or host it.

Free · No sign-up · Optional hosting

Image optimizer

Loading the tool…

How to use image optimizer

  1. Choose an image from your device.
  2. Set the size and pick WebP, JPG or PNG. WebP at 80% quality is the default.
  3. Create the image, compare the sizes, then download or host it.

Optimize images by resizing first

A photo shown 800 pixels wide rarely needs a 6000-pixel export. Start with your display size, plus extra pixels for high-density screens or zoom. Keep the original for printing and future edits.

Check the details that matter

Look at hair, foliage, fabric, text and smooth skies when judging compression. Smaller dimensions and lower JPG or WebP quality reduce file size, but the best setting depends on the image. An already efficient source can even get bigger, so check the comparison.

Convert JPEG or PNG to WebP

Choose a JPEG or PNG, keep its size or resize it, and export WebP. WebP can keep PNG transparency, but re-encoding a JPEG can't restore detail it already lost. Check small text and sharp edges, and keep the source if you need a lossless copy. Image converter

Output formats

Each format suits a different job:

  • WebP: compact, keeps transparency and uses the quality setting.
  • JPG: uses the quality setting. Transparent areas get your background color, white by default.
  • PNG: lossless and keeps transparency. It has no quality setting.

Animated images become a single still frame.

References

Common questions

Will this change my original photo?

No. The tool makes a separate WebP, JPG or PNG. Your original stays unchanged on your device.

Can I compress an image to an exact number of kilobytes?

There's no exact size target. Adjust the dimensions and, for JPG or WebP, the quality, then check the measured size until it fits.

Does optimization remove metadata?

The new image is made from decoded pixels rather than copied from your file. Don't rely on it to keep camera metadata, embedded profiles or editing history.

Which files can I open?

JPEG, PNG, WebP, AVIF, GIF, BMP, SVG and supported HEIC/HEIF still images. AVIF, GIF, BMP and SVG support varies by browser. HEIC/HEIF uses your browser's decoder when available, with a fallback that also runs on your device. Convert TIFF, RAW camera files and unsupported HEIF codecs in another app first. If your browser can't export the format you chose, you'll see an error rather than a different format.

What are the limits?

The optimizer works with:

  • Still images only.
  • Files up to 64 MiB.
  • Input and output up to 8192 pixels per side and 32 megapixels.
How does hosting on FooPixel work?

Choose Host on FooPixel in the output preview to get a public URL, with or without an account. Only that output is uploaded, and it is checked before it goes live.

  • Visitors: up to 5 MB per upload; links expire after 24 hours.
  • Free accounts: up to 20 MB per upload and 3 GB of storage, with no routine expiry for eligible active accounts.
  • Images: visitor images are optimized at up to 2000 pixels wide. Free accounts can turn optimization off, but originals wider than 2000 pixels then need a resize request or are rejected. PRO accounts have no width cap, subject to file and processing limits.
  • MP4 and GIF: up to 60 seconds and 2000 pixels per side. Hosted MP4s are re-encoded, so appearance and file size may change.
  • Video and GIF uploads go through visual moderation, which does not check every frame or the audio.

Account optimization may encode the output again, so keep your download if you need the exact file. See current limits and plans.

Is it free and private?

Yes. Processing and downloads are free, with no account. Your browser may download the tool's software, but your file stays on your device. Only Host on FooPixel uploads anything: the finished output, which becomes public once it passes checks.