WebP: the web's everyday image format
WebP is an image format made for the web. It does lossy compression like JPEG and lossless compression like PNG, supports transparency and animation, and usually produces smaller files than either. Every current browser supports it — but some apps, upload forms and print services still don't, which is why a downloaded .webp sometimes won't open where you need it.
WebP at a glance
- File extensions
- .webp
- MIME type
- image/webp
- Compression
- Lossy (based on the VP8 video codec) or lossless — two separate modes in one format.
- Transparency
- Yes, in both lossy and lossless mode, with smooth alpha.
- Animation
- Yes. Animated WebP is a much smaller replacement for GIF.
- Colour
- 8 bits per channel. Lossy mode stores colour at half resolution, like most JPEGs.
- Browser support
- Every current browser. Safari was the last major one to add it, in 2020.
- In ImageDoctor
- Opens, compresses, resizes, crops and converts WebP. WebP output uses your browser's encoder, so it is offered only where the browser can write it. Animated WebP is reduced to its first frame.
Why you keep getting .webp files
Websites increasingly serve WebP because it makes pages load faster. When you right-click and save an image, your browser saves what the site sent — so the "photo" you downloaded is a .webp, even if the page never mentioned it. The image is fine; the question is only whether the place you are taking it next can read it.
Current versions of Windows Photos and macOS Preview open WebP, as does every browser (drag the file into a tab). If a form, an older program or a print service rejects it, convert it: WebP to JPG for photos, WebP to PNG if it has a transparent background.
Two formats in one
WebP has two entirely different compression modes that share a file extension:
- Lossy WebP works like a modern JPEG: at matched visual quality it is typically 25–34% smaller, in Google's own study. Like JPEG, it stores colour at half resolution, so very fine coloured detail — thin red text, for instance — can soften.
- Lossless WebP keeps every pixel, like PNG, and is usually smaller than the equivalent PNG — about 26% smaller on average in the same study.
Both support an alpha channel, which is the practical headline: WebP is the first widely supported format that gives you JPEG-like sizes and PNG-like transparency at the same time. A transparent product cut-out that is 900 KB as a PNG can often be a fraction of that as lossy WebP with no visible difference.
Limits worth knowing
- Maximum size is 16,383 × 16,383 pixels. Larger images must be downscaled or saved in another format.
- Converting lossy to lossy costs quality. JPEG → WebP → JPEG loses a little at each step. Convert from the best original you have.
- It is a web format first. Support outside browsers is good and improving, but not universal the way JPEG's is.
When to use WebP
- Every image on a website you control — photos, screenshots, illustrations. The Image Optimizer converts to WebP, caps the width and strips metadata in one pass.
- Transparent images on the web, where PNG would be several times larger.
- Short animations, instead of GIF.
When not to
- Files you send to other people or organisations. Email recipients, job portals, government forms and printers are safest with JPEG or PNG.
- Large hero photos where every kilobyte matters. AVIF is usually smaller again, at the cost of slower encoding.
- Favicons and app icons. Use the formats platforms expect — the Favicon Generator produces them.
Convert WebP files
Each converter runs in your browser with the output format already chosen. Add one file or a whole folder.
- WebP to JPG ConverterTurn .webp downloads into JPGs that open in any app, upload form or email.
- WebP to PNG ConverterConvert WebP to PNG and keep transparent backgrounds intact — for editing or for apps that don't take WebP.
- JPG to WebP ConverterConvert JPG photos to WebP for faster web pages — one image or a whole folder.
- PNG to WebP ConverterShrink PNG screenshots and graphics by converting them to WebP, with transparency kept.
Common questions
Tools for WebP files
Keep reading
- The JPEG formatPhotos you send, upload or printFormat
- The PNG formatLogos, screenshots, graphics with transparencyFormat
- The AVIF formatLarge photos on the webFormat
- The GIF formatShort, simple animations that must play anywhereFormat
- WebP vs JPG vs PNG: which format is best for websites?How the three formats compare for web delivery: file size, transparency, browser support and fallbacks — plus when converting to WebP isn't worth the effort.Article
- Lossy vs lossless compression, explained for imagesWhat lossy and lossless compression actually do to an image, which formats use each, what the difference looks like, and how to choose for photos and graphics.Article
- Optimising images for a faster websiteImages are usually the heaviest thing on a page. A practical workflow for dimensions, format, quality and metadata — plus the HTML that stops layout shift.Guide