How to convert PNG to JPG, WebP to PNG and other pairs
- Click Select image and pick a PNG, JPEG or WebP file from your device.
- Choose the target format in Convert to: JPEG, PNG or WebP. JPEG is preselected, so a PNG becomes a JPG as soon as it loads.
- For JPEG and WebP, set Lossy quality with the slider. It runs from 5% to 100% and starts at 92%. The slider is hidden for PNG because PNG output is lossless.
- If the source has transparent pixels and you picked JPEG, choose White or Black under Choose a JPEG background. Until you choose one, the tool shows an error instead of converting.
- Check the Source and Output lines in the result panel, then click Download. The file is saved as
converted-image.jpg,converted-image.pngorconverted-image.webp.
The image converts again every time you change the format, the quality or the background, so you can compare settings without uploading the file again. The pixel dimensions stay the same. The tool changes only the file format and its compression, not the image size.
Reading the size difference
The Source and Output lines show width × height, file size and MIME type. The size difference is the percentage change from the original file to the generated file, rounded to one decimal place. A negative number means the new file is smaller. The real output size depends on the image content and on your browser's encoder, so the rows below are example byte counts. They show how the tool formats sizes and calculates the percentage:
| Example conversion | Source size | Output size | Size difference shown |
|---|---|---|---|
| PNG → JPEG | 2.4 MB (2,516,582 B) | 627.0 kB (642,000 B) | -74.5% |
| JPEG → PNG | 1.1 MB (1,153,434 B) | 1.7 MB (1,830,000 B) | +58.7% |
| PNG → WebP | 47.1 kB (48,213 B) | 31.1 kB (31,870 B) | -33.9% |
The JPEG → PNG row shows a common surprise. Converting a JPEG photo to PNG usually makes the file larger, and it doesn't restore any detail that JPEG compression already removed. PNG keeps every decoded pixel exactly, including the existing compression artifacts.
Which format to pick
- PNG to JPG: good for photos that will be emailed or uploaded to a form that accepts only JPG. For screenshots with text, keep PNG or use WebP, because JPEG adds visible artifacts around letters and thin lines. Switch a screenshot to JPG only when a form requires it.
- WebP to PNG: good when an editor, CMS or older app rejects WebP files downloaded from a website. The PNG output is lossless and keeps transparency.
- WebP to JPG: for upload forms that accept only JPEG. If the WebP has a transparent background, choose white for documents and light pages, or black for dark designs.
- PNG or JPEG to WebP: for web pages where file size matters. WebP supports both lossy compression and transparency, so a transparent logo stays transparent.
Semi-transparent pixels, such as anti-aliased edges or soft shadows, are blended into the background you choose. A shadow on white turns grey, and that can show as a halo if the JPEG later sits on a coloured page. In that case, keep PNG or WebP. The W3C PNG specification describes how alpha is stored in PNG.
Limits and when to use another tool
- Input formats: only PNG, JPEG and WebP are accepted. HEIC, GIF, AVIF, BMP, TIFF and SVG files are rejected with an error message.
- Size limits: 20 MB per file and 40 megapixels. A 6000 × 4000 camera photo (24 MP) is fine. An 8000 × 5000 image is exactly at the limit, and anything larger is refused.
- Metadata and file name: the image is redrawn before encoding, so EXIF data such as camera details and GPS location is not copied to the new file. The download is always named
converted-imagewith the new extension, so rename it afterwards if the original name matters. - One file at a time: to convert up to 20 images at once, use Batch image resizer and set Output format. That tool also resizes every image to a target width and height, and it processes the files on the MyToolkit.pro server instead of in your browser.
- Smaller dimensions: to reduce the file size by changing width and height, use Image Resizer.
- Smaller file, same dimensions: Image Compressor offers the same quality control and can also output AVIF in browsers that can encode it.
- Output support depends on the browser: the file is encoded by your browser, so WebP output requires a browser that can encode WebP from a canvas.
If you need to get under an upload limit and changing the format isn't enough, Image too large to upload? What actually makes the file smaller explains which changes affect file size the most.