Skip to main content
🇪🇸 Español 🇧🇷 Português 🇩🇪 Deutsch 🇫🇷 Français 🇯🇵 日本語 🇮🇹 Italiano 🇮🇩 Bahasa Indonesia 🇹🇷 Türkçe 🇰🇷 한국어 🇵🇱 Polski 🇳🇱 Nederlands
Image Converter Document Converter Video Converter Audio Converter
Tools Formats (201) Guides Pricing · ⚡ 4,99 € API
Log In
PBM file .pbm
File format · Released 1988 · By Jef Poskanzer

About PBM Files

PBM Bitmap Image

PBM (Portable Bitmap) stores monochrome images in a minimal format.

Family

Raster & Vector Images

Extension

.pbm

MIME Type

image/x-portable-bitmap

Can Use As

Input Output
● Hex Magic-Bytes Signature (Offset 0x00) Raster & Vector Images Binary/Text Stream
50 42 4D 46 00 01 00 00 4B 41 49 4A ASCII: PBMF....KAIJ
WASM + ISO-27001 HYBRID ENGINE
→
📏 Physical Size (CM / MM / Inch → 300 DPI Pixels)
Passport & ID Presets:

📈 Target Minimum File Size (Guaranteed ≥ KB)

Lossless JPEG Q100 + standard COM segment padding for government & exam portals

Tap to choose your file

QUICK INGEST:
Max 25 MB · Free plan · No signup required

Convert to:

Detecting available formats...

Target Max File Size:

Optimize for:
⚡ Instant In-Browser • 100% Private (0s)

Uploading...

⚡ Converted locally in your browser (0ms upload)

READY!

Advertisement
Original preview
Converted preview

🛡️ Verification Audit

  • ✓
  • ✓ sRGB Color Fidelity
  • ✓

Continue with this converted file (0s zero re-upload):

⚡ Install Desktop App for 1-Click Conversions

Batch Conversion Ready!

⚡ Install Desktop App for 1-Click Conversions
Advertisement
🕒 Recent Conversions (60m Session)
The story

HOW PBM CAME TO BE.

PBM — Portable Bitmap — is one of the simplest image formats ever devised. Created by Jef Poskanzer in 1988 as part of the Netpbm toolset, a PBM file is plain ASCII text: a two-line header ("P1" + width and height), then the pixel data as `0` and `1` characters separated by whitespace. Its siblings PGM (grayscale) and PPM (RGB) extend the same idea with values 0-255 or 0-65535.

Poskanzer’s toolset gave Unix a glue layer: every image conversion could be routed through Netpbm as an intermediate format. Need JPEG → PCX? pipe jpegtopnm | pnmtopcx. The formats were never meant for production storage — they were designed to be a "lingua franca" for image-processing pipelines. 37 years later the Netpbm tools are still installed on most Linux systems and still used in scientific imaging, OCR preprocessing, and countless shell scripts.

ISO / MIME SPECS

Technical Specifications

MIME types
image/x-portable-bitmap (PBM), image/x-portable-graymap (PGM), image/x-portable-pixmap (PPM)
Extensions
.pbm, .pgm, .ppm, .pnm
Variants
P1 (ASCII bitmap), P4 (binary bitmap), P2/P5 (graymap), P3/P6 (pixmap)
Toolkit
Netpbm (since 1988)
Creator
Jef Poskanzer

Typical Sizes & Weights

512×512 bitmap (binary P4)

33 KB

1920×1080 grayscale (binary P5)

~2 MB

1920×1080 RGB (binary P6)

~6 MB

STRENGTHS & LIMITATIONS.

Strengths

  • Extreme simplicity — a 20-line parser handles every PBM.
  • Ideal as pipeline intermediate format.
  • Plain ASCII variant is human-readable and diff-able.
  • 37+ years of unchanged stability.

Limitations

  • No compression — files are huge compared to PNG or JPEG.
  • No color profile, no metadata, no transparency.
  • Not a delivery format — strictly for pipelines.
  • ASCII variant is 8× larger than binary for the same image.

CURIOSITIES & TRIVIA.

01

A PBM file is plain ASCII — open one in Notepad and you literally see 0s and 1s forming a pixel grid.

02

The Netpbm toolkit (pnmtopcx, pnmtoeps, jpegtopnm…) has been the Unix image-conversion glue for almost 40 years.

03

The format has a binary variant (P4/P5/P6) that is much smaller than ASCII but keeps the same spirit.

04

PGM is the preferred input format for Tesseract OCR before OCR was added directly to modern image libraries.

05

Jef Poskanzer, Netpbm's creator, also wrote thttpd — one of the first minimalist web servers.

Advertisement
STUDIO TOOLS FOR PBM

Specialized Utilities for .PBM Files

View all 45 tools →
compress →

Compress Image to 20KB

Compress signature scans, stamp images, and ID photos to strictly ≤ 20 KB (20,000 bytes) for strict online exam and government application portals using binary-search JPEG quantization.

