What Is a JPG File? The Complete Guide to the World’s Most Common Image Format

Images Oct 13, 2026 4 min read

The photos on your phone are almost certainly JPG. The product images on the e-commerce site you visited this morning were JPG. The news photographs in your feed, the profile pictures in your contacts, the vacation photos someone emailed you — JPG, JPG, JPG. .jpg (also written .jpeg) is the world’s dominant image format for photography and general-purpose images. Understanding how it works and where it falls short will help you make smarter decisions every time you save or share an image.

The History of the JPEG Standard

JPEG stands for Joint Photographic Experts Group — the ISO/IEC committee that finalized the compression standard in 1992. Before JPEG, a full-color digital photograph consumed tens of megabytes of storage, an impossible burden for the disk drives and network connections of the era. JPEG’s compression made digital photography and internet image publishing practical, and by the mid-1990s it had become the default format for photographic images.

The extensions .jpg and .jpeg refer to exactly the same format. The three-letter .jpg abbreviation originated from DOS, which could not handle four-character file extensions. Both remain in common use today.

Lossy Compression: How JPEG Makes Files Small

JPEG uses lossy compression — the compression process permanently discards some image data in exchange for smaller file sizes. This is a fundamental trade-off, not a limitation to be worked around.

The JPEG compression algorithm exploits several properties of human vision:

The result: a 12 MB RAW photograph from a digital camera can become a 1.5 MB JPEG with visually imperceptible quality loss — provided the quality setting is appropriate.

Quality Settings: What the Numbers Mean

Most image software presents a quality slider (typically 1–100) or quality labels (Low/Medium/High/Maximum) when saving a JPEG. This setting controls how aggressively the algorithm discards image data.

Generation Loss: Every Save Costs Quality

This is the JPEG characteristic that surprises most non-technical users: every time you resave a JPEG, the lossy compression runs again, causing further quality loss.

Open a JPEG, rotate it slightly, save. Open again, crop a few pixels, save. Repeat. After several cycles of opening and resaving, the image will show increasingly obvious compression artifacts — blocky patches in smooth areas, degraded edges, color banding. This is called “generation loss.”

The practical implication: if you’re editing an image through multiple sessions, work in a lossless format (PNG, TIFF) or your application’s native format (PSD for Photoshop). Only export as JPEG for your final output.

What JPEG Cannot Do

When JPG Is the Right Choice

Modern Alternatives

Several newer formats achieve better compression ratios than JPEG at equivalent visual quality: WebP (developed by Google), AVIF (based on AV1 video compression), and HEIC (used by Apple). These formats can produce files 30–50% smaller than JPEG at comparable quality levels. However, JPEG’s compatibility advantage remains unmatched — it is natively supported by every device, operating system, browser, and image application in existence. For content that must be viewable by everyone, JPEG remains the safest choice.

Doing it without uploading the file

If the file is confidential, the safest route is the one where it never leaves your computer. Image Convert runs entirely in the browser: the file is read from your disk, processed in memory, and written back — nothing is sent to a server.

  1. Open Image Convert.
  2. Choose the file from your computer. It is read locally, not uploaded.
  3. Pick the output format and set the quality if you need to.
  4. Download the result. The original stays where it was.

Do it in your browser — the file never leaves your device: Image Convert

Solve your file problem: Image Convert Try it free — Image Convert →