.BDF

BDF File

Glyph Bitmap Distribution Format
Ask a question
QUICK ANSWER

A BDF file is a bitmap font in the Glyph Bitmap Distribution Format, defined by Adobe and widely used in the X Window System on Linux and Unix. The file is plain ASCII text, so any text editor can open it. To view or edit the glyphs, use the free FontForge. To install on Linux, compile to PCF with bdftopcf; on Windows or macOS, convert to TTF with FontForge first.

Developer: Adobe Systems (specification); maintained in the X Window System ecosystem Category: Font Files Open standard MIME: application/x-font-bdf
OPENS ON Windows macOS Linux
Related: .WOFF · .TTF · .EOT · .MCF

On this page

19k+ extensions indexed
Last reviewed Aug 13, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the BDF file format?

A .bdf file is a Glyph Bitmap Distribution Format font file - a plain-text, human-readable description of a bitmap typeface at a fixed pixel size. Adobe Systems defined the format in the 1980s and published the canonical specification (BDF 2.2) in 1993; it became the standard source format for bitmap fonts in the X Window System.

Every .bdf file is pure ASCII text. It opens with the keyword STARTFONT followed by the version number (typically 2.1 or 2.2), a header block containing global font metrics and properties, and then individual glyph blocks. Each glyph block lists its bounding box via the BBX keyword and encodes the pixel rows as hexadecimal bitmap data, one row per line, between BITMAP and ENDCHAR markers. The file closes with ENDFONT.

Because each file encodes glyphs at a single specific point/pixel size, a full font family typically ships as a set of .bdf files, one per size. X servers compile .bdf sources to the binary PCF format using the bdftopcf command for faster loading. BDF has largely been superseded by scalable TrueType and OpenType fonts for general-purpose use, but it remains popular for terminal emulators, retro-style displays, console fonts, and microcontroller or embedded-system UIs where fixed-pixel rendering is deliberate.

FontForge can open, edit and export .bdf files on all major platforms. Because the format is plain text, any text editor can inspect or manually patch a .bdf file.

Security & safety

RISK: LOW

BDF files are plain ASCII font descriptions and do not execute code, so they are low risk to open. The realistic concern is a malformed BDF triggering a parser bug in a font tool or rasterizer, so keep FontForge/system font libraries updated and obtain fonts from reputable sources. Avoid sketchy "free font converter" sites that push adware; FontForge does the job locally.

Format details

in a nutshell
FULL NAMEGlyph Bitmap Distribution Formataka BDF font, X11 bitmap font
DEVELOPERAdobe Systems (specification); maintained in the X Window System ecosystemsince 1980s (Adobe BDF spec; widely used in X11)
CATEGORYFont Files
MIME TYPEapplication/x-font-bdf
TYPEPlain-text bitmap font description
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405060708
HEX
5354415254464F4E54
ASCII
STARTFONT
A BDF file is human-readable ASCII text that begins with the keyword "STARTFONT" followed by the format version (e.g. "STARTFONT 2.1"). There is no binary magic; the leading STARTFONT line is the de-facto signature.

Programs that open BDF files

Windows2 apps
FontForge Open-source File > Open the .bdf to view/edit the bitmap glyphs; File > Generate Fonts to export to PCF, TTF/OTF or other formats.
Any text editor (Notepad++ / VS Code) Open-source Open the .bdf as plain text to read its header and hex glyph rows (BDF is human-readable ASCII).
macOS1 app
FontForge Open-source Open the .bdf to edit glyphs; export to TTF/OTF/PCF via Generate Fonts.
Linux3 apps
FontForge Open-source Open and edit the .bdf; install fonts.dir-listed BDFs into X, or compile to PCF with bdftopcf.
bdftopcf (X.Org tools) Open-source Run 'bdftopcf font.bdf -o font.pcf' to compile the BDF into the binary PCF form X servers load.
gbdfed Open-source A dedicated BDF/bitmap-font editor: open, edit glyphs cell-by-cell and save BDF.

Technical details

deep spec
Format typePlain-text (ASCII) bitmap font description; fully human-readable with no binary sections
File signature`STARTFONT` keyword at byte offset 0 followed by the format version number; no binary magic bytes
Text encoding7-bit ASCII throughout; glyph bitmap rows encoded as uppercase hexadecimal digits
Color depth1 bpp - each pixel is a single bit (0 = background, 1 = foreground); strictly monochrome
Glyph bounding box`BBX` keyword per glyph specifies pixel width, height, and X/Y offsets from the glyph origin
Bitmap row encodingHex bytes padded to the nearest byte boundary; rows listed between `BITMAP` and `ENDCHAR` markers
Advance width`DWIDTH` (device width) per glyph gives the horizontal advance in pixels used for text layout
Size modelFixed pixel size - one `.bdf` file encodes glyphs at exactly one point/pixel size
Character set declaration`CHARSET_REGISTRY` and `CHARSET_ENCODING` header properties; supports ISO-8859, ISO10646 (Unicode), and vendor encodings
MIME type`application/x-font-bdf` (primary); also recognised as `application/font-bdf` and `text/plain`
Compiled binary formX servers convert `.bdf` to binary `.pcf` via `bdftopcf` for faster loading; `.bdf` remains the editable source
Internal version field`STARTFONT` line carries the format version; `2.1` and `2.2` are the two values in common use
Metadata blockOptional `STARTPROPERTIES` block holds font-level metadata: foundry, copyright, point size, resolution, and X11 font name string
Typical file sizeA few KB to several hundred KB depending on glyph count, point size, and character-set coverage
File structureGlobal header → `STARTPROPERTIES` block → N glyph blocks (`STARTCHAR` … `ENDCHAR`) → `ENDFONT` terminator
Released1980s (Adobe BDF spec; widely used in X11)
Latest versionBDF 2.2 (Adobe specification, 1993)
Open standardYes · royalty-free
Specificationadobe-type-tools.github.io

BDF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with BDF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about BDF files.

Frequently asked questions

How do I open a BDF file?
It's a bitmap font. To view/edit the glyphs use the free FontForge (or gbdfed on Linux). Since BDF is plain ASCII text, you can also open it in any text editor to read its structure.
How do I install a BDF font?
On Linux/X11, compile it to PCF with 'bdftopcf' and register it (mkfontdir/fonts.dir), or load it via your terminal's font setting. On Windows/macOS, convert it to TTF/OTF with FontForge, then install the result.
How do I convert BDF to TTF?
Open the .bdf in FontForge and use File > Generate Fonts > TrueType. Remember BDF is a bitmap, so the TTF will look fixed/pixelated rather than smoothly scalable.
Is a BDF file editable by hand?
Yes - it's human-readable text. Each glyph's BITMAP section is hex rows of pixels, so you can edit glyphs in a text editor, though a tool like gbdfed/FontForge is far easier.
What's the difference between BDF and PCF?
BDF is the readable text source; PCF is the compiled binary form X servers load for speed. You generate PCF from BDF with bdftopcf.

References

1Adobe - Glyph Bitmap Distribution Format (BDF) Specification 2.2adobe-type-tools.github.io
2FontForge - open-source font editorfontforge.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.PARTPartial Download File
4.MDMarkdown Document
5.RPMSGRestricted Permission Message
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRDXSoftMaker Presentations Document
9.PRO6XProPresenter 6 Bundle File
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.WOFFWeb Open Font Format
.TTFTrueType Font
.EOTEmbedded OpenType Font
.MCFMathcad Font / Resource File
.CHRBorland BGI Stroke Font File
.OTFOpenType Font

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z