View XBM files in your browser

The bitmap format of the X Window System, a picture written as C source. Open one right here and keep it as PNG. Nothing leaves your device.

Or drop it anywhere on this page

What you'll see

Your file opens at actual size, or shrunk to fit your screen.

cursor.xbm

XBM • 32 × 32 • 1 KB

  • Actual size, or shrunk to fit
  • Drag to pan • Pinch or scroll to zoom
  • Fullscreen
  • Export • Save as PNG or JPEG

About XBM

XBM comes from MIT's X Window System of the 1980s, where it drew icons, cursors and patterns, and the first web browsers showed it as images. X11 apps still carry icons in it.

An XBM is C source: its width and height as #defines, then an array of bytes with a bit for each pixel, 1 for black, which a program compiles into itself.

No browser shows XBM any more. Filepeek reads its numbers from the text and draws the bitmap without compiling or running anything, and Export saves it as PNG.

X BitMap

Format

MIME type
image/x-xbitmap
Made by
MIT

Inside the file

Pixels
Black or white
Written as
C source
Size
Two #defines
Used for
Icons and cursors

Opens in every browser

No browser shows XBM by itself any more. Filepeek decodes it in Chrome, Edge, Firefox and Safari.

  • YouChromeOpens through Filepeek
  • YouEdgeOpens through Filepeek
  • YouFirefoxOpens through Filepeek
  • YouSafariOpens through Filepeek

Questions

How do I open an XBM file?

Drop it on this page or press Peek an XBM. It opens at full size, with nothing to install.

How do I convert XBM to PNG?

Open it, then choose Export and Save as PNG.

Does opening an XBM run its code?

No. Filepeek only reads its width, its height and its numbers as text, and nothing in it is compiled or run.

Is my bitmap uploaded?

No. It opens inside your browser and never leaves your device.

More image formats

All supported file types

Opens in a new tab

EXIF

Verify

License

Signature