Images · Updated · All file signatures

JPEG File Signature & Magic Bytes (.jpg)

JPEG (Joint Photographic Experts Group, ISO/IEC 10918-1) is the universal lossy photographic format on the web and digital cameras. Every valid JPEG stream begins with the Start of Image (SOI) marker FF D8 immediately followed by another 0xFF marker prefix (commonly FF E0 for JFIF, FF E1 for EXIF/XMP, or FF DB/FF C0).

Signature & identification summary

Detected format nameJPEG image
Hexadecimal magic bytesFF D8 FF
ASCII / marker preview...
Byte offset0
MIME typeimage/jpeg
Common extensions & aliases.jpg, .jpeg, .jpe, .jfif

Check whether your file really is JPEG.

Drop any file into File Sniff’s free local browser checker to verify its FF D8 FF signature and spot misleading extensions—without uploading a single byte.

Check a file’s real type ↗︎

Container & byte-layout notes

A JPEG file is a sequence of 0xFFxx marker segments: APP1 (FF E1) holds camera EXIF, GPS coordinates and XMP packets; APP2 (FF E2) holds ICC colour profiles; APP11 (FF EB) holds C2PA JUMBF manifests; APP13 (FF ED) holds Photoshop 8BIM and IPTC records (including social FBMD tracking tags); SOS (FF DA) starts entropy-coded pixel data; and EOI (FF D9) marks the end.

Extension mismatches & common pitfalls

On Windows and older apps, iPhone HEIC photos or website WebP images are frequently saved with a .jpg filename, causing upload errors until converted properly.

Which apps open JPEG files?

PlatformCompatible applications & tools
Mac (macOS)Preview, Photos, Safari, Lightroom, Photoshop
iPhone & iPadPhotos, Files Quick Look, Camera
WindowsPhotos, Paint, File Explorer preview, browsers

Free local tools & related guides

Inspect files & folders natively
on Mac, iPhone & iPad.

The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.

Download on the App Store ↗︎