JPG, PNG, WebP, AVIF, HEIC — which image format to use
JPG for photos everyone can open, PNG for screenshots and transparency, WebP and AVIF for small files on websites, HEIC on Apple devices. A practical guide to choosing and converting.
In this article
Image formats are not interchangeable. The wrong one can make a photo blurry, a logo jagged or a web page slow. Here is what each common format is for.
The quick comparison
| Format | Best for | Transparency | Compression | Support |
|---|---|---|---|---|
| JPG | Photos | No | Lossy | Everywhere |
| PNG | Screenshots, logos, text, diagrams | Yes | Lossless | Everywhere |
| WebP | Web images | Yes | Lossy or lossless | All modern browsers |
| AVIF | Web images, smallest files | Yes | Lossy or lossless | Modern browsers |
| HEIC | Photos on iPhone and iPad | Yes | Lossy | Apple devices; limited elsewhere |
| GIF | Simple animations | Yes (1-bit) | Lossless, 256 colours | Everywhere |
| TIFF | Archiving scans, professional print | Yes | Usually lossless | Specialist software |
| SVG | Logos and icons as vectors | Yes | Text-based | Browsers, design tools |
Lossy vs. lossless
Lossy formats (JPG, most WebP and AVIF, HEIC) throw away detail the eye is unlikely to notice. Files are small, but each re-save loses a little more. Lossless formats (PNG, lossless WebP, TIFF) keep every pixel exactly — bigger files, no degradation.
Rule of thumb: photos in lossy formats, anything with sharp edges or text in lossless formats.
Choosing by situation
- Sending photos to anyone: JPG. It opens everywhere.
- Screenshot of a document or app: PNG. JPG makes text fuzzy.
- Logo with a transparent background: PNG, or SVG if you have the vector file.
- Images for your website: WebP, or AVIF for the smallest files. Keep a JPG fallback only if you need very old browsers.
- Print shop: ask what they want — usually high-quality JPG, PNG, TIFF or PDF.
- iPhone photos that will not open: convert HEIC to JPG.
Converting between formats
The Image converter converts between JPG, PNG, WebP, AVIF, GIF, TIFF and BMP, with a quality setting. Popular one-step tools:
- PNG to JPG and JPG to PNG
- WebP to JPG and JPG to WebP
- PNG to AVIF and AVIF to JPG
- SVG to PNG for vector logos
Converting a JPG to PNG does not restore detail the JPG already lost — it just stores the same picture losslessly.
Making files smaller
Before changing format, check the pixel dimensions. A 4000-pixel photo shown 800 pixels wide is wasting 96% of its data. Compress images can resize and compress in one step — see how to compress images.
Frequently asked questions
Is WebP better than JPG?
For websites, usually: similar quality at a smaller size. For sending photos to people, JPG is still the safest choice.
Why does my PNG photo have a huge file size?
PNG is lossless — great for graphics, inefficient for photos. Convert photos to JPG or WebP.
Can I convert images to PDF?
Yes — Image to PDF accepts all of these formats.


