A JPEG is a photo file format that makes pictures smaller without losing much quality
JPEG stands for Joint Photographic Experts Group, the committee that created the format in 1992. A JPEG file is a compressed image — the camera or phone takes all the color and detail information from a photo and squeezes it down to a smaller size so it takes up less space on your device and uploads faster online.
The trade-off is that JPEG compression throws away some detail you cannot see. For most everyday photos, you will not notice the difference. A JPEG of your family at dinner looks identical to the original on your phone screen. But if you zoom in very close or print a large poster, you might see slight blurriness or color banding where the compression simplified things.
JPEG files end with the extension .jpg or .jpeg — both mean the same thing. When you take a photo on an iPhone, Android phone, or most digital cameras, the device saves it as a JPEG by default.
Key Takeaways
- JPEG is a compressed format that makes photo files smaller while keeping them look good on screens and in prints up to standard sizes.
- The compression removes some image data permanently, so a JPEG loses quality each time you edit and re-save it in JPEG format.
- JPEG works best for photographs and complex images with many colors; it is not ideal for graphics with solid colors or text.
- Most phones, cameras, and websites use JPEG because the file size is small enough to email, upload, and store without much space.
How JPEG compression works
JPEG compression uses a mathematical process to identify which parts of an image your eye notices most and which parts it ignores. It keeps the details you see and discards the details you do not. For example, a blue sky has many shades of blue, but your eye sees it as one smooth color. JPEG simplifies those shades into fewer blocks of color, shrinking the file.
You can control how much compression happens. Most cameras and phones use a medium compression level — they make the file small enough to fit many photos on the device without making them look bad. If you want less compression (more quality), the file gets bigger. If you want more compression (smaller file), the photo looks worse.
One important thing to know: JPEG compression is lossy, meaning information is thrown away and cannot be recovered. If you open a JPEG in an editing program, make changes, and save it again as JPEG, the file gets compressed a second time. Each time you do this, the photo loses more detail. This is why photographers who edit photos often save their work in a different format like TIFF or PNG while editing, then convert to JPEG only when they are done.
When to use JPEG and when to use something else
JPEG is the right choice for photographs, especially ones you plan to share online or email. The file size is small, almost every device and website accepts it, and the quality is good enough for screens and standard prints. If you take a photo on your phone and want to send it to a friend, JPEG is what you are already using.
JPEG is not the best choice for graphics, logos, or images with text. If you have a graphic with solid colors and sharp edges — like a company logo or a chart — formats like PNG or GIF preserve those sharp lines better and make smaller files. JPEG will make the edges look slightly fuzzy.
JPEG is also not ideal if you plan to edit a photo many times. Each time you save it as JPEG, it loses quality. If you are a photographer or designer doing serious editing work, you would save the original in a lossless format like TIFF or RAW, edit it, and only convert to JPEG at the very end for sharing.
JPEG file size and storage
A typical JPEG photo from a modern phone is between 2 and 8 megabytes, depending on how many pixels the camera captures and how much compression is applied. That means you can fit hundreds of photos on a phone with 64 gigabytes of storage, or thousands on a computer with a terabyte drive.
Before JPEG existed, uncompressed photos were much larger — sometimes 10 to 50 times bigger. That is why JPEG became the standard. It made it practical to store photos on devices, email them to people, and upload them to websites without waiting hours for the transfer.
If you run out of storage space on your phone, converting photos to JPEG (if they are not already) will not help much — they are already compressed. You would need to delete photos, move them to cloud storage like Google Photos or iCloud, or buy more storage space.
Opening and converting JPEG files
You can open a JPEG on almost any device: phones, tablets, computers, and web browsers all display JPEG files without any special software. Right-click a JPEG file on Windows and choose "Open with" to pick which program you want to use. On a Mac, double-click the file and it opens in Preview by default.
If you need to convert a JPEG to a different format — like PNG, TIFF, or WebP — you have several options. Online converters like CloudConvert or Convertio let you upload a JPEG and download it in another format without installing anything. Photo editing software like Photoshop, GIMP (free), or even built-in phone apps let you open a JPEG and save it as a different format.
Be aware that converting from JPEG to another format does not recover the detail that was lost during JPEG compression. The new file will be the same quality as the JPEG you started with. If you want to improve quality, you need the original uncompressed version.
JPEG versus newer formats
Newer formats like WebP and HEIC (High Efficiency Image Container) compress photos even more than JPEG while keeping similar quality. WebP files are often 25 to 35 percent smaller than JPEG. HEIC, used by newer iPhones, is even more efficient. However, not all devices and websites support these formats yet, so JPEG remains the safest choice when you need something that works everywhere.
If you receive a photo in HEIC format from an iPhone and need to open it on an Android phone or Windows computer, you may need to convert it to JPEG first. Many online converters handle this, or you can use the Photos app on a Mac to convert HEIC to JPEG.
Frequently Asked Questions
Why do my JPEG photos look blurry when I zoom in?
JPEG compression simplifies areas of similar color into blocks. When you zoom in very close, you see those blocks instead of smooth detail. This is normal and expected. If you need sharp detail at high zoom levels, use a format like PNG or TIFF, or keep the original uncompressed file from your camera.
Can I improve a JPEG photo by converting it to PNG?
No. Converting a JPEG to PNG does not add back the detail that compression removed. The new PNG file will look identical to the JPEG because the information is already gone. You would need the original uncompressed photo to improve quality.
Is JPEG safe to use for important documents?
JPEG is not ideal for documents with text because compression makes text edges fuzzy. For important papers, use PDF or PNG instead. If you must use JPEG, take the photo in good lighting and use the highest quality setting your camera offers.
Why does my phone save photos as JPEG instead of PNG?
JPEG files are much smaller than PNG for photographs, so your phone can store more photos and use less battery power. PNG is better for graphics and images with text, but for everyday photos, JPEG is the practical choice.