A JPEG is a photo file format that makes image files smaller without losing much quality
A JPEG (pronounced "JAY-peg") is a way of storing a photograph or image on your computer. The name stands for Joint Photographic Experts Group, the organization that created the standard. When you take a photo with your phone or camera and it saves as a .jpg or .jpeg file, that is a JPEG. It is the most common format for photographs because it shrinks file size dramatically — a photo that might take up 50 megabytes as an uncompressed image can become 2 or 3 megabytes as a JPEG, and most people cannot see the difference.
JPEG works by throwing away some of the image data your camera captured, but it throws away the parts your eye is least likely to notice. This is called lossy compression. Every time you save a JPEG, a tiny bit more quality is lost, but for most uses — sharing on social media, printing a 4x6 photo, storing family pictures — the loss is invisible. If you need to edit a photo many times or print it very large, JPEG is not the best choice, because each save degrades it further.
Key Takeaways
- JPEG is a compressed photo format that makes files much smaller by removing some image data your eye cannot easily detect.
- Every camera, phone, and social media platform uses JPEG as a default because it balances file size and visible quality.
- JPEG loses a small amount of quality each time you save it, so it is not ideal for photos you plan to edit repeatedly.
- PNG and TIFF are alternatives when you need lossless compression or transparency, but they create much larger files.
How JPEG compression actually works
JPEG compression divides your image into tiny blocks and analyzes the color and brightness in each block. It then removes details that are hard for human eyes to see — usually fine color variations and sharp edges. The software keeps the information your eye relies on most: overall brightness, large color areas, and the main shapes in the photo.
When you save a JPEG, you can usually choose a quality setting, often shown as a number from 1 to 100 or as "low," "medium," and "high." A quality setting of 90 or higher looks nearly identical to the original to most people, while 70 to 80 is still very good for everyday use. Below 60, you start to see visible blocks and color banding, especially in areas of solid color like a clear sky. Most phones and cameras default to around 85 to 90, which is why photos look fine on your screen.
Why JPEG became the standard for photos
JPEG won out over other formats because it solved a real problem in the 1990s: storing and sharing photos on the internet was slow. A single uncompressed photo could take minutes to read on a dial-up connection. JPEG made files small enough to email and upload in reasonable time, and the quality loss was small enough that most people did not mind.
That advantage never went away. Today, every camera, phone, and social media platform — Facebook, Instagram, Google Photos, your email — uses JPEG as a default because it is fast to upload, fast to read, and takes up minimal storage space. A smartphone camera can store hundreds of JPEG photos in the same space that would hold only a few uncompressed images. This is why JPEG remains the most common photo format thirty years after it was created.
When to use JPEG and when to use something else
Use JPEG for photographs, especially if you plan to share them, print them, or store them on your phone. It is the right choice for family photos, vacation pictures, social media posts, and anything you shoot with a camera. JPEG is also what you get automatically from most devices, so you do not have to think about it.
Use PNG instead if you need a transparent background (like a logo with no white box around it) or if you plan to edit the photo many times. PNG uses lossless compression, meaning no quality is lost when you save, but files are much larger — sometimes three to five times bigger than a JPEG of the same image. Use TIFF if you are a photographer or designer working with professional software and need the highest possible quality; TIFF files are even larger than PNG but preserve every detail.
Use WebP if you are uploading images to a website you control. WebP is a newer format that compresses better than JPEG while keeping similar quality, making pages load faster. Most phones and computers now support it, though some older devices do not.
What happens when you edit and re-save a JPEG
Every time you open a JPEG in an editing program, make changes, and save it again, you lose a small amount of quality. This is because the file is decompressed (expanded back to full size), edited, and then compressed again. The second compression throws away more data, and the third compression throws away more still. After five or six edits, the loss becomes visible as slight blurriness or color shifts.
To avoid this, professional photographers and designers work with the original file in a lossless format like TIFF or RAW (the format cameras use internally), then export a JPEG only when they are finished. If you are editing a JPEG casually — cropping a photo, adjusting brightness — one or two saves will not cause noticeable damage. But if you plan to edit a photo many times, convert it to PNG or TIFF first, or ask the original photographer for the uncompressed version.
File size and storage: why JPEG matters for your phone
A single uncompressed photo from a modern smartphone camera can be 30 to 50 megabytes. As a JPEG, the same photo is usually 2 to 5 megabytes. This difference adds up fast: a thousand photos would take up 30 to 50 gigabytes uncompressed, but only 2 to 5 gigabytes as JPEGs. This is why your phone can hold hundreds of photos without running out of storage, and why cloud services like Google Photos and iCloud can back up years of pictures without charging you for massive amounts of space.
When you share a JPEG by email or text, the file is small enough to send when ready. When you upload to social media, the upload is fast and uses less data. If you were sharing uncompressed images, you would hit file size limits, run out of storage, and burn through your data plan. JPEG makes everyday photo use practical.
Frequently Asked Questions
Is JPEG the same as JPG?
Yes. JPEG and JPG are the same format — JPG is just a shorter filename extension. Windows originally limited filenames to three letters, so JPG was used instead of JPEG. Both work identically and you can rename one to the other without any problem.
Can I convert a JPEG to PNG without losing quality?
Converting the file format does not restore lost data. If quality was already lost when the JPEG was created, converting to PNG will not bring it back. However, PNG will not lose any additional quality during the conversion, so the image will not get worse. If you need lossless quality, start with the original uncompressed file or RAW file from your camera.
Why does my JPEG look blurry when I print it large?
JPEG compression is designed for screen viewing, where images are small and viewed from a distance. When you print a photo very large — poster size or bigger — the compression artifacts become visible as slight blurriness or blocky areas. For large prints, use a higher quality JPEG (90+), or ask the photographer for a TIFF or RAW file.
Does saving a JPEG multiple times make it worse each time?
Yes, but only if you open it, edit it, and save it again. straightforward copying a JPEG file or uploading it does not degrade it. Quality loss only happens during the compression step, which occurs when you save after making changes. Opening and closing without editing causes no damage.
What is the difference between JPEG quality 85 and quality 95?
Quality 95 preserves more detail and looks slightly sharper, especially in areas with fine texture or gradual color changes. Quality 85 is smaller and still looks very good to most people on screens. For web use and social media, 85 is standard. For photos you might print or edit later, use 90 or higher.