Archive formats

Zlib header decoder

Check CMF/FLG fields and report the deflate window and dictionary flag.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

CM must be 8, CINFO at most 7, and the two-byte header must be divisible by 31. Window size is 2^(CINFO+8).

78 9C selects a 32,768-byte deflate window without a preset dictionary.

Limits

If FDICT is set, include its four-byte dictionary ID. No compressed payload or Adler-32 trailer is verified.