.JPEG

JPEG File

JPEG Image
Ask a question
QUICK ANSWER

A JPEG file is a compressed photo or image - the same format as .jpg, byte for byte. Every operating system opens it without extra software: double-click and Windows Photos, macOS Preview, or any browser handles it. JPEG uses lossy compression, so each re-save loses a little quality.

Developer: Joint Photographic Experts Group (ISO/IEC + ITU-T) Category: Raster Image Files Open standard MIME: image/jpeg
OPENS ON Windows macOS Linux Android iOS Web
Related: .JPG · .PNG · .TIF · .ECW

On this page

19k+ extensions indexed
Last reviewed Aug 19, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the JPEG file format?

.jpeg is one of the most popular graphic formats currently in use. It uses a lossy compression algorithm designed by the Joint Photographic Experts Group. .jpeg files hold digital image data and computer graphics, and each file contains embedded metadata covering color space, color profile, and image dimensions.

JPEG and JPG

The .jpg extension is interchangeable with .jpeg - both identify byte-for-byte the same format. The shorter .jpg name arose solely from the old DOS/Windows three-character extension limit.

JPEG compression method

JPEG uses a lossy compression algorithm, meaning some image information is discarded and cannot be recovered. Although this method significantly reduces file size, it comes at the cost of lower image quality. Still, JPEG offers acceptable image quality despite drastic reduction of file size. Users can choose the compression level when saving an image as .jpeg to achieve the desired quality-to-size balance.

JPEG format specification

A .jpeg file stores up to 24 bits of data per pixel, supporting over 16 million colors - a full-color palette. The format is divided into two main sub-formats: *JPEG/Exif* (used in digital photography by cameras and smartphones) and *JPEG/JFIF* (the internet standard). Every .jpeg file begins with the magic bytes FF D8 FF and ends with FF D9 (the EOI marker), uniquely identifying it regardless of whether .jpeg or .jpg appears as the extension. The format does not support transparency; for images requiring an alpha channel, formats such as PNG or WebP are better suited.

Security & safety

RISK: LOW

JPEG is a passive data format - it cannot execute code, so a normal photo is safe to open. Two caveats worth knowing: (1) Exif metadata can embed GPS coordinates and camera info, so photos shared publicly may leak your location - strip Exif before posting if that matters. (2) Historically, a handful of image-parser vulnerabilities (e.g. the 2004 Windows GDI+ JPEG flaw) let crafted JPEGs exploit unpatched viewers; keep your OS/viewer updated. A file claiming to be a 'photo.jpeg' that is actually 'photo.jpeg.exe' is the real danger - check the true extension.

Format details

in a nutshell
FULL NAMEJPEG Image
DEVELOPERJoint Photographic Experts Group (ISO/IEC + ITU-T)since 1992 (JPEG standard, ISO/IEC 10918-1); JFIF interchange format 1992
MIME TYPEimage/jpeg
TYPELossy-compressed raster bitmap (DCT-based)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102
HEX
FFD8FF
ASCII
···
Always starts FF D8 FF. The 4th byte identifies the variant: E0 = JFIF, E1 = Exif (most camera/phone photos), DB = raw. Every JPEG also ends with FF D9 (EOI marker). .jpeg and .jpg are byte-for-byte the same format - the shorter .jpg arose only from the old DOS/Windows 3-letter extension limit.

Programs that open JPEG files

Windows5 apps
Adobe Photoshop Paid Industry-standard editor; File > Open. Use Save for Web for controlled compression.
GIMP Open-source Open for full photo editing; File > Export As to re-save with a chosen quality.
IrfanView Free Fast lightweight viewer; great for batch resize/convert. Open file or use File menu.
Photos (built-in) Built-in Double-click the file; Windows Photos opens it by default. Use Paint for quick edits.
XnView MP Free Browse a folder of photos and view/convert. Free for personal use.
macOS4 apps
Adobe Photoshop Paid Professional editing; File > Open.
GIMP Open-source Free full editor; File > Export As to save JPEG with quality control.
Preview (built-in) Built-in Double-click; Preview opens and can crop, rotate, resize, and re-export.
Photos (built-in) Built-in Import into the Photos library for organizing and non-destructive edits.
Linux3 apps
GIMP Open-source Default photo editor on most distros; open and Export As to re-save.
darktable Open-source Photography workflow/RAW tool that also imports and exports JPEG.
Gwenview Open-source KDE image viewer with basic edits; double-click in a file manager.
Android1 app
Google Photos Free Default gallery/viewer with editing tools on most Android phones.
iOS1 app
Photos (built-in) Built-in Tap to view; built-in editor for crop, adjust, markup.
Web1 app
Photopea Free Browser-based Photoshop-style editor; drag the JPEG into the page, no install.

