Image Format Converter
Convert between image formats locally, and see which one is actually smallest.
The image is decoded and processed by your own browser. It is never uploaded, and no copy of it exists anywhere but this tab, you can confirm that in the DevTools Network tab while you work.
Choose an image to convert.
Features
- PNG, JPEG, WebP and BMP output
- Size comparison across every supported format
- Transparency detection with a configurable matte colour
- Quality control for lossy formats
- Nothing is uploaded
How to use it
- Drop in the image you want to convert.
- Check the comparison table to see which format is smallest.
- Pick a format and adjust quality if it is lossy.
- Download the converted file.
Choosing a format
The old rule was PNG for graphics, JPEG for photographs. WebP has largely superseded both: it does lossy and lossless compression, supports transparency and animation, and is typically 25% to 35% smaller than JPEG at equivalent quality. Every current browser supports it. AVIF is smaller still, often another 20% below WebP, though encoding is slower and browser support, while now broad, is not universal.
The important thing to understand is that converting a lossy image to a lossless one does not restore quality. Converting a JPEG to PNG produces a larger file containing exactly the same visible artefacts, because the information JPEG discarded is permanently gone. The PNG is faithfully reproducing a degraded image. Only convert to a lossless format if you started from one.
Transparency is the other trap. JPEG has no alpha channel, so any transparent pixel must be composited against something, this tool uses the matte colour you choose, defaulting to white. Without that step transparent areas typically turn black, which is a common and jarring surprise. BMP is included mainly for completeness: it is essentially uncompressed, so files are enormous, and it is only worth using for legacy systems that require it.
Frequently asked questions
Related tools
Further reading
Read the full guide on the 123MiniApps blog.