What a WebP File Is, How to Open One and How to Turn It Into a PNG
What the .webp format is, why downloads arrive as WebP, how to open and convert one without an upload, and what the file can carry inside.
Quick answer
A WebP file is an image in Google's web format, smaller than a JPEG or PNG of similar quality. Any current browser opens it. To get a PNG or JPEG, convert it; renaming the file only changes its name, not its contents.
- What it is
- An image format from Google for the web. It can be lossy like JPEG or lossless like PNG, with transparency and animation.
- How to open it
- Drag it into Chrome, Safari, Firefox, Edge or Opera. All of them display WebP.
- How to convert
- Open it in an image tool and save it as PNG or JPEG. A browser-based tool does this without uploading the file.
- When to use a vault
- When images you download or receive should not sit in the camera roll or iCloud Photos, where anyone with the passcode can open them.
Best overall: Stash
A WebP image you download or convert on an iPhone ends up in the Photos library or the Files app, where it opens for anyone who can unlock the phone, and photos sync with iCloud Photos. Stash keeps chosen photos and files behind a PIN of its own, inside a working calculator. Imported items are encrypted on the iPhone with AES-256, stay outside the Photos library and are not uploaded by iCloud Photos. Stash is free to download with no ads, so the calculator, the PIN and the encrypted vault are ready from the first launch.
What a WebP file is
A file ending in .webp is an image saved in WebP, a format Google released for the web. Google describes it as "a modern image format that provides superior lossless and lossy compression for images on the web" (An image format for the Web, as of 2 December 2026). In plain terms, it does the job of both JPEG and PNG, usually in a smaller file:
- Lossy WebP works like JPEG, for photos. Google measures it at 25-34% smaller than a comparable JPEG.
- Lossless WebP works like PNG, keeping every pixel. Google measures it at 26% smaller than PNG.
- Transparency works in both kinds, so logos and cut-out images keep a see-through background.
- Animation works too, as a smaller alternative to GIF.
Its web type is image/webp, and Mozilla's developer reference calls it an "excellent choice for both images and animated images" (MDN image file type guide).
Why a download saved as .webp
Websites switch to WebP because smaller images make pages load faster. When you right-click a picture and choose Save Image As, the browser saves the file the site actually sent, which is now often WebP. The picture looked like any other on the page, so the extension comes as a surprise. A site can also check what a browser supports and send WebP only where it works; Google's WebP FAQ explains how.
Why renaming a WebP to .png does not convert it
The file extension is only a label. The contents decide the format, and WebP contents are fixed by Google's container specification: "A WebP file MUST begin with a RIFF header with the FourCC 'WEBP'" (WebP Container Specification). A PNG begins with its own signature and stores pixels differently.
Change photo.webp to photo.png and the inside is still WebP. Some programs look at the contents and open it anyway; others trust the name, try to read it as PNG and report a damaged file. Upload forms that check the contents may reject it. Google's own image guidance advises that "the extension of your filename match with the file type" (Google image SEO best practices). To get a real PNG or JPEG, the image has to be decoded and saved again.
How to open a WebP file
Google states that WebP "is natively supported in Google Chrome, Safari, Firefox, Edge, the Opera browser". So the quickest viewer is already on every computer and phone:
- Open any current browser.
- Drag the .webp file onto an empty tab, or press Ctrl+O (Windows) or Command-O (Mac) and choose the file.
- The image shows full size in the tab.
On a Mac, MDN notes that WebP in Safari needs Safari 14 or later and macOS Big Sur (11) or later. Image editors and office programs vary; if one cannot open the file, convert it.
How to convert a WebP to PNG or JPEG
The image resizer on this site opens WebP files and saves them as PNG, JPEG or WebP. It works in the open browser tab: the image is decoded and saved by your own browser, and nothing is uploaded.
- Open the image resizer and press Choose a photo, or drop the .webp file on the box.
- Pick Percent and type 100 to keep the original size.
- Pick the output format: PNG for graphics, screenshots and anything transparent; JPEG for photos you want to send or upload anywhere.
- Press Resize image.
- Press Download resized image.
PNG keeps a transparent background; JPEG has no transparency, so see-through parts turn solid. For a file under a set size, such as 100 KB for a form, the image compressor takes the WebP and saves a JPEG that fits the limit.
An animated WebP becomes a single still image in these tools.
WebP, PNG and JPEG compared
| WebP | PNG | JPEG | |
|---|---|---|---|
| Compression | Lossy or lossless | Lossless | Lossy |
| Transparency | Yes | Yes | No |
| Animation | Yes | Yes (APNG) | No |
| Opens in current browsers | Yes | Yes | Yes |
| Accepted by upload forms and older software | Sometimes | Almost always | Almost always |
| Can hold EXIF metadata (date, device, location) | Yes, optional EXIF and XMP chunks | Yes, eXIf chunk | Yes |
| Best kept as | Web images | Editing masters, screenshots, graphics | Photos to share anywhere |
The size figures behind the table come from Google's WebP pages; the PNG facts come from the W3C's PNG Specification, Third Edition (24 June 2025).
What a WebP file can carry besides the picture
Small does not mean empty. The WebP container defines optional chunks for "Image metadata in Exif format" and "Image metadata in XMP format", plus a colour profile. EXIF is the same block a camera writes into a JPEG: date and time, camera or phone model and, if location was on, GPS coordinates. Whether a given WebP holds it depends on the app or converter that made the file.
Before you pass a WebP on, the photo metadata viewer on this site shows what is inside, in the browser and without an upload. Converting with the resizer or the compressor also drops it, because they save pixels only.
Which format to keep
- Keep the WebP if the image is for a website, if file size matters, or if it is a lossless WebP with transparency that you may reuse.
- Convert to PNG for editing, for screenshots and graphics you send around, and for anything with a transparent background that has to open everywhere.
- Convert to JPEG for photos you upload to forms, print services or sites that list only JPEG and PNG.
Converting a lossy WebP to PNG does not bring back detail; it only stops further loss.
When a WebP in Downloads is enough
Most WebP files are harmless copies of images from public websites: a product photo, a meme, a chart. Leaving them in the Downloads folder or the Files app is fine when:
- the image was public in the first place,
- nobody else uses the device where it is saved, and
- you do not mind it showing up in recent files or synced folders.
When you need more than a downloaded file
Some images are personal even when they arrive as WebP:
- Pictures sent to you through a web link or a chat that saves images as WebP.
- Screenshots and scans you converted to share and want to keep the original of.
- Images saved to Photos, which then open with the phone's passcode and, with iCloud Photos on, sync to every device on the Apple Account.
- A shared or borrowed phone or computer, where Downloads and Recents are visible to the next person.
How to keep converted images private with Stash
Stash looks and works like a calculator. Your PIN opens the vault, and photos and files you import are encrypted on your device with AES-256, with the key kept in the iOS Keychain. They are stored inside the app, not in your Photos library.
- Convert the WebP to PNG or JPEG as above. On iPhone, save the result to Photos.
- Install Stash from the App Store. It runs on iPhone and iPad with iOS 15 or later.
- Open it, choose your PIN and write down the recovery key that Stash shows once during setup.
- In the vault, tap + and import the image.
- Back in Photos, delete it, then delete it again in Recently Deleted. Delete the downloaded .webp from Files as well.
- Optional: turn on Face ID or Touch ID and auto-lock in Stash. Premium adds a guest PIN that opens a separate vault.
FAQ
What is a WebP file?
An image file in Google's WebP format, made for the web. It can be lossy like a JPEG or lossless like a PNG, and it supports transparency and animation.
How do I open a WebP file?
Drag it into Chrome, Safari, Firefox, Edge or Opera. All of them display WebP natively.
Can I just rename .webp to .png?
No. The file still begins with WebP's RIFF header, so it stays a WebP with the wrong name. Convert it instead.
Is WebP lower quality than PNG?
Lossless WebP keeps exactly the same pixels as a PNG. Lossy WebP gives up some detail to save space, much like a JPEG.
Why do websites use WebP?
Smaller files load faster. Google measures lossless WebP at 26% smaller than PNG and lossy WebP at 25-34% smaller than JPEG.
Is transparency kept when I convert WebP to PNG?
Yes, PNG keeps it. Converting to JPEG fills transparent areas, because JPEG has no transparency.
Can a WebP file contain my location?
It can. The format has an optional EXIF chunk, which can include GPS coordinates. Check the file in a metadata viewer before you share it.
When should I keep the WebP instead of converting?
When it is going back onto a website, or when the smaller size matters and the place you use it accepts WebP.
The Bottom Line
A WebP file is an image in Google's web format: lossy like JPEG or lossless like PNG, usually in a smaller file, with transparency and animation. Every current browser opens it. What it is not is a PNG with a different name. The format is set by the contents, which begin with a RIFF header, so renaming a .webp to .png changes nothing inside; to get a PNG or a JPEG, decode the image and save it again, ideally with a tool that runs on your own device.
The comparison table above shows which format to keep for which job, and one row that is easy to miss: WebP, PNG and JPEG can all carry EXIF metadata, including location. Check what a file holds before you share it, and keep personal images in a place with its own lock.
·Written by the developer of Stash
Save this guide
Download this guide as an image