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 name | JPEG image |
|---|---|
| Hexadecimal magic bytes | FF D8 FF |
| ASCII / marker preview | ... |
| Byte offset | 0 |
| MIME type | image/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.
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?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | Preview, Photos, Safari, Lightroom, Photoshop |
| iPhone & iPad | Photos, Files Quick Look, Camera |
| Windows | Photos, Paint, File Explorer preview, browsers |
Free local tools & related guides
- Check whether a file really is JPEG
- View EXIF & AI metadata
- Remove image metadata
- Check AI & Content Credentials
- Inspect raw bytes in the Hex Viewer
- Guide: HEIC vs JPG: What’s Actually Inside the File
- Guide: How to Remove EXIF & GPS Photo Metadata
- Guide: Social Media Photo Tracking Metadata (FBMD): How to Check & Remove It
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.