image/jpeg
The MIME type for JPEG image files using lossy compression for photographs.
What Is This?
The image/jpeg MIME type indicates that the content is a JPEG image using lossy compression. JPEG is the most common image format on the web for photographs and complex images because it achieves excellent compression ratios with minimal visible quality loss. It does not support transparency.
Common Uses
Photographs and photo galleries
Social media images
Product images on e-commerce sites
Banner ads and hero images
Examples
Supported by all browsers. JPEG is the most universally supported image format.
The .jpg file extension maps to image/jpeg as its MIME type.
Related Entries
More from this reference:
image/png
The MIME type for PNG (Portable Network Graphics) image files with lossless compression.
image/gif
The MIME type for GIF images supporting animation and transparency.
image/webp
The modern MIME type for WebP images offering superior compression for both lossy and lossless encoding.
image/svg+xml
The MIME type for SVG (Scalable Vector Graphics) vector images.
Frequently Asked Questions
Can I use both .jpg and .jpeg extensions?
Yes. Both .jpg and .jpeg extensions map to image/jpeg and are treated identically by browsers and servers. .jpg is more common due to the 8.3 filename convention legacy.
What JPEG quality should I use for the web?
Quality 70-85% (out of 100) is the sweet spot for web use. Below 70%, visible artifacts appear. Above 85%, file size increases significantly with minimal quality improvement.