Image Tools · · 4 min read
How to Convert PNG to JPG or WebP (and Back)
Switch an image between PNG, JPG and WebP in your browser with the free Convert Image Format tool — no upload, with quality and background controls.
To convert an image's format, open Convert Image Format, pick PNG, JPG or WebP under Convert to, and download the result. The tool re-encodes the image at its original pixel dimensions — nothing is uploaded, and nothing changes but the file format.
What this tool actually does
Convert Image Format takes whatever image you load and re-draws it as a new file in the format you choose: PNG, JPG, or WebP (the default). It doesn't resize anything — the output keeps the exact width and height of the source image. Two other settings matter depending on which format you pick:
- Quality — a slider from 0.1 to 1 in steps of 0.05, defaulting to 0.9. This only affects JPG and WebP, which use lossy compression. PNG is always lossless, so the slider has no effect on a PNG output.
- JPG background — a color picker defaulting to white (#ffffff). JPG has no transparency channel, so if the source has any transparent or semi-transparent pixels, the tool fills them with this color before saving as JPG. This setting is ignored for PNG and WebP output, since both support transparency.
How to convert an image's format with Toolbench
- Open Convert Image Format.
- Drop in an image, paste one from your clipboard, or click to choose a file.
- Under Convert to, choose PNG, JPG, or WebP.
- If you chose JPG or WebP, adjust Quality (default 0.9) — lower values mean a smaller, more compressed file.
- If you chose JPG and your source has transparency, set JPG background to the color you want behind it (default white).
- Check the result for the new file size, then download it — or sign in to save it to your Gallery.
A worked example
Start with a 1,600 × 900 PNG screenshot that has a transparent corner, and the default settings (Convert to: WebP, Quality: 0.9):
- Output is a 1,600 × 900 WebP file — same dimensions as the source.
- Because WebP supports transparency, the transparent corner stays transparent; JPG background is irrelevant here since it only applies to JPG output.
- Quality 0.9 applies WebP's lossy compression, typically producing a noticeably smaller file than the original PNG with little visible quality loss.
Now switch Convert to to JPG with the same source and the default white background: the output is a 1,600 × 900 JPG, and the transparent corner is filled solid white, because JPG can't represent transparency at all.
Why convert formats at all
- PNG is lossless and supports transparency — best for screenshots, logos, icons, and anything with sharp edges or text.
- JPG is lossy and has no transparency — best for photos where small file size matters more than perfect edges.
- WebP is lossy (or can be lossless, though this tool always encodes it lossy via the Quality slider) and supports transparency — often smaller than both PNG and JPG at a similar visual quality, which is why it's the tool's default.
Format comparison
| Format | Transparency | Compression | Typical use |
|---|---|---|---|
| PNG | Yes | Lossless | Screenshots, logos, graphics with text |
| JPG | No | Lossy | Photos, where file size matters more than crisp edges |
| WebP | Yes | Lossy | Photos and graphics where you want a smaller file than PNG/JPG |
Common mistakes
- Converting a transparent PNG to JPG and being surprised the transparent areas turned a solid color. JPG can't store transparency — set JPG background first if you don't want white.
- Expecting the Quality slider to shrink a PNG output. PNG is always lossless in this tool, so Quality only changes the result when converting to JPG or WebP.
- Expecting the image to resize. This tool only changes format, not pixel dimensions — use Resize Image if you also need a different size.
Related tools
- Resize Image — change pixel dimensions, with the format changeable at the same time.
- Compress Image — shrink file size with quality control and an optional max width, limited to WebP and JPG.
- Image to Base64 — encode an image as a data URI for CSS, HTML or JSON, with the same format and quality options.
- Favicon Generator — generate PNG favicons and app icons from an image.
Frequently asked questions
Does converting an image's format change its dimensions?
No. Convert Image Format only changes the file format — the output keeps the exact width and height of the source image. Use Resize Image if you also need to change the pixel size.
What happens to transparency when I convert to JPG?
It's filled in with the color set in JPG background (white by default), because JPG has no transparency channel. Converting to PNG or WebP keeps transparency intact.
Does the Quality slider affect PNG output?
No. PNG is always lossless in this tool, so Quality only changes the result when you convert to JPG or WebP.
Which format should I pick: PNG, JPG, or WebP?
Use PNG for screenshots, logos or graphics with sharp edges or text that need to stay lossless. Use JPG for photos where smaller size matters more than transparency. Use WebP, the tool's default, when you want a smaller file than PNG or JPG while keeping transparency support.
Is my image uploaded anywhere when I convert it?
No. The conversion happens in your browser on your own device. The only way a copy is stored elsewhere is if you sign in and choose to save the result to your Gallery.
More guides
- How to Adjust Brightness, Contrast and Color of a PhotoBrighten, sharpen contrast, boost saturation, shift hue, or add grayscale, sepia, blur and invert to a photo for free, right in your browser.
- How to Rotate and Flip an Image OnlineRotate a photo in 90° steps or mirror it horizontally and vertically for free in your browser, with the canvas resized automatically so nothing crops.
- How to Add a Watermark to an Image OnlineStamp a text watermark onto any photo with position, size, opacity and color controls, free in your browser with nothing uploaded.