Skip to content

PNG to WebP Converter

PNG to WebP is a free online conversion that turns your PNG into a WebP file with the same pixel size. This PNG to WebP converter keeps transparency by default, and you can change the quality or pick lossless output before you convert. The free web tool needs no account, and you can download the result when it is ready.

  • Free web tool: up to 5 MB per image, 30 images per day per visitor, and up to 16 MP (4096 x 4096) per image.
  • Lossy WebP loses some detail each time it is saved. Lossless WebP keeps every pixel.
  • Animated files are converted from the first frame only, so the result is a still image.

Drop an image here

PNG, JPG, WebP, GIF or BMP, up to 5 MB

Lower means a smaller file and more visible loss (1 to 100).

Complete the human check to enable the button.

Result

Your WebP will appear here.

The free web tool takes images up to 5 MB, 30 per day. Signed in, the limit is 10 MB. The image keeps its pixel size.

Retention: web-tool results are deleted after 10 minutes and no history is kept. API results are kept 1 day on the free plan and 7 days on Starter and Pro (30 days on Business).

  • No account needed

    30 images per day for free, no watermark.

  • Original size kept

    The image is re-encoded at its full pixel size. Nothing is resized, and camera and location tags are not copied into the result.

  • Deleted automatically

    Web tool results are removed after 10 minutes.

Privacy: what you submit is used only to make this file. The working copy is deleted when the job ends, the result after 10 minutes. See the privacy policy.

Do this from your code

The same request, built from the input and options above. Create an account to get an API key.

curl -X POST https://api.aiipworld.com/v1/render \
  -H "Authorization: Bearer $AIIPWORLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"html":"","output":"pdf","options":{}}'

# returns {"job_id": "...", "status": "queued"}; then poll:
curl https://api.aiipworld.com/v1/jobs/JOB_ID -H "Authorization: Bearer $AIIPWORLD_API_KEY"

Batches

The web tool handles 1 image at a time. The API takes one request per image, so you can script as many as your plan allows.

Retention

Web-tool results are kept 10 minutes; free API results 1 day; Starter and Pro results 7 days; Business 30 days. The web tool allows 10 conversions per minute and 50 per day per visitor.

In one sentence

A free online tool that converts a PNG (or JPG, WebP, GIF or BMP) image to WebP at the same pixel size, with a quality setting, a lossless option and optional transparency.

Key facts

  • Input: PNG, JPG, WebP, GIF or BMP, up to 5 MB in the free tool and 10 MB when signed in, and up to 16 MP (4096 x 4096); the type is read from the file content.
  • Output: a WebP file with the same width and height; quality 1 to 100 (default 80) for lossy WebP, or lossless WebP; transparency is kept by default.
  • In our test a 90 KB PNG illustration became a 22 KB WebP at quality 80; Google reports lossless WebP is 26% smaller than PNG and lossy WebP 25 to 34% smaller than comparable JPEG.
  • An animated file is converted from its first frame; the upload is deleted when the job ends and the result after 10 minutes; signed-in users pay 1 credit per image.
  • Free without an account: up to 10 conversions per minute and 50 per day per visitor, no watermark. Signed in, each render costs 1 credit (100 free credits every month).
  • Files are deleted automatically: 10 minutes after conversion without an account, 1 day with a free account.
  • Developers can run the same render with POST https://api.aiipworld.com/v1/render and an API key (see the API docs page).

How it works

  1. Choose your PNG file. The tool also accepts JPG, WebP, GIF and BMP files.
  2. Wait for the browser checks. The page checks the file type, size and pixel count, then shows a preview with the image size.
  3. Leave Convert to set to WebP, which is the default on this page. Set a quality, or turn on Lossless WebP.
  4. Decide on Keep transparency and the background colour if your image has transparent areas.
  5. Press Convert image, check the results panel, and download the WebP file.

Example output

Original PNG, 1600 x 1200 px, 90 KB

The sample illustration as a PNG

Converted WebP, quality 80, 22 KB

The sample illustration converted to WebP
A flat illustration (1600 x 1200 px PNG, 90 KB) converted with Convert to WebP at quality 80: a 22 KB WebP with the same pixel size. Converted by this site's own engine. Open the converted file (or select the picture) to see it at full size.

How to convert PNG to WebP

To convert PNG to WebP, start with your PNG file. Open the tool on this page and choose the image from your device. Before the file is uploaded, your browser checks its type, size and pixel count, and shows a preview with the image size. That gives you a chance to confirm you have the right file.

WebP is the default target on this page, so the Convert to list already shows WebP. Pick a quality, or switch on Lossless WebP if you need every pixel kept. Then press Convert image. When it finishes, the results panel shows a preview on a checkerboard, the file size, the formats converted, the pixel size, and how long the file is kept.

Use the Download button to save the converted file. Download links are short-lived, so save the file soon after it is ready. To change PNG to WebP again with other settings, adjust the options and convert the original file again.

What PNG to WebP conversion does

