Animated GIFs keep playing
Converting a GIF to another image format often throws away the animation and keeps only the first frame. We don't convert the GIF at all. It goes into the HTML page as it is, and browsers play animated GIFs on their own, so every frame and the loop are kept. The page shows the GIF centred and fitted to the window, with nothing else around it.
How to convert GIF to HTML
- Upload the .gif file at the top of this page.
- Choose HTML as the output.
- Convert, download and open the .html file in a browser.
The conversion runs on our servers. If the file isn't a valid image, a plain message tells you so.
GIF to HTML is not GIF to HTML5 animation
Some people searching for this want their GIF rebuilt as HTML5 or CSS animation, which can be smaller and sharper. This converter doesn't do that. The page plays the original GIF. For a smaller animated file, a video format like MP4 is usually the better route.
Adding a GIF to your own page
On a site you control, upload the GIF and use <img src='animation.gif' alt='What the animation shows'>. Large GIFs slow pages down, so keep them short or use video for anything longer than a few seconds.
Other GIF conversions
To pull out a single frame as a still image, use GIF to PNG or GIF to JPG. For a document, GIF to PDF works. The GIF converter lists every option.