Index / Media
Image Format Converter
PNG, JPEG and WebP, in any direction, re-encoded by your own browser. The quality setting and the resulting file size update as you move the slider.
The image does not leave your browser.
It is decoded, drawn to a canvas and encoded again in this tab. The page
has no network code, and the site's content security policy sets
connect-src 'none', so it could not upload the file even if
it tried. Nothing about the image is put in the URL either.
Source image
Drop an image here, or choose a file.
Output
Lossy. Every re-encode loses a little more.
1 is smallest and worst, 100 is largest and best.
PNG ignores this setting; it is lossless.
JPEG has no alpha channel. Transparent pixels are
painted onto this colour before encoding.
Leave empty to keep the original size. Only ever
scales down; a value larger than the image is ignored.
Waiting for an image
--
Was
--
Output pixels
--
Result
What re-encoding through a canvas throws away
This tool decodes the image to pixels and encodes those pixels again.
Everything that was not a pixel is gone from the output:
EXIF (camera, timestamps, GPS), ICC colour profiles, XMP and
IPTC. Losing the metadata is often the reason people convert; losing the
colour profile is not, and a wide-gamut photo can come out looking flat,
because the numbers are kept and the instructions for reading them are
dropped. EXIF orientation is applied to the pixels first, so a
photo that relied on a rotation flag stays the right way up.
Choosing JPEG also discards the alpha channel, which is what the
background colour above is for.
Sizes here use 1 KB = 1,024 bytes.