How to convert a GIF to PNG
The GIF is decoded by the browser, drawn once onto an HTML canvas, and exported as a PNG. Everything happens inside your tab, so the file is never uploaded.
Because only one draw happens, only the first frame is captured. That is the right behaviour for a static GIF, and it is a silent data loss for an animated one, so check what you are feeding in.
- Choose a GIF with the file picker.
- Confirm in the preview that the frame shown is the one you want, remembering that an animated GIF gives you frame one.
- Click Download PNG, which saves the file under your original name with a .png extension.
- Compare the file sizes: if the PNG is much larger and you only needed a still image on the web, the original GIF may still be the better file to ship.
- For every frame of an animation, use a GIF frame extractor rather than this page.