Welcome to the 128KB wiki. Here we collect the technical side of making GIFs with code under 128 kilobytes: how the format works, which tools shrink a file, and what to try when a loop is still a few kilobytes too big.
A note of caution: parts of this wiki were written or edited with the help of AI. Please read it with a critical eye, check what matters to you, and let us know if you spot a mistake.