The short answer
Use JPG for photographs, and PNG for screenshots, logos, diagrams and anything with a transparent background. JPG keeps photos small by storing them approximately. PNG stores every pixel exactly, which keeps text and edges sharp but makes photographs large.
The difference that decides it
A PNG is an exact record. Open it, save it, open it again, and each pixel has the colour it started with. A JPG is a close description. The encoder keeps the overall shapes and shading and lets go of some fine detail, and a quality setting decides how much.
Neither approach is better in general. An exact record is wasteful for a photo and essential for a diagram. A close description is ideal for a photo and damaging for small text.
Signs the picture should be a JPG
- It came from a camera or a phone camera.
- It is full of gradual changes: skin, sky, foliage, fabric.
- It will be emailed, uploaded to a form or posted, and size matters.
- It has no transparent areas and does not need any.
Signs the picture should be a PNG
- It is a screenshot, a chart, a map, a line drawing or a page of text.
- It has large areas of one flat colour and hard edges between them.
- Part of it is transparent, such as a logo meant to sit on any background.
- You will edit and save it again several times and want nothing to drift.
What the wrong choice looks like
A photograph saved as PNG looks fine but is usually much larger than a JPG of the same picture, which makes it slower to send and may break an upload limit.
A screenshot saved as JPG at a low quality can show grey smudges around letters and faint speckling in areas that should be one flat colour. A logo with a transparent background saved as JPG loses the transparency altogether and gains a solid rectangle behind it.
Switching from one to the other
- Open the Convert image tool and add the files. Up to 20 can go in together.
- Set Output format to JPG or to PNG.
- For JPG, leave the quality on Balanced, or choose Custom and set the slider yourself. For PNG the quality setting has no effect, because nothing is discarded.
- Use the Compare slider to look at the original and the result side by side, then press Download.
Two things to expect
Going from JPG to PNG usually makes the file larger, and the result row shows the increase. It also does not bring back detail the JPG had already dropped; it only stops further loss from that point on.
Going from PNG to JPG on this site fills transparent areas with white. If you need both small files and transparency, set Output format to WebP, which can do both, and check that the place you are sending it accepts WebP.
Either way, the converted file comes back without its hidden data, such as camera details and location, and without the colour profile of the picture you started from. Hold on to the starting file if you may need either.