The converter decodes your PNG into pixels and encodes those pixels again as WebP. The picture is not resized, so the WebP has exactly the same width and height in pixels as the original. Nothing is cropped. Only the way the data is stored changes.

The conversion runs on our servers with sharp, a Node.js image library built on the libvips library. It is not artificial intelligence, and it does not guess missing detail. Because the conversion happens on our servers, your image is sent to our server. It is not processed in your browser.

A phone photo stored rotated is turned upright using its orientation tag. Camera and location tags (EXIF and GPS) are not copied into the result.

  • The result has the same pixel width and height as the original.
  • Nothing is cropped or resized.
  • Camera and GPS tags are not copied into the result.

PNG or WebP: which should you use

Google reports that lossless WebP images are 26% smaller than PNG images. Google also reports that lossy WebP images are 25 to 34% smaller than comparable JPEG images at an equivalent SSIM quality index. These are Google's figures, published on its WebP page (developers.google.com/speed/webp), not our own measurements.

Flat graphics such as logos, icons and screenshots often suit PNG or lossless WebP, because they use few colours and have sharp edges. MDN recommends lossless encoding for screenshots, diagrams, logos and line art. Photographs usually suit lossy WebP, where the file gets much smaller and some detail is traded away.

Our own tests show the same pattern. The test pictures were generated by our scripts, not taken from real photographs. A flat illustration of 1600 x 1200 px and 90 KB became a 22 KB lossy WebP at quality 80. A lossless WebP of a similar flat illustration was 27 KB.

Lossy or lossless WebP

For lossy WebP, the quality setting runs from 1 to 100 and defaults to 80. A lower number makes a smaller file with more visible loss. A higher number keeps more detail and makes a larger file. Quality is not used for PNG output or when Lossless WebP is on.

Lossless WebP keeps every pixel exactly. The file is larger than a lossy WebP. Choose lossless for logos, interface screenshots and line art, where edges must stay sharp.

Each save loses some detail in JPEG and lossy WebP. Converting such a picture to PNG does not bring the lost detail back. It only stores the current pixels without further loss, and the PNG is often much larger. In our test, a 22 KB lossy WebP became a 290 KB PNG.

  • Start with the default of 80 and compare the file size and the preview.
  • Try a lossless WebP when the picture has text, sharp edges or flat colour.

Transparent PNG to WebP

WebP supports transparency in both lossless and lossy modes, so a transparent PNG can stay transparent after conversion. Keep transparency is on by default. The results panel shows whether transparency was kept or filled, so you can check the outcome.

If you turn Keep transparency off, the transparent areas are filled with the background colour. The default background colour is white, #ffffff, and you can change it. JPEG cannot store transparency, so converting a transparent PNG or WebP to JPEG always fills the transparent areas with the background colour.

Our test logo shows the size effect. A 1024 x 1024 transparent logo PNG of 37 KB became a 13 KB WebP at quality 80 with transparency kept. The same logo saved as a 25 KB JPEG had its transparent area filled with white. The test picture was generated by our scripts.

How much smaller is the WebP file

The saving depends on the picture. The Google figures quoted above are averages for its own test sets, not a promise about your file.

Our measured examples, using generated test pictures, show the range. The 1024 x 1024 logo went from 37 KB to 13 KB. A synthetic photograph of 2000 x 1500 px went from a 775 KB JPEG to a 529 KB WebP at quality 80. Saved as PNG, the same photograph was 7.5 MB.

A larger synthetic photograph of 4000 x 3000 px, 2.5 MB as a JPEG, became a 1.1 MB WebP at quality 80. Saved as PNG it would be about 28 MB, which is over the 20 MB result limit. Results vary by picture, so check the file size in the results panel.

Browser support and fallbacks

MDN lists WebP as supported in Chrome, Edge, Firefox, Opera and Safari. For Safari, it is version 14 or later on macOS Big Sur 11 or later. MDN recommends WebP or AVIF for raster images in general, with PNG or JPEG as fallbacks through the picture element.

WebP has less historical support than PNG and JPEG. Some older software, old email clients and some upload forms still do not accept WebP. That is the usual reason people convert WebP back to PNG or JPEG.

If your page must work everywhere, you can serve the WebP and keep the original PNG or JPEG as a fallback using the picture element. Check the software that will open the file before you replace the original.

JPG to WebP and other input formats

The tool accepts PNG, JPG, WebP, GIF and BMP files. The file type is read from the content, not the file name, so a renamed file is read as what it really is. SVG, PDF, TIFF, HEIC and AVIF files are not accepted.

JPG to WebP works the same way as PNG to WebP. Choose WebP as the target and convert. JPEG is a lossy format, so the picture has already lost some detail. Each new encode adds more loss, so a higher quality setting helps keep more detail.

If you have a camera original, convert that file instead of an earlier export of it. Each extra save adds loss.

Animated PNG, GIF and WebP files

An animated GIF or WebP is converted from its first frame only. The result is a still image, not an animation. The results panel says first frame only when the input was animated.

If you need the whole animation, this tool does not keep it. Keep the animated file as it is, or use a tool built for animation.

