Skip to content

PNG to WebP Converter

Short answer

Convert PNG, JPEG, GIF, BMP, AVIF and WebP images to WebP, JPEG or PNG and resize them, several at once, in your browser. Nothing is uploaded.

What it does not do: It cannot create AVIF files, Safari returns PNG instead of WebP, and metadata such as EXIF and GPS location is not kept.

Free · No signup · Runs in your browser
Convert to

For WebP and JPEG. Lower values give smaller files with more visible artifacts.

Leave both empty to keep the original size. Images are scaled down to fit, never enlarged, and keep their proportions.

Images are converted in your browser and never uploaded.

What It Does

Converts images to WebP, JPEG or PNG and can scale them down to a maximum width or height. It reads PNG, JPEG, WebP, GIF, BMP and AVIF files, several at a time, and does all the work in your browser: the images are never uploaded.

Why It Matters

Images are often the heaviest part of a page. WebP files are usually smaller than JPEG or PNG files of similar visual quality, and scaling an image down to the size it is displayed at saves even more. Smaller images load faster, which helps Largest Contentful Paint when an image is the largest element on the page.

How It Works

  1. Choose images or drop them on the page

  2. Pick WebP, JPEG or PNG, set the quality and, if you like, a maximum width or height

  3. Your browser decodes each image, scales it down if needed and saves it in the new format

  4. Compare the sizes before and after, then download each file

Sample input + output

INPUT
files: tools.png, guides.png (this site's 1200×630 social images)
convert to: WebP · quality 80 · max width 800 px
OUTPUT
2 image(s) · 443.6 KB → 26.7 KB

tools.webp    292.5 KB  1200×630  →  13.0 KB  800×420   -96%
guides.webp   151.1 KB  1200×630  →  13.7 KB  800×420   -91%

How to read the result

Total line (2 images · 443.6 KB → 26.7 KB)
How many images were converted and their combined size before and after. In the sample, two 1200 × 630 PNG graphics from this site, converted to WebP at quality 80 with a maximum width of 800 px.
Before (292.5 KB, 1200 × 630)
The original file's size and its dimensions in pixels, as your browser read them.
After (13.0 KB, 800 × 420)
The new file. It is smaller in pixels too because a maximum width was set: images are scaled down to fit, keep their proportions and are never enlarged. Leave both size fields empty to keep the original dimensions.
Change (−96%)
The saving for each file. Flat graphics with text and few colours, like the sample, shrink dramatically; photos shrink less. Google reports that lossy WebP files are 25–34% smaller than comparable JPEGs, so a few dozen per cent is a normal result for a photo.
Quality and the notes under the table
Quality (40–100) applies to WebP and JPEG; PNG is always lossless. Converting drops metadata such as camera details and GPS location, keeps only the first frame of an animated GIF, and fills transparent areas with white in JPEG, which has no transparency.

Who Uses This

  • Blogger

    Turn the PNG screenshots for a new post into WebP before uploading them.

  • Online shop owner

    Shrink product photos taken with a camera to the width the product page actually shows.

  • Web developer

    Create WebP and JPEG versions of the same image for a <picture> element.

Common problems and how to fix them

  1. Heavy images on a page

    Convert photos to WebP at quality 75–85 and scale them to the largest size they are shown at, about twice the CSS width for sharp screens. That usually saves more than any other change to an image-heavy page.

  2. Old browsers or tools that need JPEG

    Every current browser shows WebP. If an email client, CMS or partner still needs JPEG, serve WebP with a JPEG fallback in a <picture> element.

    <picture>
      <source srcset="/img/team.webp" type="image/webp">
      <img src="/img/team.jpg" alt="Our support team" width="800" height="420" loading="lazy">
    </picture>
  3. Blurry text or visible artifacts

    Raise the quality, or keep screenshots and images with fine text as PNG or lossless WebP. Check the result at 100% zoom before you publish it.

  4. Transparency turned white

    JPEG cannot store transparency. Convert logos and cut-out images to WebP or PNG instead.

  5. The page still shifts or loads late

    Give every image width and height attributes so the layout does not jump, and add loading="lazy" to images below the first screen. The image compression checker on this site counts the images that miss them.

    <picture>
      <source srcset="/img/team.webp" type="image/webp">
      <img src="/img/team.jpg" alt="Our support team" width="800" height="420" loading="lazy">
    </picture>

Frequently Asked Questions

Are my images uploaded?
No. Decoding, resizing and saving all happen in your browser, and the files never leave your device.
Why did I get a PNG instead of a WebP file?
Some browsers, Safari among them, cannot create WebP files and return a PNG instead. The tool tells you when that happens; a current Chrome, Edge or Firefox creates WebP.
Does converting keep EXIF data?
No. Saving the image again removes metadata such as camera details and GPS location. The image is first rotated according to its EXIF orientation, so it still shows the right way up.
Which quality setting should I use?
Start around 80 and compare the result with the original. Lower values give smaller files with more visible artifacts. The setting does not apply to PNG, which is lossless.
Can it convert to AVIF?
Not yet. Browsers can display AVIF, but none can create AVIF files from a web page, so the tool offers WebP, JPEG and PNG.

Sources

The documentation this tool and the explanations on this page are based on.