Convert Image to WebP

Convert JPG, PNG, GIF and other supported images to WebP. Photos use quality 90 by default; lossless output preserves the decoded 8-bit pixels. Width and height stay the same.

Local files are converted in your browser. Load From URL may use a server fetch.

Your images

JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, or ICO. Up to 20 images, 50 MB each (HEIC up to 30 MB). Ctrl+V pastes.

    Settings

    Preview

    Your preview will appear here
    1. Choose or drop images on the left
    2. Check the settings
    3. Compare, then download

    How to convert images to WebP

    1. Choose, drop, or paste the images you want as WebP. Up to 20 at a time.
    2. Leave Lossless off for photos. Tick it if you need exact pixels.
    3. Compare the sizes in the result list.
    4. Download each .webp file, or all of them as a ZIP.

    How it works

    WebP is an image format from Google with two modes: lossy, based on the VP8 video codec, and lossless, which packs pixels with better prediction than PNG. The tool picks the mode from the source file.

    • PNG, GIF, BMP, ICO, and lossless WebP sources become lossless WebP. The pixels, including transparent ones, stay exactly the same.
    • JPG and other lossy sources become lossy WebP at quality 90 with sharp color conversion, which is still lossy. Compare edges, gradients and fine detail before replacing the original.
    • The encoder is libwebp compiled to WebAssembly, so Safari, Chrome, and Firefox all give the same result. Each file is checked for the RIFF...WEBP signature before download.
    • The width and height stay exactly as they were, and any color profile is copied into the WebP file.

    Examples

    • The 163 KB sample photo (1600 × 1067 JPG) becomes a 134.6 KB WebP at the same size.
    • A 3.8 KB PNG logo with a transparent background becomes a 2.2 KB lossless WebP, 42% smaller and identical pixel for pixel.
    • With Lossless ticked, the sample photo becomes 877 KB: exact pixels cost space for photos.

    For smaller files than quality 90 gives, use the Image Compressor with WebP as the output.

    Can every browser show WebP?

    Yes. Chrome, Edge, Firefox, Opera, and Samsung Internet have shown WebP for years, and Safari added it in version 14 in 2020. Email clients and older desktop software are less consistent, so keep a JPG copy for newsletters and print shops.

    On a website you can serve WebP with a JPG fallback using the <picture> element, but for current browsers a plain <img src="photo.webp"> works.

    Limitations

    • Animated GIFs become a still WebP of the first frame.
    • A WebP made from a JPG can't be sharper than the JPG was. Start from the best original you have.
    • HEIC photos from iPhones work in any browser, up to 30 MB each.
    • Images up to 50 MB and 50 megapixels each.

    The output pipeline uses 8 bits per channel. Lossless encoding preserves decoded pixels and does not recover higher bit depth or missing animation frames.

    Read the guide

    Compress images before they go on a page

    Resize a photo to the width it is shown, save WebP where the page can use it, and compress with a quality you can compare before you replace the original.

    Frequently asked questions

    Is WebP better than JPG?

    WebP supports transparency and both lossy and lossless encoding. It can be useful for websites, but whether it gives a smaller file at acceptable quality depends on the image and settings. JPG remains useful when the destination app does not support WebP.

    Does WebP support transparency?

    Yes, in both lossy and lossless mode. A transparent PNG converted here keeps its transparent areas exactly.

    Why is my WebP bigger than the original?

    Usually because the original JPG was saved at a low quality, below the quality 90 used here, or because Lossless is ticked for a photo. Use the Image Compressor to pick a lower quality.

    How do I convert WebP back to JPG or PNG?

    Use the Image Converter on this site and choose JPG or PNG. Lossless WebP files convert to PNG without any change to the pixels.

    Often used together with Image to WebP.

    • Image Converter

      Converts images between JPG, PNG, WebP, AVIF, and ICO, and opens iPhone HEIC photos. ICO is a ZIP of icon sizes.

    • Image to AVIF

      Converts JPG, PNG, WebP, and GIF images to AVIF at full color resolution.

    • Image Compressor

      Shrinks JPG, PNG, WebP, and AVIF files with a quality slider and a before/after view.