Technical details

deep spec
Compression typeLossy DCT (Discrete Cosine Transform)
Color depthUp to 24 bits per pixel (8 bits per channel)
Color space supportYCbCr (primary), RGB, CMYK, grayscale
Chroma subsampling4:4:4, 4:2:2, or 4:2:0 (4:2:0 most common for web)
TransparencyNot supported - no alpha channel
Sub-formatsJFIF (internet/web standard) and Exif (digital cameras and smartphones)
File signature (magic bytes)FF D8 FF at offset 0 (SOI marker); file ends with FF D9 (EOI marker)
MIME typeimage/jpeg
Maximum image size65,535 × 65,535 pixels (per ISO/IEC 10918-1 standard)
Metadata standardsExif, IPTC-IIM, and XMP embedded in APP marker segments
Progressive encodingSupported - progressive JPEGs load in increasing detail passes, improving perceived web performance
ICC color profilesSupported via APP2 marker segment
Compression ratioTypically 10:1 to 20:1 at standard quality settings; adjustable by the user
Common quality rangeQuality 75-85 (on a 0-100 scale) balances file size and visual fidelity for most use cases
Released1992 (JPEG standard, ISO/IEC 10918-1); JFIF interchange format 1992
Open standardYes · royalty-free
Specificationwww.w3.org

JPEG conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with JPEG files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about JPEG files.

Frequently asked questions

Is JPEG the same as JPG?
Yes - they are byte-for-byte the same format. The shorter .jpg comes from the old DOS/Windows limit of three-letter extensions; .jpeg is the full name. You can rename one to the other freely with no quality change.
How do I open a JPEG file?
Just double-click it - every operating system opens JPEG out of the box: Windows Photos, macOS Preview, or any web browser. To edit, use Paint, IrfanView, GIMP (free) or Photoshop.
How do I convert HEIC photos from my iPhone to JPEG?
On Windows, open the HEIC in Photos (install the free HEIF Image Extensions if prompted) and Save As JPEG, or use IrfanView for batch conversion. On Mac, open in Preview and File > Export as JPEG. You can also set the iPhone to shoot JPEG: Settings > Camera > Formats > Most Compatible.
How do I combine multiple JPEGs into one PDF?
On Windows, select the images, right-click > Print > choose 'Microsoft Print to PDF'. On Mac, open them in Preview, select all thumbnails, and File > Print or Export as PDF. Many free tools do this too.
Why does my JPEG look blurry or blocky?
Over-compression. JPEG is lossy: low quality settings or repeated re-saving discard detail and create 8x8 block artifacts. There's no way to recover lost detail - re-export from the original at higher quality.
How do I make a JPEG file smaller?
Re-save at a lower quality setting or reduce the pixel dimensions in IrfanView, GIMP, Photoshop, or an online compressor. Resizing down is the most effective way to cut file size.

References

1W3C / ITU-T T.81 - JPEG standard (ISO/IEC 10918-1)www.w3.org
2Library of Congress - JPEG File Interchange Format (JFIF)www.loc.gov

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.MDMarkdown Document
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.DATProgram Data File (generic)
10.TMPTemporary File

Related extensions

.JPGJPEG Image
.PNGPortable Network Graphics
.TIFTagged Image File Format
.ECWEnhanced Compression Wavelet (ECW) image
.AVIFAV1 Image File Format (AVIF)
.JP2JPEG 2000 Image (ISO/IEC 15444-1)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z