PNG or JPG? Which one, and when
Choosing the right format for photos, screenshots and logos
The Save dialog is open, there is a format list at the bottom, and you are stuck between PNG and JPG. Both are images, both open everywhere, so what is the difference? This article exists so you can click the right line in that list.
The heart of it fits in one sentence: JPG was built for photographs, PNG for sharp edges. In real life, though, the file in front of you does not always drop neatly into one of those two boxes. So below you will find the three questions that make the decision, followed by a table you can simply look things up in.
The three questions that decide it
Choosing a format is less technical than it sounds. Ask these three questions in order and you will land on the right answer almost every time.
First question: does the background of the image need to stay empty? That property is called transparency. In other words, part of the picture carries no colour at all and whatever sits behind it shows through; it is what keeps a logo from appearing inside a white rectangle when you place it on a coloured poster. If you need that, the decision is already made: PNG.
Second question: does the image contain millions of subtle colour transitions, or a handful of flat colours and hard edges? Landscapes, portraits and food photos belong to the first group and want JPG. Logos, screenshots of tables, diagrams and images with text on them belong to the second, and stay clean in PNG.
Third question: will you touch this file again? If you will work on it and save repeatedly, PNG is safe, because every save leaves the picture exactly as it was. JPG throws away another round of detail with each save; a JPG you have edited and re-saved ten times is visibly worn compared with its first day.
Decision table
Find the row that matches what you have and follow it. Where the table says the difference is small, either format is acceptable; in the other rows the choice genuinely changes the outcome.
| What you have | Choice | Why |
|---|---|---|
| Photo taken with a phone | JPG | The same picture takes several times more room as PNG |
| Screenshot with text and tables | PNG | Letter edges stay crisp |
| Game or video screenshot | JPG | The content behaves like a photo, small difference |
| Logo, icon, emblem | PNG | Hard edges and transparency survive |
| Image that needs an empty background | PNG | JPG cannot hold a transparent area |
| Diagram, chart, line drawing | PNG | Flat colour areas stay clean |
| Image going into an email | JPG | Attachment limits make lightness matter |
| File you will keep editing | PNG | No fresh damage accumulates with each save |
| Photo for a web page | JPG | Page load time follows file size directly |
Same image, two formats: what you actually see
In the diagram below, the top row is a photograph and the bottom row a logo with a transparent background; the two columns place the PNG and JPG versions of each side by side. The photo row compares file sizes, the logo row compares what happens to the background.
How to tell whether your file has transparency
The fastest way to find out is to see the image against a dark background. Drag the file into a browser window: instead of showing the empty area as plain white, the browser usually renders it as a pattern of small grey-and-white squares. If you see that pattern, the image has transparency.
The second method is more definitive: paste the image onto a coloured slide in a presentation program. If a white rectangle appears around it, there is no transparency; if it sits there in its own shape, there is.
This distinction matters, because saving an image with transparency as a JPG deletes that information beyond recovery. The empty areas land on a solid background, and converting the file back to PNG will not remove that white box.
What the wrong choice costs you
You can err in both directions, and the two mistakes are not equally serious.
Saving a photo as PNG does not harm the picture, it harms your budget: the file swells needlessly, your site slows down, and your email attachment hits its limit. This mistake is reversible; convert the file to JPG and the problem closes.
Saving a screenshot or a logo as JPG is the irreversible one. Faint shadows and slight ripples appear around letters and hard lines, and they are written permanently into the file. Converting to PNG afterwards does not clean those shadows up, it only freezes them.
The practical rule: when in doubt, save as PNG. Going from PNG to JPG is always possible; the other direction is not.
- Photo accidentally saved as PNG → shrink it with the PNG to JPG tool, no picture lost
- Logo accidentally saved as JPG → find the source file, converting will not rescue it
- Right format but the file is still large → bring the size down with the Image Compression tool
Right format, file still too big
Format is only half the job. Saving a photo as JPG makes it smaller, but phones now capture frames so large that a single picture can still run to several megabytes. That is where the second lever comes in: the pixel dimensions of the image.
Dimensions mean how many dots wide the picture is. For an email or an ordinary web page, roughly two thousand dots across is plenty; halving the four-thousand-dot frame your phone produces cuts the file to a quarter. The Image Compression tool offers both quality and long-edge settings together, so you can pull both levers in one step.
The same route is not open for a PNG with transparency; there the way to shrink a file is to reduce its dimensions or the number of colours in it. Logo files are small to begin with, so in practice they rarely cause trouble.
Frequently asked questions
Which is higher quality, PNG or JPG?
The question does not quite fit: PNG keeps the picture exactly as it is, JPG discards some detail to save room. In a photograph that discarding is invisible and JPG gives a far smaller file; on sharp-edged images the discarded detail shows around the letters, and there PNG is the higher quality choice.
Which format should I use for screenshots?
For screenshots containing text, menus, tables or code, choose PNG so the letters stay crisp. If the screen mostly shows a photograph or a video frame, JPG is acceptable too.
Does converting JPG to PNG restore quality?
No. Whatever detail went missing was discarded the moment the file first became a JPG, and nothing brings it back. All the conversion buys you is that no new damage accumulates in later saves.
What happens if I save a transparent image as JPG?
The transparent areas land on a solid background, usually white, and that information is erased from the file. For logos, icons and stamps, stay with PNG.
What about WEBP? Should I treat it as a third option?
Only when the file's destination is a web page. WEBP writes the same picture with less data and carries transparency too, but some programs and upload forms refuse it, so PNG or JPG remain safer for files you send to someone.
Last updated: August 27, 2026