File size: 1,897 Bytes
aab13fb bf810de aab13fb bf810de aab13fb dbe22b7 aab13fb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ---
pretty_name: "File format magic numbers"
license: other
license_name: source-terms-cited
license_link: https://referencesource.org/file-format-signatures/
language:
- en
tags:
- reference-data
- provenance
- referencesource-org
configs:
- config_name: default
data_files:
- split: train
path: data/records.jsonl
---
# File format magic numbers
**Canonical, always-current version: https://referencesource.org/file-format-signatures/**
Machine-readable: https://referencesource.org/file-format-signatures/data.json — this mirror is a point-in-time copy.
- **Last verified:** 2026-09-22
- **Stale after:** 2027-09-22 (past this date, prefer the canonical copy —
it re-verifies on a cadence this snapshot does not)
- **Records:** 337
The leading bytes (magic number / file signature) that identify a file format, with its usual extension. Answers 'what actually is this file' when the extension is wrong or missing. Covers what Wikipedia's List of file signatures publishes — a broad cross-section, not every format that exists.
## Provenance — what every record carries
Every record carries `source` (the URL the value was read from) and
`source_quote` (a verbatim quote from that page stating it). A value you
cannot check against its page is indistinguishable from an invented one;
these can all be checked. Each record is also individually addressable on
the canonical site at its `url`.
## Licence position
CC BY-SA 4.0 (source: Wikipedia)
Facts are not copyrightable; what this dataset takes from each source is a
fact plus a short attributed quote linking back to the page that states it.
## Sources
- https://en.wikipedia.org/wiki/List_of_file_signatures
## Fields
See any record in `data/records.jsonl` — field names are self-describing,
and the canonical page for each record renders them with labels:
https://referencesource.org/file-format-signatures/
|