About JPG Files
JPEG Image
JPEG is the most widely used lossy image format on the web. It achieves small file sizes through adjustable compression, making it ideal for photographs and complex images where some quality loss is acceptable.
Family
Raster & Vector Images
Extension
.jpg
MIME Type
image/jpeg
Can Use As
HOW JPG
CAME TO BE.
JPEG was defined in 1992 by the Joint Photographic Experts Group — a committee of researchers from ISO, IEC, and ITU that spent five years solving a problem the rest of computing had ignored: how to make photographs small enough to transmit over a 9600-baud modem. Their answer was a clever lossy compression scheme that exploits how the human eye perceives color and detail: the algorithm discards information the eye can't easily see, keeping what matters.
JPEG's dominance was cemented by early digital cameras and the commercial web. By 1996 every camera manufacturer shipped JPEG as the native save format, and every browser rendered it natively. Thirty years on, roughly one out of every three files on the internet is a JPEG.
CURIOSITIES &
TRIVIA.
The name is always JPEG — the committee — but the usual file extension is .jpg because MS-DOS only supported 3-letter extensions.
JPEG compression uses the Discrete Cosine Transform — the same math as MP3 audio compression.
You cannot truly edit a JPEG: every save re-compresses and degrades the image. This is called "generation loss".
A 1-megapixel JPEG at quality 80 is about 250 KB. The same image as uncompressed BMP is 3 MB.
Progressive JPEG was invented so images would load top-to-bottom in a low-res preview first — still useful today.
STRENGTHS &
LIMITATIONS.
Strengths
- Excellent compression ratio for photographs (10:1 or better without visible quality loss).
- Universal support — every camera, phone, OS, and browser reads JPEG natively.
- Adjustable quality setting balances file size against visual fidelity.
- Embeds EXIF metadata (camera model, GPS, exposure) automatically.
- Progressive rendering for graceful loading over slow networks.
Limitations
- Lossy — every save degrades the image further (generation loss).
- No transparency channel (use PNG or WebP for that).
- Visible compression artifacts on text, sharp edges, and flat colors.
- Limited to 8 bits per channel — poor for HDR or print work.
- Baseline JPEG tops out at 65,535 × 65,535 pixels.
Typical Sizes & Weights
Phone photo (12 MP, quality 85)
2–5 MB
Web thumbnail (400px)
20–60 KB
Full-page magazine photo
500 KB – 2 MB
Social-media square (1080×1080)
100–400 KB
Technical Specifications
- MIME type
- image/jpeg
- Compression
- Lossy — Discrete Cosine Transform + quantization + Huffman coding
- Color depth
- 8 bits per channel (24-bit RGB or 8-bit grayscale)
- Max dimensions
- 65,535 × 65,535 pixels (baseline)
- Transparency
- Not supported
- Typical quality
- 75–90 for web, 95+ for print
CONVERT FROM
JPG
CONVERT TO
JPG
Common Use Cases
Web photos, digital photography, email attachments, social media images.
Related Formats
Popular comparisons
JPG vs PNG
Differences, file size, and when to choose each format.
JPG vs WEBP
Differences, file size, and when to choose each format.
JPG vs AVIF
Differences, file size, and when to choose each format.
JPG vs GIF
Differences, file size, and when to choose each format.
JPG vs BMP
Differences, file size, and when to choose each format.
JPG vs TIFF
Differences, file size, and when to choose each format.
Popular JPG conversions
The most-requested destinations when starting from JPG.
Frequently Asked Questions about JPG
Frequently Asked Questions
JPG (JPEG) is the most widely used image format, developed by the Joint Photographic Experts Group in 1992. It uses lossy compression to achieve small file sizes, making it the standard for digital photography, web images, and social media.
JPG files can be opened by virtually any image viewer or editor, including Windows Photos, macOS Preview, Adobe Photoshop, GIMP, and all web browsers.
Use JPG for photographs and complex images where small file size matters. Use PNG when you need transparency, sharp text, or lossless quality such as logos, screenshots, and graphics with flat colors.