IMAGE TOOL

PNG to JPG & WebP Image Converter

Convert PNG to JPG, WebP to JPG, WebP to PNG, or any image your browser can open to PNG, JPG or WebP, one file or a whole batch. Nothing is uploaded to a server.

PNG, JPG, WebP, GIF, BMP and other formats your browser can display. Files never leave your device.

JPG cannot store transparency, so see-through pixels are blended with this color. Without it they would turn black.

About this tool

This image converter handles the three most common conversions on the web: PNG to JPG, WebP to JPG and WebP to PNG. It also turns JPG into PNG or WebP, and opens GIF, BMP and any other format your browser can display. Choose several files to batch convert them with the same settings. Each file shows its size before and after, so you can see whether the new format actually helps. All the work happens in your browser, and no image is uploaded.

How to use the image converter

  1. Choose or drop one or more images.
  2. Pick the output format. JPG is selected by default.
  3. Set the quality for JPG or WebP, and the background color for JPG if your images have transparent areas.
  4. Download each file, or click Download all. Changing a setting reconverts every file.

How the conversion works

The browser decodes each file into plain pixels, draws them onto a canvas of the same width and height, and encodes the canvas with toBlob() in the format you chose. The quality slider's 10–100% maps to the 0.1–1.0 value that the HTML standard passes to lossy encoders. PNG is lossless, so it has no quality setting. The standard also says that if a browser cannot encode the requested type it must return PNG instead. The tool checks the type of every file it gets back and labels it truthfully, so you never get PNG data with a .webp name.

PNG vs JPG vs WebP: which to use

FormatCompressionTransparencyBest for
PNGLosslessYes, full alphaScreenshots, logos, text, graphics you will edit again
JPGLossyNoPhotos, and any app or site that accepts only JPG
WebPLossy or losslessYes, full alphaWeb pages, where smaller files load faster

Google's WebP documentation describes both lossy and lossless modes with transparency. Lossy means some detail is thrown away to save space, and the quality slider decides how much. Lossless means every pixel comes back exactly, which is why a PNG screenshot keeps crisp text.

Transparency and the background color

PNG and WebP keep transparent and semi-transparent pixels, so WebP to PNG and PNG to WebP need no background. JPG has no alpha channel. The HTML standard says a canvas saved in a format without alpha is composited onto black, which is why some converters give transparent logos a black box. This tool paints your background color first and then draws the image over it, so each pixel becomes alpha × image + (1 − alpha) × background. White is the default because most documents, email bodies and web pages are white, so the edge pixels blend in.

Worked example

Take a PNG with a fully transparent background and a pure red square at 50% opacity, rgba(255, 0, 0, 0.5). Convert it with the default settings: JPG, 92% quality, white background.

The width and height stay the same. To change them, use the Image Resizer.

Browser support for WebP output

Opening WebP files works in all current major browsers. Creating them is different. MDN's compatibility data lists WebP output from toBlob() in Chrome 50, Edge 79 and Firefox 96, and Safari on Mac and iPhone does not support it. Safari has been able to open WebP files since version 14 (on macOS 11 Big Sur or later) and on iOS 14. When the page loads, it tests whether your browser can encode WebP. If it can't, the WebP option is disabled and a message explains why. PNG and JPG output work everywhere.

Metadata, rotation and other limits

Common mistakes

If you only want a smaller file in the same format, the Image Compressor is built for that.

Frequently asked questions

How do I convert PNG to JPG without a black background?

Pick a background color before converting. JPG has no transparency, and the HTML standard says a canvas saved in a format without alpha is composited onto black, so this tool paints your chosen color first. White is the default, which suits most documents and web pages.

Can I convert WebP to PNG and keep transparency?

Yes. PNG and WebP both store an alpha channel, so transparent and semi-transparent pixels are kept when you convert between them. Only JPG output needs a background color.

Why can't I save as WebP in Safari?

Safari can open WebP images but, according to MDN's compatibility data, cannot encode them from a canvas. When a browser can't create the requested format it returns PNG instead, so the tool checks for WebP support, disables the option if it is missing, and suggests Chrome, Edge or Firefox.

Does converting an image remove EXIF and location data?

Yes. The tool redraws only the pixels onto a canvas and encodes a new file from them, so camera settings, GPS coordinates and other EXIF metadata in the original are not carried over. The original file on your device is unchanged, so keep it if you need that information later.

Can I convert several images at once?

Yes. Select or drop several files and each one is converted with the same settings. Download them one at a time, or use Download all, which saves them one after another. Your browser may ask once for permission to download multiple files.

Why is my converted JPG file larger than the original PNG?

JPG is designed for photos. Screenshots, logos and graphics with flat color and sharp text often compress better as PNG, so converting them to JPG can give a bigger file with blurry edges. Compare the sizes the tool shows and keep whichever format is smaller and looks right.

What quality setting should I use for JPG or WebP?

There's no single right number. Start at the default 92%, check the converted size against the original, and lower the slider until you notice softening around edges or text, then move back up a little. Photos tolerate lower settings well, while screenshots with text show artifacts sooner.