What is JPEG?

The universal lossy image format for photographs and complex images

JPEG (Joint Photographic Experts Group) is a lossy image compression format standardized in 1992 by the committee of the same name. It uses discrete cosine transform (DCT) to reduce file sizes by selectively discarding visual information that the human eye is least likely to notice, making it ideal for photographic content.

JPEG became the default image format for digital photography, web publishing, and everyday image sharing. Virtually every digital camera, smartphone, and image editor supports JPEG natively. Its adjustable compression ratio lets users balance file size against visual quality for any use case.

Despite the emergence of modern formats like WebP and AVIF, JPEG remains the most widely used image format on the internet. Its universal compatibility across every browser, operating system, and device ensures it will remain relevant for years to come, even as newer codecs gain adoption.

Technical specifications

Full name Joint Photographic Experts Group
File extensions .jpg, .jpeg
MIME type image/jpeg
Compression Lossy (DCT-based)
Color depth 24-bit (16.7 million colors)
Transparency Not supported
Animation Not supported
Max dimensions 65,535 × 65,535 pixels
Metadata EXIF, IPTC, XMP
Year released 1992

When to use JPEG

  • Photographs and realistic images where small file size matters more than pixel-perfect quality
  • Sharing images via email, messaging apps, or social media platforms
  • Web pages where broad compatibility is more important than cutting-edge compression
  • Digital camera output and archiving large photo libraries efficiently
  • Print-ready images where the final output does not require transparency

Pros and cons

Advantages

  • Universal compatibility across all browsers, devices, and software
  • Excellent compression ratios for photographic and complex imagery
  • Adjustable quality slider allows fine-tuned file size control
  • Supports EXIF metadata for camera settings and GPS coordinates
  • Extremely fast encoding and decoding on all hardware

Disadvantages

  • Lossy compression permanently discards image data on each save
  • No transparency support, requiring workarounds for non-rectangular images
  • No animation support, unlike GIF or WebP
  • Visible artifacts at low quality settings, especially around sharp edges
  • Less efficient compression compared to modern formats like WebP and AVIF

Compatibility

JPEG is supported by every web browser, operating system, image editor, and mobile device ever made. It is the most universally compatible image format in existence, readable by software dating back decades and requiring no special codecs or plugins.

JPEG vs other formats

JPEG vs PNG
PNG uses lossless compression and supports transparency, making it better for graphics, logos, and screenshots. JPEG produces smaller files for photographs but introduces compression artifacts. Choose PNG when you need pixel-perfect accuracy or transparent backgrounds.
JPEG vs WebP
WebP delivers 25–34% smaller files than JPEG at equivalent visual quality, and adds transparency and animation support. However, JPEG enjoys broader compatibility with legacy software. WebP is the better choice for modern web performance.
JPEG vs AVIF
AVIF achieves up to 50% smaller file sizes than JPEG with superior visual quality, plus HDR and transparency support. Browser support for AVIF is growing but not yet universal. JPEG remains the safer fallback for maximum compatibility.

JPEG tools on My File Tool

Convert JPEG files to other formats, or convert other formats to JPEG. First file always free.

Frequently asked questions

Is JPEG the same as JPG?
Yes, JPEG and JPG are identical formats. The shorter .jpg extension originated from older Windows systems that required three-character file extensions. Both produce the same files.
Does JPEG compression reduce image quality?
Yes, JPEG uses lossy compression that permanently removes some image data. Higher compression means smaller files but more visible artifacts. Quality loss accumulates with each re-save.
Can JPEG images have transparent backgrounds?
No, JPEG does not support transparency. If you need a transparent background, use PNG, WebP, or AVIF instead. JPEG fills transparent areas with a solid color, typically white.
What is the best JPEG quality setting for web use?
A quality setting of 75–85% typically provides the best balance between file size and visual quality for web use. Most viewers cannot distinguish quality levels above 85%.
Can I convert JPEG to PNG without losing quality?
Converting JPEG to PNG preserves the current state of the image without further loss, but it cannot restore data already discarded by JPEG compression. The PNG file will also be significantly larger.

Need to convert JPEG?

Convert JPEG to PNG, WebP, or AVIF. Or compress JPEG to reduce file size. Free, no signup.

Convert JPEG now