format

JPEG

JPEG is the lossy photographic image format that cameras, phones and websites default to.

Also known as JPG, Joint Photographic Experts Group.

Convert a file now

What is a JPEG file?

A lossy raster format tuned for continuous-tone photographs, trading detail the eye is unlikely to notice for very small files.

JPEG splits an image into 8×8 blocks, transforms each with a discrete cosine transform and quantises the result according to a quality setting. Because quantisation is irreversible, JPEG is lossy and every re-save degrades the picture a little further.

Technical characteristics

Representation
binary
Compression
DCT, Huffman coding
Lossy
Yes
Transparency
No
Animation
No
Typical size
0.1–5 MB for a camera photo
Limits
65,535 × 65,535 pixels
File signature
FF D8 FF
Open specification
Yes

History and origin

Introduced
1992
Organisation
Joint Photographic Experts Group / ITU-T
  1. 1992ITU-T T.81 published
  2. 1994JFIF becomes the de facto container
  3. 2000JPEG 2000 released as a separate, less-adopted successor

Compatibility

  • Windowsfull
  • macOSfull
  • Linuxfull
  • Androidfull
  • iOSfull

Browsers: Chrome, Firefox, Safari, Edge.

Applications: Photoshop, GIMP, Affinity Photo, Microsoft Word, Google Docs.

Advantages of JPEG

  • Extremely small files for photographs
  • Adjustable quality dial from near-lossless to tiny
  • Universal support across every device and application

Limitations to know about

  • No transparency channel
  • Visible artefacts around text, logos and hard edges
  • Generation loss on every re-save

When to use JPEG

  • Camera photos
  • Web imagery
  • Email attachments

Best practices

  • Export at quality 80–90 for the web; higher rarely looks different
  • Keep a lossless master and export JPEGs from it

Common mistakes

  • Saving screenshots or logos as JPEG, which blurs text
  • Repeatedly editing and re-saving the same JPEG

Convert JPEG files

Convert from the highest-quality JPEG you have. Re-encoding an already-compressed JPEG compounds artefacts.

  • Convert to WebP

    WebP delivers the same perceived quality as JPEG at about a third less bandwidth and is supported by every current browser.

    Trade-offs: Encoding is slower than JPEG; Print workflows may still expect JPEG.

    Learn about WebP

JPEG scores

Deterministic scores calculated from the structured facts above. Identical facts always produce identical scores.

Overall score

75/100

  • Compatibility score

    100
    • every major browser engine renders it natively
    • Windows, macOS, Linux, Android and iOS all open it without extra software
    • a broad range of applications read and write it
    • an open specification means cloud SDKs can implement it without licensing friction

    Confidence 82% · evidence coverage 100%

  • Openness score

    100
    • the specification is published openly
    • an openly specified format can be implemented without a licence negotiation

    Confidence 91% · evidence coverage 100%

  • Streaming score

    88
    • smaller payloads mean less I/O and faster first paint
    • it compresses lossily, which produces much smaller files than lossless coding
    • every major browser engine renders it natively

    Confidence 77% · evidence coverage 63%

  • Performance score

    88
    • smaller payloads mean less I/O and faster first paint
    • it compresses lossily, which produces much smaller files than lossless coding

    Confidence 73% · evidence coverage 100%

  • Web score

    87
    • browsers render it natively, so no conversion step is needed at request time
    • every major browser engine renders it natively
    • smaller payloads mean less I/O and faster first paint
    • it compresses lossily, which produces much smaller files than lossless coding
    • it has no transparency, so transparent areas are flattened onto a solid colour

    Confidence 83% · evidence coverage 100%

  • AI score

    86
    • open specifications are implemented by the open-source decoders that ML stacks rely on
    • the specification is published openly
    • a broad range of applications read and write it
    • smaller payloads mean less I/O and faster first paint

    Confidence 73% · evidence coverage 100%

  • Archiving score

    79
    • the specification is published openly
    • the specification is public, so a decoder can always be rebuilt
    • it is actively maintained and current
    • it carries EXIF-style embedded metadata

    Confidence 87% · evidence coverage 100%

  • Longevity score

    77
    • the specification is published openly
    • it is actively maintained and current
    • the specification is public, so a decoder can always be rebuilt
    • it sits at the centre of the format ecosystem, with many documented relationships

    Confidence 90% · evidence coverage 100%

  • Editing score

    66
    • a broad range of applications read and write it
    • colour profiles travel with the file, keeping the pipeline colour-managed
    • it carries EXIF-style embedded metadata
    • it discards detail during encoding, and every re-save compounds the loss

    Confidence 66% · evidence coverage 100%

  • Photography score

    64
    • it carries EXIF-style embedded metadata
    • colour profiles travel with the file, keeping the pipeline colour-managed
    • it opens by double-clicking on every mainstream device
    • it compresses lossily, which produces much smaller files than lossless coding
    • it discards detail during encoding, and every re-save compounds the loss

    Confidence 69% · evidence coverage 100%

  • Printing score

    55
    • it carries EXIF-style embedded metadata
    • a broad range of applications read and write it
    • it discards detail during encoding, and every re-save compounds the loss

    Confidence 74% · evidence coverage 100%

