BIN to XBM Converter

Create X11 bitmap images from MacBinary font data

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

X11 Compatible

XBM is the bitmap standard for X Window Systems. BIN to XBM conversion creates icons, cursors, and patterns for X11 applications.

Code-Embeddable

XBM files are valid C source code. The output from BIN to XBM conversion can be directly included in X11 application source files.

Automatic Deletion

Uploaded BIN files are removed after conversion. XBM output is automatically cleared from Convertio servers within 24 hours.

How to convert BIN to XBM

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose xbm or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your xbm file right afterwards

About formats

BIN refers to MacBinary-encoded font files, a transfer format that preserves classic Macintosh file system features when moving data across platforms. Classic Mac OS stored fonts using the resource fork — a secondary data stream invisible to non-Mac systems — which meant that simply copying a Mac font to a Windows PC or Unix server would strip the actual font data entirely. MacBinary solves this by combining both the data fork and resource fork into a single flat file with a 128-byte header containing the original HFS metadata. In the font context, BIN files typically wrap TrueType suitcase fonts, PostScript Type 1 LWFN outline files, or bitmap NFNT font resources. The format was first specified in 1985 by Dennis Brothers and collaborators from the early Mac community, with MacBinary II following around 1987 and MacBinary III arriving in 1996 to support longer filenames. A key advantage is lossless preservation: every byte of the original Mac font file survives intact through email, FTP, or cross-platform file sharing, including creator and type codes that identify the font format. The single-file packaging is another practical strength — rather than dealing with separate data and resource streams, users and automated systems handle one portable container. Although modern macOS has moved away from resource forks and Mac fonts now typically ship as OTF, TTF, or DFONT files, BIN remains important for accessing archived font collections from the classic Mac era.
Developer: Dennis Brothers
Initial release: 1985
XBM (X BitMap) is a monochrome (1-bit) image format defined as part of the X Window System, originating at MIT around 1987. XBM files are unique among image formats in being valid C source code: each file defines the image as a static array of unsigned char values containing the packed pixel data, preceded by #define statements specifying the image width, height, and optional hot-spot coordinates (for cursor images). The pixel data is stored in hexadecimal byte values within curly braces, with each bit representing one pixel (1 = foreground, 0 = background) and bits ordered LSB-first within each byte. This design was intentional — XBM images could be #included directly into X Window application source code and compiled into the binary, eliminating the need for external file loading and runtime format parsing. The format was used throughout the X11 ecosystem for cursor shapes, window icons, toolbar buttons, and other small UI elements. One advantage is the source-code nature of the format: XBM files can be edited with a text editor, diff'd and merged in version control, generated by shell scripts, and compiled directly into C programs without any image loading library — a level of toolchain integration that no binary image format can match. The format's role as part of the X Window standard ensures it is understood by every X11-aware toolkit and application. While limited to monochrome and no compression, XBM's simplicity makes it an excellent teaching format for understanding bitmap representations. XBM files are supported by all X11 applications, ImageMagick, GIMP, web browsers (as a legacy web format), and programming environments.
Developer: MIT X Consortium
Initial release: 1987

Frequently Asked Questions

Why convert BIN to XBM?

XBM is the X Window System bitmap format. Converting BIN creates monochrome bitmaps usable as X11 cursors, icons, and patterns.

How to open XBM files?

XBM files are C source code — open in any text editor or load in GIMP, ImageMagick, and X11 applications for visual display.

Is XBM a text format?

Yes — XBM stores bitmap data as C language arrays. This unique property makes XBM files human-readable and easily embeddable in code.

Is XBM monochrome only?

XBM is strictly monochrome (1-bit). For color X11 images, XPM is the corresponding format with palette support.

Can I convert without an account?

Yes. Convertio provides free BIN to XBM conversion with no registration — just open the page and start converting.