XBM は白黒画像を C の配列として書いた X Window 由来の形式です。ソースコードにそのまま埋め込めます。
Typical use: X11 由来の白黒アイコンを PNG に変換します。
About the XBM format
XBM はこれまで出荷された中で最も正直な画像形式です。「ファイル」の実体は 16 進バイトの C 言語ソース配列で、X11 では直接コンパイルしてアイコンとして使いました。
レトロコンピューティングと組み込み UI の資産として今も見られます。ImageMagick が読み書きできます。
Strengths
- ✓ C ソースとしてそのまま使える
- ✓ 人間が読める
- ✓ 実装コストがほぼゼロ
Limitations
- ✗ モノクロ 1 ビットのみ
- ✗ サイズが膨張する
- ✗ 一般のビューアは非対応
- Structure
- C 言語 #define 配列
- Types / schema
- 1 ビット モノクロ
- Compatibility
- X11、ImageMagick
- Best for
- X11 アイコン・組み込み UI
Convert XBM to…
54 direct directions plus 15 workflows, sorted A–Z; 🔥 marks popular targets.
Convert other files to XBM…
Frequently asked questions
What is a XBM file?
XBM is a bitmap stored as C source code — literally an array of hex bytes that a C compiler includes. It was the original X11 icon format, and it still compiles.
How do I convert XBM files online?
Pick a target format from the "Convert XBM to…" list below, drop your file and hit convert. Everything runs in your browser — no install, no upload, no watermark, no limits.
Is it safe to convert XBM files here?
Yes. Every conversion is performed by your own device inside the browser — files never leave for a server, and the page keeps working even offline.
Which formats can XBM convert to?
This page lists all 69 directions across documents, images, audio, video, spreadsheets and archives — each one is its own free converter page.