.pbm File — Portable Bitmap
image/x-portable-bitmap
Drop any file to identify its extension and type — runs entirely in your browser
Drop a .pbm file here or click to choose
Or drop any file to identify its extension
image/x-portable-bitmapQuick Facts
| Extension | .pbm |
| Full Name | Portable Bitmap |
| MIME Type | image/x-portable-bitmap |
| Category | Image |
| Type | Text-based (human-readable) |
| Typical Size | 100 B – 5 MB |
| First Appeared | 1988 |
What Is a .pbm File?
PBM (Portable Bitmap) is the simplest image format in the Netpbm family, storing monochrome (black and white) images with no grayscale or color. PBM files have two variants: ASCII (P1) where each pixel is a 0 or 1 character, and raw binary (P4) where each byte contains 8 pixels. The header is minimal — just the magic number, width, and height. PBM's extreme simplicity makes it the easiest possible image format to understand, implement, and debug. In the ASCII variant, you can literally see the image as text — rows of 0s and 1s forming a visual pattern. This makes PBM ideal for teaching file format concepts, binary representation, and basic image processing. PBM is also used for scanned document storage, OCR preprocessing, fax data, and any context where binary (two-color) images are sufficient. The format is part of the broader Netpbm ecosystem of image processing tools that can convert between PBM, PGM, PPM, and hundreds of other formats. Despite its age and limitations, PBM remains relevant in text-mode visualization, ASCII art generation, and computational imaging research.
How to Open .pbm Files
Related File Extensions
More Image File Extensions
Other image formats you might encounter
Browse File Extensions by Category
Explore our reference of 259 file extensions with details, programs, and related formats.