JPG and JPEG are identical file formats with different names
JPG and JPEG are the same image format. There is no technical difference between a file saved as .jpg and one saved as .jpeg. Both use the same compression method, both open in the same programs, and both display identically on your screen. The reason two names exist comes from an old limitation in Windows 95 and earlier versions of Windows, which only allowed three-letter file extensions. JPEG is the official name from the Joint Photographic Experts Group, the organization that created the format in 1992. JPG is the shortened version that fit Windows' three-letter requirement.
Today, both extensions work on every operating system and in every image program. Your camera, phone, web browser, and photo editor all recognize both equally. You can rename a JPG file to JPEG or vice versa and it will open and function exactly the same way. The choice between them is purely a matter of habit or what your device defaults to — there is no performance difference, no quality difference, and no compatibility difference.
Key Takeaways
- JPG and JPEG are the same format with different names; the three-letter version exists only because older Windows versions required three-letter extensions.
- Both extensions produce identical image quality, file size, and compression, and both open in every modern image viewer and editor.
- You can safely rename a JPG file to JPEG or the reverse without any loss of data or change in how the image displays.
- Modern devices and software support both extensions equally, so choosing one over the other has no practical impact on your work.
Why Windows created the JPG abbreviation
In 1992, when JPEG was first standardized, personal computers running Windows 95 and earlier could only read file extensions with three letters — the part after the dot in a filename. JPEG has four letters, so it would not fit. Software makers shortened it to JPG to work within that limitation. This was a common workaround at the time; GIF images were sometimes called GIFs, and other formats had similar truncations.
When Windows 98 and later versions removed the three-letter restriction, both names remained in use. Older software and habits kept JPG alive, and newer software often defaulted to JPEG as the official name. Neither was wrong, and both became standard. Today, the three-letter limit is long gone, but the two names persist straightforward because they always have.
How compression works the same way in both formats
JPG and JPEG both use lossy compression, which means they reduce file size by removing some image data. When you save a photo as JPG or JPEG, the software throws away details your eye is unlikely to notice — usually fine color gradations and texture information in areas of similar color. This is why JPG files are much smaller than uncompressed formats like PNG or TIFF, and why they are the standard for photographs on the web and in email.
The compression happens identically regardless of which extension you use. A JPG file and a JPEG file saved from the same original photo with the same quality setting will be the same size and look the same. The only thing that changes is the three or four letters at the end of the filename.
When to use JPG versus JPEG in practice
In practice, there is no reason to choose one over the other. Use whichever your camera, phone, or software defaults to. If you are uploading photos to a website, either extension works. If you are emailing images, either extension works. If you are storing photos on your computer, either extension works.
The only scenario where the choice might matter is if you are working with very old software from the 1990s or early 2000s that was written before JPEG support was standardized. In that case, JPG might be slightly more reliable. But any software made in the last fifteen years recognizes both without hesitation. If you inherit a folder of JPG files or receive JPEG files from someone else, there is no need to convert them — they are already in the format you need.
How to rename between JPG and JPEG safely
If you want to change a file from JPG to JPEG or the reverse, you can rename it directly. Right-click the file, select "Rename," and change the extension from .jpg to .jpeg or vice versa. The file will open and display exactly as before. This does not re-compress the image or change its contents — you are only changing the label on the filename.
On a Mac, click the file once to select it, press Enter, and edit the extension. On a phone or tablet, most devices do not let you rename files directly, but you can usually export or save the image with a different extension through the camera app or photo editor. The image itself remains unchanged.
What other image formats do instead
PNG is a different format that uses lossless compression, meaning it keeps all the original image data and produces larger files. PNG is better for graphics, logos, and images where you need perfect clarity. GIF is another format, mostly used for straightforward animations and web graphics. TIFF is used in professional photography and printing because it preserves maximum quality but creates very large files.
JPG and JPEG remain the standard for photographs because they balance file size and image quality well. A typical photo that might be 50 megabytes as a TIFF becomes 2 to 5 megabytes as a JPG, making it practical to store, email, and share. The slight loss of detail is invisible to most people in most situations.
Frequently Asked Questions
Is a JPG file lower quality than a JPEG file?
No. JPG and JPEG use identical compression, so a JPG file and a JPEG file saved from the same photo with the same quality setting will be indistinguishable. The extension does not affect image quality at all.
Can I open a JPG file in a program that only supports JPEG?
Yes. Any program that supports JPEG automatically supports JPG because they are the same format. The extension difference is just a label — the file format underneath is identical. If a program supports one, it supports the other.
Will renaming a JPG to JPEG make it take up more storage space?
No. Renaming the file does not change its size or compress it further. The file size stays exactly the same whether it is named photo.jpg or photo.jpeg. You are only changing the filename, not the image data.
Which extension should I use when saving photos from my camera?
Use whichever your camera defaults to. Most modern cameras use JPEG, but some use JPG. Both are fine, and you can rename files later if you want consistency. There is no performance or quality reason to prefer one over the other.
Do I need to convert all my old JPG files to JPEG?
No. There is no reason to convert them. JPG and JPEG are the same format, so your old JPG files will open and display correctly in any modern software. Conversion would waste time and storage space without any benefit.