What Is a PNG File?

Last reviewed:

Overview

A PNG file is a lossless raster image that can preserve sharp visual detail and an alpha transparency channel. It is widely used for logos, screenshots, diagrams, interface graphics, and images that need clean edges on different backgrounds. The format prioritizes accurate decoded pixels rather than the compact photographic storage offered by lossy JPEG.

PNG is supported across current browsers, operating systems, and general image software. Its strengths do not mean that it is ideal for every picture. Complex photographs may require much more storage in PNG form, while graphics with limited colors, small text, or transparent regions often benefit from its predictable lossless behavior.

How PNG preserves image data

PNG compression is lossless, which means normal encoding does not intentionally discard decoded pixel information to reach a quality target. A PNG destination can still differ from its source because the source format may already have lost information before conversion.

Lossless does not mean that every PNG is small. File size depends on dimensions, pixel complexity, color variation, and transparency. Flat graphics and repeated areas can compress efficiently, while detailed photographs may remain large. Converting a JPG photograph into PNG stores the JPEG's decoded pixels losslessly but often produces a larger file without improving the original detail.

Transparency in PNG images

PNG can store an alpha channel, so each pixel may be opaque, transparent, or partly transparent. This makes the format suitable for logos, overlays, and product images placed over changing backgrounds. A later conversion to JPG removes that capability because standard JPEG output has no transparency channel.

Where PNG works best

PNG is a strong choice for screenshots, line art, charts, diagrams, icons, and graphics containing text. Lossless storage avoids the ringing and softness that lossy codecs may introduce near hard edges. It also works as a useful interchange format when decoded pixels must remain stable through a non-lossy output step.

For ordinary photographs delivered on the web, JPG, WebP, or AVIF may create smaller files, depending on compatibility and quality requirements. PNG can still be appropriate when a photograph needs transparent pixels or when file size is secondary to lossless storage. The final destination should guide the choice rather than a general rule.

Converting PNG safely

The selected output determines whether transparency and lossless pixel storage remain available. Converting from PNG cannot add source detail, and a destination with fewer capabilities may require transparent pixels or exact color values to change.

PNG to JPG is useful for universal photographic delivery but removes transparency and introduces lossy encoding. PNG to WebP can retain transparency while using a modern web format. PNG to TIFF creates a lossless professional interchange file that may be considerably larger.

Format capability and current encoder policy

PNG format capability

As a file format, PNG stores raster graphics losslessly and can preserve an alpha transparency channel. Lossless; photographic files can be large. It is best suited to logos, screenshots, diagrams, and graphics with transparent edges. These capabilities describe the format itself, not a promise about a particular encoder.

Current ForgeConvert PNG output policy

Lossless PNG encoding preserves decoded pixel values and alpha. Normal output metadata is stripped.

For What Is a PNG File?, the current workflow does not permanently store uploaded or converted files, accepts up to 20 files of 8 MB each, limits decoded images to 40 megapixels, and allows 15 seconds for processing. These operating limits come from the active converter configuration.

Convert an image

Use the PNG TO JPEG converter

See also

Frequently asked questions

Does PNG support transparency?

Yes. PNG can store an alpha channel with fully or partly transparent pixels, making it useful for overlays and graphics on varied backgrounds.

Is PNG compression lossless?

Yes. Normal PNG encoding preserves decoded pixel values rather than using a lossy quality target, although source information already lost cannot be restored.

Why are some PNG photographs large?

Detailed photographs contain complex pixel variation that lossless PNG cannot discard. Lossy photographic formats can often store the same scene more compactly.

Reviewed by ForgeConvert Editorial Team.