compress →

Compress Image to 50KB

Compress JPG, PNG, or WebP photos to strictly under 50 KB (50,000 bytes) for passport portals, university admissions, civil service forms, and KYC uploads without changing pixel dimensions.

compress →

Compress JPG to 100 KB

Upload a JPG and download a decodable JPG at or below 100,000 bytes. If the limit cannot be reached, no output is offered.

resize →

Crop Image & Photo Resizer

Crop and resize JPG, PNG, WEBP, and AVIF images to exact pixel dimensions, social media aspect ratios, or custom print DPI online for free.

resize →

Resize Image

Resize images to exact dimensions or scale by percentage. Lock aspect ratio to prevent distortion. Supports all common image formats.

compress →

PNG Compressor — Reduce PNG Size Preserving Transparency

Compress PNG images up to 80% while preserving full alpha-channel transparency, or lock exact file size targets (20 KB, 50 KB, 100 KB).

compress →

WEBP Compressor — Optimize WebP for Core Web Vitals

Compress WEBP images for ultra-fast page loads and Lighthouse scores with fine-grained quality sliders and exact byte targets.

convert →

Favicon Generator — Multi-Resolution .ICO from PNG, SVG or WEBP

Generate a production-ready multi-resolution favicon.ico containing 16x16, 32x32, 48x48, 64x64, 128x128, and 256x256 alpha layers from any logo.

optimize →

EXIF Metadata Remover

Strip hidden GPS coordinates, camera serial numbers, timestamps, and XMP/IPTC metadata from JPG, PNG, WebP, and TIFF photos before sharing online.

ocr →

Image to Text (OCR)

Extract text from images using optical character recognition. Supports photos of documents, screenshots, receipts, and handwritten notes in 100+ languages.

convert →

JPG to Word Converter (OCR)

Convert scanned JPG, PNG, and WEBP images into editable Microsoft Word (DOCX) documents using 12-language optical character recognition (OCR).

CONVERT FROM PBM

Common Use Cases

Binary image processing

Related Formats

Popular comparisons

Popular PBM conversions

The most-requested destinations when starting from PBM.

Frequently Asked Questions

PBM (PBM Bitmap Image) is an image format used to store raster graphics — a two-dimensional grid of pixels describing a picture. It is part of the raster & vector images family and designed around a specific trade-off between file size, visual fidelity, and feature support (transparency, colour depth, compression type). Photographers, web designers, and content creators choose PBM when its particular strengths match the publishing target.

Most desktop photo viewers (Windows Photos, macOS Preview, GIMP, Photoshop, Affinity Photo) open PBM natively. On mobile, iOS Photos and Google Photos display PBM in the gallery when supported by the OS. If the format is rare or new, convert to JPG or PNG first — both are universally readable — using our PBM to JPG or PBM to PNG converter.

Upload the PBM to KaijuConverter and pick a target format (JPG, PNG, WebP, HEIC, TIFF, BMP, SVG, PDF). The conversion runs in the browser via ImageMagick and returns a download in seconds. No account or installation required; both input and output delete automatically within two hours.

It depends on the task. JPG is the smallest file size for photographs; PNG is lossless with transparency; PBM has its own niche that may favour colour depth, animation, or encoding efficiency over one or both of those. For the final web publish, test all three and measure file size plus visible quality on real content.

Professional Workstation Solution
Unlimited Batch Jobs Zero Upload Wait Times Direct Disk-to-Disk I/O

Need to Convert Gigabyte Archives or Mass Folders?

KaijuConverter delivers ultra-fast in-memory conversions for everyday tasks. For multi-gigabyte production workloads without browser bandwidth bottlenecks, explore high-throughput desktop suites.

Zero cloud transfer • Native hardware performance
24-Hour Fast Pass (€4.99 one-time) Up to 1 GB · No subscription

One-time payment with zero recurring commitment: convert files up to 1 GB, OCR, PDF/A, and .ZIP batches for 24 hours.

Instant Stripe Checkout →
7-Day Project Pass (€9.99 one-time) 7 Days · 2 GB · Ad-Free

Full 7 days of unlimited conversions, up to 2 GB per file, 100% ad-free with zero subscription.

Instant Stripe Checkout →
Kaiju Cloud Business Annual (€99/yr) Up to 2 GB + B2B Invoice

High-throughput enterprise pipeline for files up to 2,048 MB, 50-file batches, ISO PDF/A, and priority processing.

Instant Stripe Checkout →
ImageMagick CLI / XnConvert Free • Mass Batch

Convert thousands of camera RAW files (CR3, NEF, ARW) to WebP, AVIF, or TIFF in one pass.

Affinity Photo / Adobe Lightroom Photo Pro

GPU-accelerated RAW development with end-to-end 16-bit ICC color profile management.

Advertisement
We use cookies and similar technologies to personalise content and ads, and to analyse traffic. Learn more about cookies.