About

Tool No. 83 of Pikkola, 28 November 2026

A file has three kinds of type: the extension in its name, the bytes on disk, and the header a server sends. This page reads all three and says where they disagree, because the disagreement is where a browser does something nobody intended.

What it does

What a signature proves

The bytes at a fixed offset identify a format and nothing else. A file can begin like a PNG and carry anything after it, and some formats are deliberately two files at once. The page reports the signature, the printable share and the entropy so the shape of the file is visible, and it never calls a match a clean bill of health.

The container problem

A .docx is a zip; so are .xlsx, .epub and .apk. Four bytes cannot tell them apart, so the slip names the container and lets the extension say what is inside. That is the same split a server makes when it sends an Open XML media type for a zip, and pretending otherwise would be the more confident lie.

Why the header is on this page

The same file behaves differently depending on the Content-Type it is served with. An SVG sent as image/svg+xml runs its script in your origin; sent as application/octet-stream with a download disposition it does not. The header builder exists because that decision is one line and gets made by accident.

What it is not

It is not an antivirus and not a validator. It does not open an archive, does not scan a file for a payload and cannot promise that a file with the right first bytes is safe.

Contact

A format whose signature this page reads wrongly is worth the file's first sixteen bytes and the name it should have had: hello@pikkola.com.

Back to the studio