Skip to content
ToolsPDF

Loading…

Enter opens the first result · Esc closes

Last updated · 2 min read

JPG, PNG, WebP, HEIC or AVIF? Image formats explained

Every image format makes trade-offs between file size, quality, transparency and compatibility. Picking the right one can halve your file sizes or save a logo from ugly edges. Here's what each common format is for, and how to convert between them.

JPG, PNG, WebP, HEIC or AVIF? Image formats explained

The formats at a glance

FormatCompressionTransparencyBest for
JPGLossyNoPhotos that need to open anywhere
PNGLosslessYesScreenshots, logos, graphics, editing
WebPLossy or losslessYesWebsites — usually smaller than JPG or PNG
HEICLossyYesiPhone photos — small, but not opened everywhere
AVIFLossy or losslessYesModern websites — very small files
Convert image after processing sample files, showing settings, results and download buttons
Convert image after processing sample files. Results, sizes and downloads appear right on the page.

Lossy vs lossless

Lossy formats discard detail that's hard to see, which makes photos much smaller. Each time you save a lossy file again, a bit more is lost. Lossless formats keep every pixel exactly, so they're ideal for editing and for graphics with sharp edges, but photos stored losslessly are large.

Converting a lossy file to a lossless one (JPG to PNG, for example) doesn't bring back lost detail — it just stops further losses. See how to convert JPG to PNG.

Convert between formats

  1. Step 1: Open Convert image and add JPG, PNG, WebP, HEIC or AVIF files.
  2. Step 2: Choose Convert to: JPG, PNG or WebP.
  3. Step 3: For JPG and WebP, set the quality; for JPG, choose a background colour for any transparent areas.
  4. Step 4: Click Start and download the converted files.

There are also single-purpose converters with sensible defaults: WebP to JPG, PNG to JPG, JPG to PNG, Convert to WebP, HEIC to JPG and AVIF to JPG.

What happens to transparency

PNG and WebP keep transparent areas when you convert between them. JPG has no transparency at all, so converting a transparent image to JPG fills those areas with a solid colour — white by default, or any colour you choose. If you need a cut-out on a coloured background, that's exactly the setting to use.

Which format should you choose?

  • Sending to anyone, anywhere: JPG for photos, PNG for screenshots.
  • Your own website: WebP for nearly everything; it's supported by all current browsers.
  • Editing or archiving graphics: PNG.
  • Received HEIC or AVIF that won't open: convert to JPG.

Frequently asked questions

Which format gives the smallest files?

For photos, AVIF and WebP are typically smallest, then HEIC and JPG. PNG is largest for photos but often smallest for simple graphics.

Can I convert to HEIC or AVIF?

Not yet — browsers can't reliably create these formats. You can convert from them to JPG, PNG or WebP.

Are my images uploaded for conversion?

No. Conversion runs in your browser.