Portable Bitmap
PBM is a simple monochrome image file format designed to store binary black-and-white graphics.
Open a PBM file online
Drop a .pbm file to see what is inside — no program to install. The file is read on our server and deleted as soon as the answer is ready.
Reading the file…
Preview
Aa Bb Cc 123
The quick brown fox jumps over the lazy dog
Съешь же ещё этих мягких французских булок
Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ — աբգդեզ
Only the first 200 entries are shown.
What is Portable Bitmap?
The Portable Bitmap (.pbm) format is part of the Netpbm project, a family of image formats created to easily exchange bitmap images across different platforms. PBM files store image pixels as a grid of 1s and 0s, where 1 represents black and 0 represents white (or vice versa in plain text variants). Because of its human-readable plain text variant (P1) and simple binary variant (P4), the format is frequently used in computer vision, OCR preprocessing, and simple fax transmissions.
Advantages
- Extremely simple structure makes it easy to parse with custom scripts
- Human-readable plain text variant (P1) for debugging
- Lossless storage of binary pixel data
- Supported by many image processing and scientific libraries
Limitations
- Supports strictly monochrome (1-bit black and white) images
- Lack of advanced compression results in large file sizes for complex graphics
- Not suitable for standard web publishing or modern photography
How to open Portable Bitmap files
Common use cases
- Storing binary masks in computer vision algorithms
- Preprocessing images for Optical Character Recognition (OCR)
- Simple fax and document scanning pipelines
- Educational purposes in computer science for teaching image encoding