Image Converter – JPG to PNG, PNG to JPG, WebP to JPG and More

Drop in one image or a whole folder of them and pick the format you need: JPG, PNG, WebP or AVIF.

Convert to

For JPG, WebP and AVIF. 90 or more keeps the conversion close to invisible.

JPG has no transparency, so transparent pixels are filled with this colour.

Drop images here, paste one, or click to choose

JPG, PNG, WebP, AVIF, GIF, BMP, SVG or HEIC (Safari), as many as you like

Your images never leave your device: everything happens in this browser tab, nothing is uploaded.

Each file is converted right away, with a preview, its size before and after, a download button, and a ZIP for the whole batch. It handles the everyday cases: a WebP saved from a website that your editor refuses to open, an iPhone photo for a form that only takes JPG, or a logo that needs to stay transparent as a PNG. The conversion runs in your browser, so your images are never uploaded.

How it works

First the tool reads the first bytes of each file, its "magic number", to find the real format. A file named photo.jpg that is really a PNG is treated as a PNG, which avoids most "this file is damaged" surprises. Then your browser decodes the image. Photos are turned upright from their EXIF orientation (with createImageBitmap, or an ordinary image element on older browsers), so a portrait shot from a phone doesn't come out sideways. SVG files are drawn through an image element; an SVG without a set size is drawn 1024 pixels wide. The picture is painted onto a canvas at exactly the same pixel size and saved again with the browser's own encoder (canvas.toBlob) in the format you chose. JPG, WebP and AVIF use the quality slider, 92 by default; PNG is lossless and ignores it. JPG cannot store transparency, so transparent pixels are filled with the background colour you pick, white unless you change it. WebP and AVIF are offered only where your browser can actually write them: the tool tests this when the page loads and greys out a format it can't save. The new file keeps its name with the new extension (holiday.webp becomes holiday.jpg). Metadata such as EXIF camera data and GPS location is not copied over. You can read JPG, PNG, WebP, AVIF, GIF, BMP, SVG and ICO files; TIFF and HEIC open only in browsers that decode them, which in practice means Safari.

Worked example

Say you have a company logo as a PNG, 800 × 800 pixels with a transparent background, and a letter template that only accepts JPG. Choose JPG, leave the background on white and drop the file in. You get logo.jpg, still 800 × 800 pixels, with white where the transparency was. If the letterhead is light grey, pick that grey instead so the logo blends in. Second case: a product photo saved from an online shop arrives as a WebP, 1200 × 800 pixels, and your photo editor won't open it. Choose JPG at the default quality of 92 and you get a JPG of the same 1200 × 800 pixels that opens anywhere. Expect the JPG to be somewhat larger than the WebP, since WebP compresses better; that is normal and not a sign of lost quality. Going the other way, from JPG to PNG, keeps every pixel of the JPG exactly as it is, but the PNG is usually several times larger, because PNG is lossless and photos have a lot of fine detail.

Which format to choose

Every format here opens in all current browsers, phones and image editors, AVIF aside on some older software. Converting a lossy file (JPG, WebP) to PNG does not bring lost detail back; it only stops further loss.

FormatTransparencyBest for
JPGNoPhotos you share, print or send by email: opens everywhere
PNGYesScreenshots, logos, text and graphics with sharp edges; lossless
WebPYesWebsites: smaller than JPG at the same quality
AVIFYesWebsites that want the smallest files; slower to save
GIFYes (on or off)Simple animations; only 256 colours, so not for photos (read here, not written)
HEICNoiPhone photos; opened here only in Safari, then saved as JPG or PNG

Frequently asked questions

Does converting a JPG to PNG improve the quality?

No. A JPG has already thrown away some detail when it was saved, and PNG cannot bring it back. The PNG only stops further loss if you edit and save the image again and again.

Why did my transparent background turn white?

JPG has no transparency, so every transparent pixel has to get a colour. The tool uses the background colour you choose, white by default. To keep transparency, convert to PNG, WebP or AVIF instead.

How do I convert WebP to JPG?

Choose JPG, then drop your WebP files in. Each one is saved as a JPG with the same name and pixel size, and you can download them one by one or all together as a ZIP.

Can I convert iPhone HEIC photos to JPG?

Yes, in Safari on a Mac, iPhone or iPad, which can decode HEIC. Chrome, Edge and Firefox cannot read HEIC files, so there the tool tells you it can't open them. On an iPhone you can also set Camera, Formats to Most Compatible to shoot JPG directly.

What happens to an animated GIF?

Only the first frame is converted. The result is a still image in the format you picked.

Why can't I choose WebP or AVIF?

Your browser can't write that format, so the option is greyed out. JPG and PNG work in every browser; try another browser if you need AVIF.

Are my images uploaded anywhere?

No. Everything happens in this browser tab and the files never leave your device. You can even disconnect from the internet once the page has loaded.