File types / Images

.png file

PNG image

Extensions
.png
MIME type
image/png
Signature
89 50 4E 47 0D 0A 1A 0A  (.PNG....)at byte offset 0
Safety
Low risk

What is a .png file?

PNG is a lossless image format built for graphics, screenshots and anything with sharp edges or transparency. Unlike JPEG, saving it again does not degrade it.

The 8-byte signature is deliberately awkward: the non-ASCII first byte and the line-ending bytes make it easy to detect when a file has been corrupted by a text-mode transfer.

Used for: Screenshots, logos, icons, images with transparency.

How can I tell if a file is really a PNG?

Read its first bytes rather than trusting the name. A genuine PNG file has the signature 89 50 4E 47 0D 0A 1A 0A (.PNG....) at byte offset 0. The File Identity tool reads these bytes in your browser, so the file is never uploaded.

To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.

Is a .png file safe to open?

PNG files are images and cannot run code. Screenshots can still contain information you did not mean to share.

Easy to confuse

PNG files are bigger than JPEGs for photographs. Converting a photo to PNG does not improve its quality; it only makes the file larger.