How to use the Image converter tool
- Choose the source picture under Image file.
- Pick PNG, JPEG or WebP under Output format.
- To downscale, type a pixel value in Maximum width or height (optional). Leave it empty to keep the original dimensions.
- For JPEG or WebP output, adjust Quality % (JPEG or WebP). PNG ignores this value.
- Select Export image, check the preview and the reported sizes, then select Download.
How the image converter works
Changing an image format is never a simple rename. The browser decodes the source into raw pixels, the tool draws those pixels on a canvas, and the canvas encoder writes a new file in the target format. Because only pixels cross over, metadata such as EXIF tags is not copied, and a lossy target recomputes the picture at the quality you set.
The source type is identified from the first bytes of the file, not from its extension. A JPEG named photo.png still converts. A file that is not PNG, JPEG, WebP, AVIF, GIF or BMP stops with the message Choose a PNG, JPEG, WebP, AVIF, GIF or BMP image.
PNG, JPEG or WebP: picking the output
The three targets behave differently, and the right one depends on the content.
- PNG is lossless and keeps transparency. It suits screenshots, diagrams and logos, and gets very large for photos.
- JPEG is lossy and has no alpha channel, so transparent pixels are placed on a white background. Almost every program opens it.
- WebP is lossy at the chosen quality and keeps transparency. It is usually the smallest of the three and works in all current browsers.
Worked example: one screenshot, three formats
A 3000 × 2000 PNG screenshot with flat colors, 23,449 bytes, was exported in Chrome with a maximum side of 1200 and quality 80. The panel below is the JPEG result. With the same settings WebP gave 5,592 bytes and PNG gave 24,025 bytes.
The JPEG has fewer pixels than the source and is still more than twice its size, because sharp edges and text are what a block transform handles poorly. The opposite happens with photos: a 4032 × 3024 JPEG of 1.8 MB became a 16.7 MB PNG in the same test.
Output format: JPEG, Maximum width or height: 1200, Quality: 80
1200 × 800 pixels
Original: 23449 bytes
Output: 53543 bytesLimits and conversion problems
A handful of rules in the code explain most surprises people run into.
- The source may be up to 30 MiB and the result must fit within 24 megapixels.
- The size field only shrinks. A limit above the current size leaves the picture unchanged.
- JPEG downloads use the .jpeg extension.
- HEIC, TIFF and SVG are not accepted.
- If the browser has no encoder for the target, the tool reports that it could not save that image type.
Frequently asked questions
How do I convert WebP to PNG or JPG?
Choose the WebP file, set Output format to PNG or JPEG and select Export image. Pick PNG if the picture has transparency you want to keep, since the JPEG export fills transparent areas with white.
Does converting a JPEG to PNG improve its quality?
No. The PNG stores the already compressed pixels without further loss, but the detail JPEG removed is gone. The file usually becomes several times larger with no visible gain.
What happens to transparency when I convert PNG to JPEG?
JPEG has no alpha channel. Before encoding, the tool fills the canvas with white, so every transparent or semi-transparent area is blended onto white in the result.
Can I convert HEIC or SVG images with this tool?
No. The accepted inputs are PNG, JPEG, WebP, AVIF, GIF and BMP. The check reads the file signature, so changing the extension of a HEIC or SVG file does not get it through.
Can it convert an animated GIF to animated WebP?
No. Only the first frame is decoded, and the export is a single still image. Animation and frame timing are not carried over.
Are my images sent to a server for conversion?
No. Decoding, resizing and encoding all run in the page with the canvas API. The source file and the converted copy never leave your computer.