Image Format Converter
Convert a picture between JPEG, PNG, WebP and AVIF, with a quality slider and a before-and-after size.
Convert
JPEG suits photographs, PNG keeps sharp edges and transparency, and WebP is usually the smallest of the three. AVIF is used only when the browser can encode it.
Result
Input—
Output—
Change—
History for this tool
The most recent data you entered in this tool, stored only in this browser.
Save what you type here, in this browser? Your work would go into this browser's local storage, so a refresh or a trip to another tool does not wipe it. You also get a short list of previous entries under the form, each one restorable with a click. Nothing is ever uploaded, and there is no account.
Being straight about the trade-off: anything kept there can be read by anyone who can use this browser profile, and by any script that later runs on this site. A tool page can hold a private key, a password or a signed token. Saving is convenient; it is not private.
About this tool
Save a picture in another format so it fits where it is going. JPEG keeps photographs small, PNG keeps sharp edges and transparency, WebP often beats both, and AVIF is offered when the browser can actually write it.
Questions
- Why is AVIF marked as not supported?
- Encoding AVIF is left to the browser, and some browsers can decode it without being able to write it. The page encodes one pixel and checks what format comes back before offering the choice.
- What happens to transparency in a JPEG?
- JPEG has no alpha channel, so a transparent area has to become something. A white layer is laid down first, which is the usual choice for a photo going to a place that expects a solid background.
- Which format should I pick?
- Photographs are usually smallest as WebP or JPEG. Screenshots, diagrams and anything with text or a transparent background hold up better as PNG, and the size shown for each choice makes the trade visible.