XBM to PGM

Convert X BitMap (.xbm) to Portable Graymap (.pgm).

Source X BitMap: XBM (X BitMap) is the X Window System's original monochrome bitmap format, stored as C arrays that could be compiled directly into source - the way 1980s Unix icons shipped. Modern desktops abandoned it. Convert to PNG or BMP to view it with anything current.

Target Portable Graymap: PGM (Portable Graymap) is Netpbm's grayscale member: a minimal header plus an 8- or 16-bit pixel matrix, with an ASCII variant humans can literally read. Computer-vision coursework and algorithm prototypes (edge detection, thresholding) love it for zero friction. Convert to PNG for lossless general use, to JPEG for compact sharing, or batch to TIFF for pro tools.

1Select a source file
Supported: .XBM
2Target format
.xbm .pgm
Large or complex conversions may take 1-2 minutes. The result downloads automatically when ready. Do not close or refresh the page.