The API also reports whether the input was animated, in its result fields.

Size and file limits

The free web tool accepts images up to 5 MB each, with up to 16 MP (4096 x 4096) per image. You can convert 30 images per day per visitor. Anonymous use needs a human check (Cloudflare Turnstile). No watermark is added to the result.

Signed-in users can convert images up to 10 MB each, with the same pixel limit, and they skip the human check. Each image uses 1 credit. For each 5 MB of result after the first 5 MB, one more credit is used.

A result larger than 20 MB fails with an "output too large" message instead of giving you a cut-off file. A large photo saved as PNG can reach this limit. If that happens, choose JPEG or WebP, or lower the quality. Failed and timed-out jobs are refunded.

PNG to WebP from code

The API converts one image per request. Send the raw image bytes as the request body, not JSON or form data, to POST https://api.aiipworld.com/v1/image-jobs. Set Content-Type to image/png, add the operation and format in the query string, and send your API key as a Bearer token in the Authorization header.

Use op=image_convert and format=webp. Quality runs from 1 to 100 and defaults to 80. Set lossless=true to keep every pixel. The keep_transparency and background settings are also available. The response is 202 with a job_id. Poll GET /v1/jobs/:id until the status is succeeded, failed or timeout, then download the file from the short-lived download_url.

The page shows a ready cURL, Node and Python example below the tool. The API has no batch endpoint, so send one request for each image. Webhooks are not available yet. Errors include 400 for unsupported_image or invalid_params, 413 for file_too_large, 402 for insufficient_credits, and 429 when you are rate limited.

Privacy: what happens to your file

Your uploaded image is used only to make the converted file. It is deleted as soon as the job ends, whether it succeeds or fails. The converted file is kept for 10 minutes in the free web tool. No history is kept.

Download links are short-lived, so save the file to your device when it is ready. Anonymous conversions need a human check, which is provided by Cloudflare Turnstile.

You must have the right to use any image you upload. Read the Acceptable Use Policy before you convert pictures that belong to someone else.

If you need the reverse, use the WebP to PNG page. It is the same tool with PNG as the default target. Use it when a program does not accept WebP and you need a PNG instead.

The site also has tools for PNG to SVG, which traces a picture into vector paths, and SVG to PNG, which turns an SVG file into a PNG. To make a picture from HTML, use the HTML to PNG tool.

The WebP to PNG page also covers WebP to JPG, because you can pick JPEG as the target there.

Questions

Can I convert PNG to WebP for free?

Yes. The free web tool needs no account. Anonymous use needs a human check (Cloudflare Turnstile), and you can convert up to 30 images per day per visitor, each up to 5 MB. No watermark is added.

Does PNG to WebP keep transparency?

Yes, when Keep transparency is on, which is the default. WebP supports transparency in lossless and lossy modes. If you turn the option off, transparent areas are filled with the background colour instead.

Is a WebP file smaller than a PNG?

In our tests it was. Google reports that lossless WebP images are 26% smaller than PNGs, and lossy WebP is smaller still. In our test, a flat illustration of 1600 x 1200 px went from 90 KB to a 22 KB lossy WebP at quality 80. Results vary by picture.

Is the conversion lossless?

It depends on the setting. Lossless WebP keeps every pixel exactly. Lossy WebP at the default quality of 80 loses some detail. PNG output stores the pixels without compression loss.

What quality should I use?

Start with the default of 80 for lossy WebP. A lower number gives a smaller file with more visible loss, and a higher number keeps more detail. For screenshots, logos and line art, MDN recommends lossless encoding, so try Lossless WebP for those.

Will the image get smaller in pixels?

No. The picture is never resized, so the WebP has the same width and height in pixels as the PNG. Only the file size changes.

Can I convert JPG to WebP?

Yes. The tool accepts JPG files, so choose WebP as the target and convert. JPEG is lossy, so start from the best copy of the photo you have.

Do all browsers show WebP?

Most current browsers do. MDN lists Chrome, Edge, Firefox, Opera and Safari 14 or later on macOS Big Sur 11 or later. Some older software, old email clients and some upload forms still do not accept WebP, so check where the file will go.

What happens to an animated file?

Only the first frame is converted, and the result is a still image. The results panel says first frame only when the input was animated.

How big can the file be?

The free web tool accepts up to 5 MB per image, and signed-in users can go up to 10 MB. Each image must also be within 16 MP (4096 x 4096). A result over 20 MB fails with an "output too large" message instead of a cut-off file.

How long is my file kept?

The converted file is kept for 10 minutes in the free web tool, and no history is kept. Your uploaded image is deleted as soon as the job ends.

Can I convert PNG to WebP in code?

Yes. POST the raw image bytes to the image jobs endpoint with op=image_convert and format=webp. The page shows a ready cURL, Node and Python example below the tool, and the API docs cover the other settings. Each request converts one image.

Need this in your app or in bulk?

This tool runs on the same platform as the API, so the same image is one HTTP request from your code. A free account includes 100 credits a month.

Related tools