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, produce the same image quality, and work in the same software. The reason they have two names comes from an old computer limitation, not from any difference in how they work.
When the Joint Photographic Experts Group created this format in 1992, they named it JPEG. Early versions of Windows could only recognize three-letter file extensions. Since JPEG has four letters, Windows shortened it to JPG to fit that limit. Other operating systems kept the full JPEG name. Both names stuck around, and today you can use either one — your camera, phone, and computer will treat them exactly the same way.
Key Takeaways
- JPG and JPEG are the same format with identical compression and image quality; the difference is only in the filename extension.
- The two names exist because older Windows systems required three-letter file extensions, so JPEG was shortened to JPG.
- You can rename a .jpg file to .jpeg or vice versa without changing how the image looks or how software reads it.
- Modern operating systems and software support both extensions equally, so choosing between them makes no practical difference.
Why the format has two different names
The three-letter extension limit was a real constraint in early Windows versions. DOS, the operating system that Windows was built on, used the 8.3 filename format — eight characters for the name, a dot, then three characters for the extension. JPEG did not fit. Rather than create confusion by using a different name than the official standard, Windows simply truncated it to JPG.
Apple and Linux systems did not have this limitation, so they kept using JPEG. Once the internet grew and files moved between different computers, both names became common. Today, Windows supports four-letter extensions without any problem, but JPG remained the default in many programs because it was already so widely used.
How to convert between JPG and JPEG
Converting a file from one extension to the other takes seconds and does not change the image itself. On Windows, right-click the file, select "Rename," and change the extension from .jpg to .jpeg (or the reverse). On Mac, select the file, press Enter to edit the name, change the extension, and confirm. The image data stays exactly the same — you are only changing the label on the file.
If you are renaming files in bulk, you can use a file manager or a batch rename tool. Windows File Explorer can rename multiple files at once if you select them all and use the rename function. Mac users can select multiple files and use the Finder's rename feature. No special software is needed, and the image quality will not change.
Which extension should you use
Use whichever extension is most common in your workflow. If you work mostly on Windows, JPG is the standard default. If you work on Mac or Linux, JPEG is more common. If you share files with others, match what they use — but honestly, it does not matter. Every modern device, camera, phone, and web browser recognizes both equally.
Some older software or devices might have a slight preference for one or the other, but this is rare today. Your camera probably defaults to JPG, your phone might use JPEG, and your web browser displays both without any difference. Pick one and stick with it for consistency, but do not worry about compatibility — both work everywhere.
When you might see both extensions in the same place
If you download images from the internet or transfer files between different devices, you will often see both extensions mixed together. A photo from an iPhone might arrive as .jpeg, while a photo from a Windows camera might be .jpg. Cloud storage services like Google Drive, OneDrive, and iCloud accept both without converting them. Social media platforms like Instagram and Facebook accept both and often convert them to their own formats anyway.
Some software defaults to one extension or the other. Adobe Lightroom and Photoshop typically save as JPEG by default, while Windows Photo Viewer and many phone cameras default to JPG. None of this matters for how the files work — it is purely a naming convention.
Compression and image quality are the same regardless of extension
The compression method used by JPG and JPEG is identical. Both use lossy compression, which means they discard some image data to make the file smaller. A photo saved as .jpg and the same photo saved as .jpeg will have the same file size and the same visual quality if they use the same compression settings. The extension does not affect how much the image is compressed or how it looks.
If two JPEG files look different, it is because they were compressed at different quality levels, not because one is .jpg and the other is .jpeg. You can control compression in most image editing software by choosing a quality percentage (usually 1 to 100, or "low" to "high"). That setting affects the file size and image quality — the extension does not.
Frequently Asked Questions
Can I just rename a JPG file to JPEG and use it the same way?
Yes. Renaming the file extension does not change the image data or how software reads it. A .jpg file renamed to .jpeg will work exactly the same in every program, camera, phone, and web browser. The image quality, file size, and appearance remain unchanged.
Will my camera or phone recognize both JPG and JPEG?
Yes. Modern cameras and phones recognize both extensions. Most devices default to one or the other (phones often use JPEG, cameras often use JPG), but they can read and display both. You can transfer files with either extension between devices without any issues.
Is one extension faster to load than the other?
No. Load time depends on file size and your internet connection, not on whether the extension is .jpg or .jpeg. Two identical images with different extensions will load at the same speed.
Do websites prefer one extension over the other?
Websites accept both extensions equally. Search engines, social media platforms, and web browsers do not treat .jpg and .jpeg differently. You can upload either one without any impact on how the image displays or how it ranks in search results.
What if a program says it does not recognize the file?
This is extremely rare with modern software. If it happens, try renaming the extension to the other format — the program might have a minor preference for one or the other. If that does not work, the issue is likely that the file itself is corrupted, not that the extension is wrong.