Image to XBM Converter — Free Online Tool
Convert any image to XBM format instantly — no signup, no watermarks, processed in your browser.
Image to XBM Converter
Convert images to the XBM (X BitMap) format — 1-bit monochrome, used in legacy X11 apps and modern embedded displays.
XBM was the standard 1-bit image format on Unix X Window systems from the mid-1980s onward. Each pixel is on or off, no grayscale. The file itself is plain C source code — you can open it in a text editor and copy-paste the data directly into your firmware. That's why XBM unexpectedly thrives in 2026: Arduino developers, ESP32 hobbyists, e-ink display builders, and OLED projects use XBM as their drag-and-drop format because no decoder library is needed.
If you're building a project with a 0.96-inch monochrome OLED, an SSD1306 display, or any embedded screen where memory is measured in kilobytes, XBM is what the U8g2 library expects. The Adafruit GFX library has had XBM support since 2013 and most Arduino IDE examples use this format.
This converter accepts PNG, JPG, BMP and dithers any color image to 1-bit black-and-white using Floyd-Steinberg dithering by default. Output is a ready-to-paste .xbm file — typically 5-15 KB for a 128x64 display, which fits easily in 32 KB of microcontroller flash.