At first glance, JPG and JPEG look like two different image formats. They are not. JPG and JPEG are the same format, with two different file extensions. If you have ever wondered whether you should save a photo as .jpg or .jpeg, the short answer is that it makes no practical difference — the image inside the file is identical.
In this guide, we explain where the two extensions came from, whether one is better than the other, and what actually matters when you save, share, or compress a JPG image.
What Is JPEG?
JPEG stands for Joint Photographic Experts Group, the committee that created the format in the early 1990s. JPEG is a method for compressing photographs: it throws away some image data that the human eye is unlikely to notice, so a photo that might be 10 MB as an uncompressed file can become a few hundred kilobytes as a JPEG.
Because JPEG compression is lossy, every time you save a JPEG at a lower quality setting, some detail is lost for good. That is also why JPEG is so popular: it keeps photos looking good at a fraction of the size of uncompressed formats, which makes it ideal for websites, email, and phones.
What Is JPG?
JPG is simply a shorter spelling of the same extension. Early versions of Windows (Windows 95 and earlier) only allowed file extensions of three characters, so .jpeg had to be shortened to .jpg. Macs and Unix systems had no such limit, so they kept .jpeg.
When Windows later allowed longer extensions, both spellings stayed in use. Cameras, phones, and image editors still save files as either .jpg or .jpeg, depending on the software — but the file format is the same either way.
JPG vs JPEG: The Real Differences
There is no difference in image quality, compression, colour, or compatibility between a .jpg file and a .jpeg file. The only difference is the name — three letters instead of four. A photo saved as photo.jpg and the same photo saved as photo.jpeg contain exactly the same data.
That said, a few practical points are worth knowing:
- Compatibility: Both extensions open in every modern browser, phone, and image editor. Very old software occasionally expects .jpg, which is why .jpg is still the more common spelling.
- File size: Changing the extension does not change the file size. Only the quality setting and the image dimensions do. If your file is too large, reducing the JPG file size in KB is what actually helps.
- Quality: A .jpeg is not higher quality than a .jpg. Quality depends on the compression level used when the file was saved, not on the extension.
- Renaming: You can safely rename photo.jpeg to photo.jpg (or the other way round) and nothing about the image changes.
When Should You Use JPG, and When Something Else?
JPG is the right choice for photographs and realistic images with many colours, such as holiday photos, product shots, and blog images. It is a poor choice for logos, text, and graphics with sharp edges or transparency — for those, PNG is usually better, and you can convert a JPG to PNG if you need to. For the smallest web files, converting JPG to WebP can shrink photos further, though older devices may not support WebP.
As a rule of thumb: use JPG for photos, PNG for graphics with transparency or crisp text, and WebP when you want the smallest file for a modern website.
How to Make a JPG File Smaller
Since the extension makes no difference, the way to shrink a JPG is to lower its quality slightly or reduce its dimensions. Our free JPG compressor does both in your browser — your images are never uploaded to a server. Upload a photo, choose a quality setting around 70–80%, and download the smaller file. If you need a specific size, try compressing a JPG to 100KB or to 50KB. For the best-looking results, read our guide on how to compress JPG without losing quality.
Frequently Asked Questions
Is JPG the same as JPEG?
Yes. JPG and JPEG are the same image format. JPG is just the three-letter version of the .jpeg extension, from a time when Windows limited extensions to three characters.
Which is better, JPG or JPEG?
Neither. They produce identical image quality and file size. JPG is slightly more common, so it is the safer choice if you are sharing files with older software.
Does converting JPEG to JPG reduce quality?
No. Renaming or changing the extension does not re-compress the image, so quality stays exactly the same. Quality only drops when you re-save the image at a lower quality setting.
Why do some files end in .jpeg and others in .jpg?
It depends on the device or program that saved the file. iPhones and many cameras use .jpg, while some editors and older Mac software use .jpeg. Both are correct.
Should I use JPG or PNG for my website?
Use JPG for photographs, because the files are much smaller. Use PNG for logos, icons, and images that need transparency or perfectly sharp text.