JPG vs PNG vs WebP: Which Image Format Should You Use?

Most people never think about image formats until something goes wrong: a file is too big to email, a logo has an ugly white box around it, or a website refuses an upload. Knowing what each format is good at prevents all three.

The short answer

Job Format
Photos to share, email or upload JPG
Screenshots with text, diagrams, logos PNG
Anything with a transparent background PNG (or WebP)
Images on your own website WebP, with JPG/PNG as backup
Official forms and portals Whatever they ask for, usually JPG or PDF

JPG: the photo format

JPG (or JPEG, which is the same thing) uses lossy compression. It studies the image in small blocks and throws away detail the eye is unlikely to notice. For photos, with their soft gradients and natural noise, the result is a small file that looks just like the original. At quality 85–92% the difference is practically invisible.

Where JPG struggles is sharp edges. Text, line art and flat colour areas pick up faint smudges called artefacts, especially at low quality. JPG also cannot be transparent, and every time you edit and re-save a JPG it loses a little more detail.

PNG: the exact format

PNG is lossless: it stores every pixel exactly. Screenshots stay razor sharp, logos keep crisp edges, and you can save a PNG a hundred times without any change. PNG supports transparency, which is why logos and cut-out product photos use it.

The price is size. A photo saved as PNG is often three to six times larger than the same photo as JPG. That is why phone screenshots are fine as PNG but camera photos are not.

WebP: the website format

WebP, from Google, does both jobs: lossy for photos and lossless with transparency for graphics, at smaller sizes than JPG and PNG. All current major browsers support it, so websites use it widely to load faster. Outside the browser, support is patchier: older software, some printing services and many forms still reject WebP. That is why images you save from websites sometimes need converting to JPG.

HEIC: the iPhone format

HEIC is how iPhones store photos by default. It is efficient, about half the size of JPG, but outside Apple devices support is limited. Convert to JPG when sharing with Windows users or uploading to forms; see our HEIC guide.

Common mistakes

  • Converting JPG to PNG to “improve quality”. It cannot restore detail already lost; it only makes the file bigger. Do it only to stop further losses during editing.
  • Saving screenshots as low-quality JPG. Text gets fuzzy. Keep screenshots as PNG, or use JPG at 90%+.
  • Using PNG for a large photo gallery. Pages become slow. Use JPG or WebP.
  • Expecting a JPG logo to be transparent. JPG has no transparency; the background will always be a solid colour.

Converting between formats

OneJPG has converters for the common directions, all running in your browser: JPG to PNG, PNG to JPG, WebP to JPG and HEIC to JPG. The Resize Image tool can also save as WebP or PNG.