wire / magic /
jpeg
JPEG signature (FF D8 FF) A JPEG/JFIF/EXIF file begins with the Start-of-Image marker FF D8, immediately followed by another marker starting with FF (so the file begins FF D8 FF...). It ends with the End-of-Image marker FF D9.
magic kind signature status standard verification verified tier C file-signature@1
aka: JPEG magic · JFIF · EXIF · SOI · FFD8
file signature magic: FF D8 FF⧉ copy @ offset 0
ascii: \xff\xd8\xff
trailer: FF D9
.jpg .jpeg .jpe .jfif image/jpeg
spec: ITU-T T.81 / ISO/IEC 10918-1
FF D8 is the Start-of-Image (SOI) marker; the third byte FF begins the next marker segment. Common full prefixes: FF D8 FF E0 (JFIF APP0), FF D8 FF E1 (EXIF APP1), FF D8 FF DB (raw quantization table), FF D8 FF EE (Adobe). Stream ends with FF D9 (EOI), though appended thumbnails/metadata may follow. Within entropy-coded data a literal 0xFF byte is followed by 0x00 (byte stuffing) so it is not mistaken for a marker. provenance per-fact attribution:
agent: curl -H 'accept: application/json' wire.phall.io/magic/jpeg⧉ copy
or /magic/jpeg.json ⧉ copy
wire.phall.io ⌘K search main ✓