Compress WebP images in your browser
nanofile is a free online WebP compressor that runs entirely inside your own tab, with nothing uploaded. WebP is already the modern format, so this squeezes it further with quality and size controls, animation and all. Drop an animated GIF here and it comes back as an animated WebP, usually a third to a half smaller.
or browse your device. Everything is processed on this device
No WEBP to hand?
WebP is the smaller modern format, but older editors and some mail clients still refuse it. JPG remains the file that almost every app will open without a converter.
Compress as JPGHow to compress WebP
One or a hundred, animated ones included. An animated GIF is welcome too and comes back animated. Nothing is uploaded at any point.
80 is a strong default for web delivery. Drag the divider to check.
Ready to ship straight to your CDN.
What is a WebP file?
WebP is an image format Google published in 2010 to replace JPEG, PNG and GIF with one thing that does all three jobs. It keeps transparency the way PNG does, supports animation the way GIF does, and stores photographs more compactly than JPEG. The familiar "25 to 35% smaller" is Google's own figure against baseline libjpeg; against a modern JPEG encoder such as mozjpeg the gap on a photograph is nearer single digits.
You mostly meet WebP by accident: you save an image from a website and get a .webp file that some older app then refuses to open. Every current browser displays it, and Photoshop, Figma, Windows Photos and macOS Preview all read it now, but plenty of older software still does not.
If you need to hand the file to something that will not take WebP, convert it rather than compress it. If you are putting it on a website, WebP is almost always the right choice, and compressing it further here will make it smaller again without changing the format.
WebP compression FAQ
Why is WebP smaller than JPG?
It uses a more modern compression method with better prediction and entropy coding, so it holds detail at bitrates where JPEG starts to break down.
Do all browsers support WebP?
Every browser released in the last several years does, Safari included.
Will transparency survive?
Not on a still image. Re-encoding runs through a canvas that flattens onto white, so transparent areas become white, and you should keep the original if you need the alpha channel. An animated file is different: the animation path never flattens onto anything, so its transparency comes through.
What is a WebP file?
WebP is an image format Google published in 2010 as a replacement for JPEG, PNG and GIF. It supports transparency like PNG, animation like GIF, and stores photographs more compactly than JPEG, though the often-quoted 25 to 35% is measured against a 2010-era JPEG encoder and the gap against a modern one is much smaller. Every current browser displays it, which is why most sites now serve it.
What are the disadvantages of WebP?
Three that matter in practice. Older desktop software and some email clients still will not open one, so WebP is a poor choice for a file you are sending to a person rather than putting on a page. Re-encoding a lossy WebP loses a little more each time, exactly as JPG does. And editor support for animated WebP is thinner than for GIF, even though the format itself is much better at it. On the web, where every current browser reads WebP, none of the three apply.
Should I use WebP or JPG?
WebP for anything going on the web: it is smaller at the same quality and handles transparency. JPG when the file has to open in older software, or when someone will import it into a tool that still refuses WebP.
What about animated WebP?
It stays animated. Every frame is decoded, re-encoded at the quality you pick and written back with its own duration and the original loop count. Each frame after the first is stored as only the rectangle that changed since the last one, which on anything with a still background is where most of the saving comes from.
Can I turn an animated GIF into an animated WebP?
Yes. Drop a GIF here and it comes back as an animated WebP with the frames and the timing intact, typically 30 to 50% smaller than the GIF. That is the single biggest saving available on a GIF, because WebP is not stuck with a palette of 256 colours per frame.
Does this remove EXIF, GPS and AI metadata?
Yes, every time, and there is no way to turn it off. The image is decoded to pixels and encoded again from those pixels alone, so EXIF and GPS, the XMP packet, embedded colour profiles, and any Content Credentials or AI-generation tags the file arrived with do not survive. There is no switch for this, because there is no way to keep them. What no compressor can remove is a watermark written into the pixels themselves, such as the invisible marks some image generators add: those survive re-encoding here and everywhere else.
Related
Same format joins the queue. Anything else re-routes to its own tool.