Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
PNG
Lossless raster format with transparency. The safe choice for screenshots, logos and line art.
PNG is a binary format, meaningful only to a program that knows it. It stores a grid of pixels, so enlarging it past its own resolution softens it. It is used for screenshots, line art and logos and the web.
The extension is .png, and the full name is Portable Network Graphics. Both matter less than what the file can hold, which is what the rest of this page is about.
PNG Development Group published it in 1996. The specification is ISO/IEC 15948.
A format that has been readable for that long is a format worth trusting with something you want back in ten years.
Anyone can implement it without asking permission or paying a licence, which is why it turns up in so many programs and why files written twenty years ago still open.
PNG stores its content exactly. Saving it again changes nothing, so it can be opened, edited and re-saved as often as you like without accumulating damage — which is what makes it a working format rather than a delivery one.
PNG carries an alpha channel, so a logo keeps its soft edges over whatever sits behind it instead of arriving in a white box.
Up to 16 bits per channel. It can work in RGB, greyscale and an indexed palette.
More than eight bits per channel is what stops a gradient from stepping when it is edited, which is why it matters in a working file and rarely in a finished one.
PNG carries a checksum, so a damaged file is detected rather than silently mis-read.
A checksum will not repair anything. It tells you the file is wrong, which is the difference between finding out now and finding out from whoever you sent it to.
Adobe Photoshop, GIMP and Paint.NET read it, and so do most programs of the same kind.
If a file will not open, the format is rarely the problem — it is more often that the program predates it. Converting to something older is the reliable way past that, and it is what the rest of this site is for.
Every current browser reads it.
That makes it a safe thing to put on a page or attach to a message without wondering what the other end has installed.
PNG can hold EXIF, XMP and ICC profiles.
Whether any of it survives a conversion depends entirely on the target, and the honest answer is usually "some of it".
PNG is meant to be handed over rather than worked in. Editing one is possible and rarely pleasant; the sane approach is to change the source and export again.
The recurring complaints: the files are large for what they contain.
None of these is a reason to avoid the format. They are the things worth knowing before you are surprised by one, which is a different claim and a more useful one.
| Extension | .png |
|---|---|
| Media type | image/png |
| Published by | PNG Development Group |
| First published | 1996 |
| Specification | ISO/IEC 15948 |
The claims on this page are checkable, and these are the documents that settle them.