Every conclusion below is derived from the structured facts on this page — nothing is written by hand.

  • Browser compatibility100/100

    • Because every major browser engine renders it natively.
    • Because at least one shipping browser renders it.
  • Operating system compatibility100/100

    • Because Windows, macOS, Linux, Android and iOS all open it without extra software.
    • Because most platforms handle it natively.
  • Software compatibility100/100

    • Because a broad range of applications read and write it.
    • Because several mainstream applications support it.
  • Web suitability100/100

    • Because browsers render it natively, so no conversion step is needed at request time.
    • Because lossy compression keeps transfer sizes and Core Web Vitals in check.
    • Because the specification is open, so tooling and CDNs implement it freely.
  • Cloud compatibility100/100

    • Because an open specification means cloud SDKs can implement it without licensing friction.
    • Because it converts into many other formats, which suits automated pipelines.
  • Everyday consumer usage100/100

    • Because it opens by double-clicking on every mainstream device.
    • Because small files are easy to email, message and upload.
    • Because it is a current format that people and services still expect.
  • Metadata support100/100

    • Because it carries EXIF-style embedded metadata.
    • Because it embeds colour-profile metadata.
  • Open standards100/100

    • Because the specification is published openly.
    • Because an official specification document is publicly reachable.
  • Licensing100/100

    • Because an openly specified format can be implemented without a licence negotiation.
    • Because the core patents are old enough to have expired.
  • Popularity100/100

    • Because it sits at the centre of the format ecosystem, with many documented relationships.
    • Because mainstream applications ship support for it.
    • Because every mainstream operating system handles it.
  • Decode performance100/100

    • Because smaller payloads mean less I/O and faster first paint.
    • Because mature formats benefit from hardware and SIMD-optimised decoders.
  • Compression efficiency69/100

    • Because it compresses lossily, which produces much smaller files than lossless coding.
    • Because it defines a documented compression scheme.
  • Transparency0/100

    • Because it has no transparency, so transparent areas are flattened onto a solid colour.
    • Because it has no alpha channel, so edges cannot fade smoothly.
  • Animation0/100

    • Because it is a single-frame format and cannot animate.
  • Image quality33/100

    • Because it discards detail during encoding, and every re-save compounds the loss.

Migration paths

  • JPEGWebP

    Transparency improves by 100 points because it supports transparency.

    Trade-off: Licensing drops by 33 points because it does not satisfy: the core patents are old enough to have expired.

    Convert JPEG to WebP

Successors and legacy considerations

Superseded by: WebP.

WebP supersedes it in new work.

Frequently asked questions

Is JPG the same as JPEG?

Yes. The three-letter form exists only because early Windows filesystems limited extensions to three characters.

Can a JPEG have a transparent background?

No. JPEG has no alpha channel, so transparency is flattened onto a solid colour. Use PNG, WebP or AVIF instead.

Data quality

Every claim on this page is classified as a verified fact, a derived fact or an assumption.

Overall confidence
96%
Verification status
verified
Last reviewed
2026-08-03
Verified facts
3

3 classified claims backed by 2 sources.

Sources and review status

Review status: verified · confidence 95%

Last reviewed 2026-08-03 (revision 1).