Image Format Converter: Convert PNG, JPG, WebP and AVIF

On this page

     


    Image format decides how big a file is, whether it can have a transparent background, and where it will open. This page converts images between PNG, JPEG, and WebP (plus AVIF if your browser can create it) without uploading anything. The conversion happens on your device, and you see the before and after file sizes. Below the tool is a short guide to choosing a format and to what conversion can and cannot do.

    PNG JPG WebP Convert in your browser. Nothing is uploaded. compare sizes · keep transparency · choose quality
    Any image your browser can open can be saved in another format.

    Try it

    Choose one or more images to start.

      What conversion actually does

      Converting is not renaming. The browser reads the file, decodes it into a grid of pixels, draws those pixels onto a canvas, and then encodes the canvas again in the format you picked. Renaming photo.png to photo.jpg only changes the label, and many programs will refuse the result.

      Image filePNG, JPG, WebP… Decodeto raw pixels Canvasdraw the pixels Encodenew format Extra file data, such as camera metadata, does not survive this trip.
      The pipeline used by this tool, all inside your browser.

      Which format should you pick?

      FormatCompressionTransparencyGood for
      PNGLosslessYesScreenshots, logos, text, anything with sharp edges
      JPEGLossyNoPhotographs that must open everywhere
      WebPLossy or losslessYesWeb pages where file size matters; all current major browsers can show it
      AVIFLossy or losslessYesSmallest files for photos, but many browsers cannot create it, so the option appears only if yours can

      A practical rule: use PNG when exact pixels or transparency matter, JPEG when you need maximum compatibility for a photo, and WebP when you publish to the web and want smaller files. Google's WebP documentation lists its features, and MDN's image format guide covers browser support.

      Lossy versus lossless

      Lossless formats store every pixel exactly, so you can save and reopen them without damage. Lossy formats throw away detail the eye is unlikely to miss to make the file smaller. The Quality slider controls how much is discarded: lower numbers give smaller files and more visible artefacts. Many people find values around 75 to 85 an acceptable balance for photographs, but your own eyes are the test, so compare the result at full size.

      • Convert once, from the best source. Each lossy save discards more detail. Re-saving a JPEG repeatedly makes it steadily worse.
      • Going from JPEG to PNG does not restore anything. The PNG keeps the JPEG's flaws exactly and is usually much larger. The tool points this out when it happens.
      • A small, soft image stays small and soft. A format change cannot add detail. For that, see the guide to AI upscaling.

      Transparency and JPEG

      JPEG has no transparent pixels. When you convert a PNG or WebP with a see-through background to JPEG, those areas must become a solid colour. The tool fills them with the colour you choose, white by default.

      PNG with transparent background save as JPEG Same image, background filled
      Choose a fill colour that matches the page or document where the picture will be used.

      What gets lost

      • Metadata. Camera model, date, and GPS location are not carried over, which can help when you share a photo, but copyright notes are dropped too. To see what a file contains before converting, use the EXIF data viewer.
      • Animation. An animated GIF or WebP becomes a single still frame.
      • Vector qualities. An SVG is turned into pixels at its own size and will not scale cleanly afterwards.
      • Colour profile. Images in wide-gamut colour spaces may look slightly different after conversion.

      Limits of this tool

      • It can only convert what your browser can open. HEIC photos from many phones will not open in most browsers outside Safari.
      • Very large images may fail, especially on phones, because browsers limit canvas size. The tool reports an error instead of producing a broken file.
      • Encoders differ between browsers, so the same quality number can give a different file size in Chrome, Firefox, and Safari.
      • Output is not resized. To change dimensions, use the image resizing guide, and to flip or rotate first, try the image mirror and rotation tool.

      Further reading

      Post a Comment

      0 Comments
      * Please Don't Spam Here. All the Comments are Reviewed by Admin.

      In-Article Ad (Long Posts Only)