CompuServe had a bandwidth problem
On June 15, 1987, a team at CompuServe led by engineer Steve Wilhite released the Graphics Interchange Format. The web did not exist. The problem was moving color images over modems that measured speed in single-digit kilobits, to whatever machine sat on the other end: Apple, Atari, IBM. GIF solved it with a 256-color palette and LZW compression, an algorithm Terry Welch had published in 1984 that squeezes repeating patterns without losing a pixel.
That first release, GIF87a, could not animate. The 1989 revision, GIF89a, added frame delays, a transparent color, and a slot for extensions, and those three additions are the entire technical foundation of everything a GIF does in your group chat today. Every file still announces its lineage in its first six bytes: open one in a text editor and it literally begins with the characters GIF89a.
The loop is a Netscape hack, and we can prove it
Here is the detail most histories skip: GIF89a could play frames once, but nothing in the spec said repeat. The infinite loop, the single most important property of the modern GIF, arrived in 1995 as a nonstandard extension in Netscape Navigator 2.0. Animations wanting to loop had to embed a small application block labeled NETSCAPE2.0, and every browser since has honored a dead browser's private hack.
This is not trivia to us. The encoder behind this converter writes that exact NETSCAPE2.0 block into every looping GIF it produces, nineteen bytes of 1995 living in every meme you export. Set the loop control to play once and the block is simply omitted, which is how the original 1989 spec behaved.
The patent war that created PNG
LZW was patented, filed by Sperry in 1983 before Welch's paper was even published, and the patent passed to Unisys. CompuServe built GIF on it apparently without realizing. For seven years nobody cared. Then in December 1994, Unisys and CompuServe announced that developers of GIF software owed licensing fees, and the early web lost its mind.
The backlash was productive. Within weeks, engineers began drafting a patent-free replacement: PNG exists because of this fight. In 1999 Unisys revised its licensing again, and the League for Programming Freedom answered with the Burn All GIFs campaign, urging sites to delete the format entirely. The siege only truly ended when the US patent expired on June 20, 2003, with its international counterparts following by 2004. Since then, GIF has been genuinely free, which is why a site like this one can encode LZW all day without paying anyone.
How a left-for-dead format won the 2010s
By the mid-2000s GIF looked finished: 256 colors in an era of JPEG photographs and Flash video. What saved it was distribution, not quality. A GIF is an image, so it autoplays anywhere an image loads, loops without a play button, and needs no plugin, no player, and no permission. When Tumblr-era culture needed a way to quote a moment of video inside a page, the 1987 format was the only thing that worked everywhere.
The infrastructure followed the culture. GIPHY launched in 2013, Tenor in 2014, and the search bar in your keyboard turned reaction GIFs into a grammar. The exits tell you what that grammar was worth: Google bought Tenor in 2018, Facebook paid a reported 400 million dollars for GIPHY in 2020, and then, in a plot twist, UK competition regulators forced Facebook to sell it, and Shutterstock picked it up in 2023 for 53 million. Along the way, Oxford's American dictionary team named the verb form of GIF its 2012 US word of the year.
Jif, gif, and five famous words
Wilhite accepted a lifetime achievement Webby in 2013 and used his five-word acceptance speech to settle the pronunciation question his way: it's pronounced JIF, not GIF. The internet respectfully declined to comply, and both pronunciations live on. He died in 2022, having built, in a dial-up office in Ohio, one of the most durable file formats in computing.
Durable, not frozen. The modern workflow around GIFs is all about working with the format's 1987 constraints: budgeting a 256-color palette, choosing frame rates, closing loops on the exact frame. If you want the numbers behind those constraints, our measured benchmarks quantify them, and the frame-perfect guide covers the craft. The format is 39 years old. It has outlived Flash, RealPlayer, and the company that made it. It will outlive several more.
Read a GIF's history from its own bytes
The whole story above is verifiable with a text editor. Three steps:
- Open any GIF in a plain-text editor. The first six characters are its version stamp: GIF89a almost always. GIF87a means the file sticks to the original 1987 feature set, which dates the features, not the file.
- Search the gibberish for NETSCAPE. A looping GIF almost certainly carries the NETSCAPE2.0 extension block (a rare sibling, ANIMEXTS1.0, does the same job). In files from this converter it sits just after the color table.
- Make one and check your own work. Export a GIF here with loop set to forever and find both stamps. Export again with loop set to once: the NETSCAPE block disappears, and you have a spec-pure 1989-style animation.