JPEG Image
image/jpeg
Released 1992
· by Joint Photographic Experts Group
JPEG (Joint Photographic Experts Group) is the world's most widely supported image format, using lossy DCT compression optimized for complex photographic images. Released in 1992, it remains the universal standard for photography on the web.
Technical Specifications
.jpg.jpeg.jpe.jfif
DCT (Discrete Cosine Transform)
image/pjpegimage/jpg
Magic Bytes & HTTP Headers
ÿØÿ
Browser Support Matrix
| Browser | Status | Min Version |
|---|---|---|
|
|
Supported | All |
|
|
Supported | All |
|
|
Supported | All |
|
|
Supported | All |
|
|
Supported | Legacy |
Advantages & Limitations
- Universal support — every browser, OS, and application handles JPEG
- Excellent compression for complex photographs with natural color gradients
- Rich metadata support: EXIF (GPS, camera settings), ICC color profiles
- No transparency — cannot have a transparent background
- Lossy compression introduces visible artifacts on sharp edges and text
- No animation support
Developer Code Snippets
File Detection Steps
How to programmatically detect a image/jpeg
file by reading its raw bytes:
- 1 Check first 3 bytes for FF D8 FF signature
- 2 Verify SOI marker (FF D8) at byte offset 0
Software Support
ImageMagick
Conversion Tools
Share & Embed
[](https://freewebptojpg.com/mime/image/jpeg)
<iframe src="https://freewebptojpg.com/mime/image/jpeg/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="JPEG Specs"></iframe>
JSON API
All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.
GET https://freewebptojpg.com/mime/image/jpeg.json
Open JSON
Frequently Asked Questions
What is the magic byte for JPEG?
The magic bytes for JPEG are FF D8 FF (hex). All valid JPEG files start with this 3-byte signature, which corresponds to the SOI (Start of Image) and APP marker.
Does JPEG support transparency?
No. Standard JPEG does not support transparency or alpha channels. For images requiring transparency, use PNG, WebP, or AVIF instead.
Does JPEG support progressive loading?
Yes. Progressive JPEG encodes the image in multiple passes, allowing browsers to display a low-resolution version immediately while the full image loads — improving perceived performance.