Netscape Application Block Byte Signature in GIFs

This article provides an exact breakdown of the Netscape Application Extension block byte signature used to loop animated GIF files. While the original GIF89a specification did not natively define animation looping, Netscape Navigator 2.0 introduced a standard application extension block that image viewers still recognize today. Below is the precise byte sequence, hex values, and structure used to implement this feature.

The Application Extension Signature

An Application Extension in a GIF begins with a standard 3-byte prefix indicating an application-specific block, immediately followed by the 11-byte Netscape application signature (NETSCAPE2.0).

In hexadecimal notation, the complete 14-byte signature header is:

21 FF 0B 4E 45 54 53 43 41 50 45 32 2E 30

Byte-by-Byte Breakdown

The Complete Loop Control Block

To fully define animation looping, the signature is immediately followed by a sub-block containing the iteration parameters:

03 01 xx xx 00

When combined for an infinitely looping GIF, the entire 19-byte sequence reads:

21 FF 0B 4E 45 54 53 43 41 50 45 32 2E 30 03 01 00 00 00