Anyfile
Open file
.pnmTypical support level 4

Open PNM, PBM, PGM and PPM Images Online

The Netpbm family uses compact headers followed by text or binary samples. Anyfile distinguishes PBM, PGM, PPM and PAM variants, validates their sample ranges and renders the resulting raster.

Choose a .pnm file

Your file stays on this device

Anyfile reads only the local file you select. Parsing, decoding and rendering happen in this browser tab; the file is not uploaded to Anyfile servers.

What Anyfile can show

  • Bitmap, grayscale, RGB and PAM channel data
  • ASCII and binary Netpbm encodings

Limits and conditions

  • Comments are parsed but not presented as metadata
  • Huge ASCII rasters can be slow to parse

IMPLEMENTATION

Viewers responsible for this format

General raster image viewer
Local decoding for TIFF, TGA and Netpbm imagery.
See implementation and open-source credits

Common question

Is PNM one exact pixel format?

No. It is a family name covering PBM, PGM, PPM and PAM variants with different channels and sample depths.