Skip to content
ToolShelf

Image format converter

Convert an image between PNG, JPEG and WebP in your browser, with the formats your browser can genuinely write checked at the time rather than promised in advance.

Your image

Your image stays in this tab. The work is done by JavaScript in your browser. None of it is uploaded, logged or saved, and the tool keeps working with the network off.

Convert to

Output format
90%

Only applies to JPEG and WebP. PNG is lossless and has no quality setting.

Converted

—

Choose an image and a format, and the result appears here.

Nothing is uploaded

The image is decoded and re-encoded by JavaScript in your own tab, and handed back as a download. There is no upload step because there is no code here that sends anything anywhere: load the page, turn off your network, and it converts exactly the same.

Browsers read far more formats than they write

This is the single most important thing about a browser-based converter, and most of them do not mention it.

Reading is broad: JPEG, PNG, WebP, GIF, BMP, ICO, SVG, AVIF on most browsers, HEIC on Apple devices. If your browser can display it, this can open it.

Writing goes through a canvas, and a canvas writes three formats: PNG, JPEG and WebP. That is the whole list, and it is why the output options here are short while the input accepts almost anything.

The failure this tool is built to avoid

Asked to write a format it does not support, a canvas does not raise an error. It quietly produces a PNG instead.

So a converter that offered AVIF output on a browser without an AVIF encoder would hand you a PNG named .avif, a file that opens nowhere and looks like a corrupted download. This asks your browser what it can actually write, disables anything it cannot, and checks the result’s own type before handing it over.

What every conversion costs

  • To JPEG, transparency goes. JPEG cannot store a transparent pixel, so see-through areas are filled with white, right for a logo on a light page, wrong anywhere else.
  • To a lossy format, detail goes. PNG to JPEG or WebP discards information permanently. Converting back does not bring it back.
  • Animation goes. A canvas holds one picture, so an animated GIF or WebP arrives as its first frame.
  • Metadata goes. EXIF, camera details, colour profiles and GPS coordinates are all dropped.

The tool works out which of these apply from the two formats and shows them before you convert, rather than as an apology afterwards.

JPEG to PNG does not repair anything

A common and understandable mistake. PNG is lossless, so converting a JPEG to one feels like an upgrade, but lossless means it preserves exactly what it is given, including every compression artefact the JPEG already has.

The result is a much larger file containing the same damage. Converting that way is worth doing when you need a format that holds transparency for further editing, and not otherwise.

SVG is a one-way trip

An SVG is a set of drawing instructions, so it stays perfectly sharp at any size. Converting it produces a fixed grid of pixels at one size, which blurs the moment anything enlarges it. There is no way back. The shapes are gone.

Which to choose

PNG for screenshots, logos, diagrams and anything containing text. JPEG for photographs going to someone whose software you do not know. WebP for photographs going onto a web page, where its 25–35% saving over JPEG is worth having and every current browser displays it.

Questions

Is my image uploaded to convert it?
No. The file is decoded and re-encoded entirely by JavaScript in your own browser tab. There is no upload step and no server involved. You can load the page, disconnect from the network, and convert an image anyway. Nothing is kept: close the tab and the converted file is gone.
Which formats can I convert to?
PNG, JPEG and WebP. That is what a browser canvas can write, and the tool checks your specific browser at the time rather than promising in advance. Input is much broader: anything your browser can open, including GIF, BMP, SVG, AVIF and, on Apple devices, HEIC.
Why can I not convert to AVIF, HEIC or TIFF?
Because browsers can read those far more widely than they can write them. It matters more than it sounds: asked for a format it cannot write, a canvas does not refuse, it quietly produces a PNG instead. A tool offering AVIF output on a browser without an AVIF encoder would hand back a PNG named .avif, which opens nowhere. Rather than do that, the unsupported format is disabled.
What happens to transparency when I convert to JPEG?
It is filled with white. JPEG cannot store transparent pixels at all, and a canvas left to itself would fill them with black, which is almost never wanted. White is right for a logo going onto a light page and wrong for one going anywhere else. If you need the transparency, convert to PNG or WebP instead.
Does converting lose quality?
It depends which way. Going to a lossy format, PNG to JPEG, or PNG to WebP, throws detail away permanently, and converting back does not recover it. Going the other way, JPEG to PNG, loses nothing but does not repair anything either: it stores the existing compression damage losslessly, and usually produces a much larger file for no gain.
Will an animated GIF still move after converting?
No. The conversion works through a canvas, which holds a single picture, so an animated GIF or WebP arrives as its first frame. This is a genuine limitation rather than a setting, keeping an animation means re-encoding every frame, which a canvas cannot do.
Does converting remove EXIF and location data?
Yes. Everything except the pixels is dropped: EXIF, camera and lens details, colour profiles, timestamps and any GPS coordinates. That is a side effect of going through a canvas rather than a feature that was built, but it is a useful one if you are about to share a photograph publicly.
Which format should I choose?
PNG for screenshots, logos, diagrams and anything with text or sharp edges, because it keeps every pixel exactly. JPEG for photographs going to someone whose software you do not know, because it opens in everything. WebP for photographs going on a web page, because it is usually 25 to 35% smaller than JPEG at the same visual quality and every current browser displays it.

More tools