Theme

File names

IMG_2041.heic

IMG_2041.jpg

Language

Your files and these choices stay on this device.

Conversion settings

Your starting point for new files. You can still change anything before converting.

Convert to

Quality
AutoSmaller fileBest quality
Bitrate
Auto64 kbps320 kbps
Video bitrate
Auto1 Mbps12 Mbps
Speed
Resolution
Color
Normalize volume
Remove metadata
Leave out images
Download several files as

Image format

What is a .png file?

PNG (Portable Network Graphics) is a lossless image format. It keeps every pixel exactly as saved and supports transparency, which is why logos, icons and screenshots use it.

The trade-off is size: a photo saved as PNG is many times heavier than the same photo as JPG or WebP. PNG opens in every browser, phone and operating system.

fileclay opens and writes PNG

PNG vs JPG vs WebP

PNGJPGWebP
CompressionLosslessLossyLossy or lossless
TransparencyYesNoYes
AnimationAPNGNoYes
Color depthUp to 16 bits8 bits8 bits
SupportEverywhereEverywhereAll modern browsers
Best forGraphics, screenshotsPhotosImages on the web
File size, measured

Photo, 1600 × 1067

PNG2.6 MB
JPG180 KB
WebP104 KB

Screenshot, 1280 × 800

PNG129 KB
JPG71 KB
WebP36 KB

Encoded in Chromium, with JPG and WebP at quality 80. PNG keeps every pixel; the other two discard detail.

When to use PNG

Good for

  • Logos and icons with a transparent background
  • Screenshots, where text has to stay sharp
  • Images you’ll edit and save again, with no quality loss each time

Not a good fit

  • Photos on a website: JPG or WebP are far lighter
  • Large photos sent by email
  • Press printing: PNG has no CMYK, so use TIFF or PDF

How to open .png files

PlatformAppNotes
WindowsPhotosBuilt in
macOSPreview, PhotosBuilt in
iPhone, iPadPhotos, FilesBuilt in
AndroidGoogle Photos, GalleryBuilt in
BrowsersChrome, Safari, Firefox, EdgeDrag the file into a tab
EditorsPhotoshop, GIMP, Affinity Photo, PaintOpens and saves

Convert PNG files

How to identify a .png file

Every PNG starts with the same eight bytes, whatever its name says. That settles it when a file has the wrong extension.

89
50P
4EN
47G
0D
0A
1A
0A

It’s read here, in your browser. Only the first bytes.

What comes after

IHDRWidth, height, bit depth and color type
PLTEThe color palette, in indexed images
IDATThe compressed pixels
IENDEnd of the file

Questions about PNG

Is PNG lossless?

Yes. The pixels you decode are identical to the ones saved, however many times the file is opened and saved again.

Why are PNG files so large?

Lossless compression has to keep all the detail, and photos are full of it. In our test a 1600 × 1067 photo took 2.6 MB as PNG and 180 KB as JPG at quality 80.

Does PNG support transparency?

Yes. Each pixel can have its own opacity, so soft edges and shadows blend with any background. JPG has no transparency at all.

Can a PNG be animated?

Yes, as APNG, which keeps the .png extension. The third edition of the W3C specification, from 2025, includes it, and modern browsers play it.

Is PNG better than JPG?

For graphics, text and screenshots, yes: edges stay clean and transparency works. For photos, no: JPG looks almost the same at a fraction of the size.

Can PNG files store Exif data?

Yes, in the eXIf chunk, although many apps remove it when they save.

Related formats

Sources