Image converter
Runs entirely in your browser. Your files and data never leave your device.
About this tool
This tool changes an image from one format to another. Pick a file, choose PNG, JPEG, or WebP, and download the result.
How does the conversion work?
For JPEG and WebP output you can set the quality, since both are lossy formats that trade file size for detail. PNG output is always lossless, there’s no quality slider for it because PNG doesn’t have one to set. The conversion runs on WebAssembly encoders from jSquash, the same codecs behind Squoosh, running in a Web Worker so even large photos convert in a second or two without freezing the page. The output file keeps the source name and just swaps the extension, so photo.png converted to JPEG comes out as photo.jpg.
Does the image get uploaded to convert it?
No. The browser decodes and re-encodes the image entirely on your own machine, nothing is sent to a server at any point, so a private photo stays private. Re-encoding also drops the EXIF metadata a camera or phone wrote into the original file, including GPS coordinates, which is worth knowing before you share a converted photo publicly since that metadata won’t be there anymore.
When do I actually need this?
Converting a WebP saved from a website into a PNG lets you open it in apps that don’t support WebP yet, which still trips up some older image editors and document tools. Turning a screenshot into a JPEG gets it small enough to email or attach where PNG would be too large, since PNG’s lossless compression keeps files bigger than a JPEG at a reasonable quality setting. Producing WebP versions of photos is a common step for speeding up a web page, since WebP files are usually smaller than the equivalent JPEG or PNG at similar visual quality, and most modern browsers display it without any special handling.
Choosing between the three formats mostly comes down to what you need from the file. PNG is the right call for anything with sharp edges or transparency, like icons, logos, or screenshots with text, since its lossless compression won’t blur fine detail. JPEG works well for photos where a little compression is invisible to the eye and file size matters more than pixel-perfect accuracy. WebP tries to get the best of both, supporting transparency like PNG while compressing more efficiently than JPEG for photographic content, which is why it’s become the default choice for web images. MDN has a good overview of the trade-offs between formats in its image file type guide.