JPEG vs JPG: What Is the Difference?
The short answer: there is no difference. They are the same image format.
They are the same format — just different extensions
JPEG and JPG both describe the same image compression standard. JPEG stands for Joint Photographic
Experts Group, the technical committee that created the format. The two extensions exist because of
a quirk of computing history: early versions of DOS and Windows limited file extensions to three characters.
That constraint forced the full .jpeg extension to be shortened to .jpg.
When the three-character limit was lifted, both extensions stayed in circulation. Most operating systems today treat them identically, and any software that opens one will open the other. You can verify this by visiting jpeg.org, the home of the official JPEG standard body — the format specification is singular; the extension is just a label.
Where you'll see each extension
The distribution of the two extensions largely reflects platform conventions that developed over time:
- .jpg — the dominant choice on Windows. Programs like Paint and older Photoshop versions defaulted to .jpg because of the DOS legacy.
- .jpeg — more common on macOS and Linux, where the three-character limit never applied and programs could use the full name.
- Web servers and cameras — most use .jpg, but you will encounter .jpeg in software-generated files, scanned documents, and certain cameras or mobile apps.
Neither extension signals anything about quality, compression level, or metadata — those properties live inside the file itself, not in the name.
Does renaming a file from .jpeg to .jpg (or back) cause any harm?
No. Renaming a file only changes its label. The bytes inside — the compressed pixel data, EXIF metadata, color profile, and everything else — are untouched. Your operating system reads those internal bytes to understand the file type; the extension is just a hint that speeds up that identification.
On Windows you can rename a file directly in File Explorer (press F2). On macOS you can do it in Finder.
On Linux, mv photo.jpeg photo.jpg in a terminal works. In all three cases, the image opens
and displays exactly as before.
When re-encoding versus renaming matters
The distinction matters if you're not just renaming, but actually converting through a different tool or workflow. JPEG is a lossy format: every time an image is decoded and then re-encoded as JPEG (regardless of whether the extension changes), a small amount of quality is lost. This is called generation loss.
If you open a .jpg in Photoshop, make no changes, and save it again as .jpeg at a lower quality setting, the result will be visibly worse. The extension change is irrelevant; the re-encoding is the culprit.
A plain rename — touching only the filename — involves zero re-encoding and therefore zero quality loss.
How to convert other formats to JPEG/JPG
If you have iPhone photos in HEIC, web images in AVIF, or files in WebP that you need as JPEG/JPG, a plain rename won't work — those are genuinely different formats that need actual conversion. You can use the free HEIC Fox converter right here: drop your files in, choose JPG as the output format, and download. Everything runs in your browser; nothing is uploaded to a server.
For common conversion routes from HEIC and other formats, see the HEIC to JPG and AVIF to JPG guides.
JPEG quality levels and what they mean
JPEG compression is controlled by a quality setting, typically expressed as a number from 1 to 100 (or a percentage). A higher number preserves more detail; a lower number creates a smaller file at the cost of visible artefacts. The format itself doesn't store this number — it's a parameter chosen at encoding time by whatever tool created the file.
Common practical ranges:
- 85–95% — high quality, still significantly smaller than lossless formats. Good for photos you'll print or edit further.
- 75–85% — the web sweet spot. Visually clean for most photos at a fraction of the lossless size.
- 50–70% — noticeable artefacts at close inspection, but fine for thumbnails or low-bandwidth situations.
Frequently asked questions
- Is JPEG and JPG the same format?
- Yes. JPEG and JPG refer to exactly the same image format. The only difference is the file extension. JPEG is the full name derived from the Joint Photographic Experts Group; .jpg is the three-character version required by older Windows and DOS systems.
- Can I rename a .jpeg file to .jpg without breaking it?
- Yes. Because the file format is identical, changing the extension from .jpeg to .jpg (or vice versa) is safe. The pixel data, quality, and EXIF metadata inside the file are completely unaffected.
- Does converting JPEG to JPG change image quality?
- No quality change occurs from simply renaming. However, if you open a JPEG in an editor and re-save it as JPG, that re-encoding step is lossy and will reduce quality slightly. Use a converter that passes through the pixel data without re-encoding if you only want to change the extension.
- Which extension should I use, .jpeg or .jpg?
- .jpg is by far the more common choice today and is accepted everywhere. Use .jpeg if a specific platform or tool explicitly requires it, but in practice either works.
- How do I convert HEIC or AVIF photos to JPEG/JPG?
- Use a free in-browser converter like HEIC Fox. Drop your files in, choose JPG as the output, and download — nothing is uploaded to a server.