.BML

BML File

Bean Markup Language File
Ask a question
QUICK ANSWER

A .bml file is most commonly a Bean Markup Language file - an XML configuration script created by IBM alphaWorks in 1998 to wire together JavaBeans components. Open it with any text editor (Notepad++, VS Code, or Notepad), since it is plain XML. The format is discontinued; the .bml extension is also used by two unrelated formats.

Developer: IBM alphaWorks Category: Web Files MIME: application/xml
OPENS ON Windows macOS Linux

On this page

19k+ extensions indexed
Last reviewed Jul 4, 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 BML file format?

A .bml file contains Bean Markup Language source, an XML-based scripting language for declaratively wiring together JavaBeans components. BML was developed by IBM alphaWorks and announced at the XML '98 Conference in November 1998.

A .bml document uses a <bml> root element to describe a graph of nested and interconnected JavaBeans: each bean is specified by its Java class name, and properties are set or cross-wired declaratively in the markup. The BML toolset comprised two components - an interpreter (called the "player") that executed the bean graph at runtime, and a compiler that generated reflection-free Java source code from the .bml description.

IBM alphaWorks discontinued BML in the early 2000s; it was never widely adopted outside research and prototyping. The Spring Framework's XML bean-definition files (applicationContext.xml) addressed the same problem and became the mainstream successor, later replaced by Spring annotations and Java configuration classes.

The .bml extension is also shared by two unrelated formats: a GNU Log binary markup format and Bridge Markup Language files used in contract bridge bidding systems.

Security & safety

RISK: LOW

BML files are plain-text XML; they cannot execute without a BML interpreter/runtime. No known malware vector.

Format details

in a nutshell
FULL NAMEBean Markup Language Fileaka BML file, Bean ML
DEVELOPERIBM alphaWorkssince November 1998 (XML '98 Conference, IBM alphaWorks)
CATEGORYWeb Files
MIME TYPEapplication/xml
TYPEtext, XML-based configuration/scripting language
This extension is also used by…
  • GNU Log BML (Binary Markup Language) - A binary data-serialization format designed for lightweight encoding in files and network sockets; unrelated to IBM Bean ML.
  • Bridge Markup Language - Plain-text format for describing bridge bidding systems and conventions; used by open-source BML tool on GitHub.

Programs that open BML files

Windows3 apps
Windows Notepad Built-in Right-click the file → Open with → Notepad.
Notepad Open-source File → Open, select the .bml file; syntax-highlighted as XML if XML language is set.
Visual Studio Code Free Open file; install XML extension for syntax highlighting.
macOS2 apps
TextEdit Built-in Open with TextEdit; switch to plain-text mode if it appears garbled.
Visual Studio Code Free Open file via File → Open.
Linux1 app
gedit Open-source Open the .bml file in gedit for plain-text XML viewing.

Technical details

deep spec
Format typeXML-based declarative language for wiring JavaBeans components
EncodingUTF-8 or ISO-8859-1 (declared in XML prolog)
Root element<bml> XML document element containing nested bean definitions
Typical size1 KB - 100 KB (configuration scripts)
PlatformAny JVM platform (Windows, Linux, macOS)
Runtime componentsBML interpreter ("player") for runtime execution; BML compiler for generating reflection-free Java code
Specification statusBML 1.0 - single release (1998); IBM alphaWorks discontinued the project in the early 2000s
Successor technologySpring Framework XML bean definitions (applicationContext.xml), later Spring annotations and Java config classes
Magic bytesNone fixed; typically begins with <?xml version="1.0"?> or <bml> root element
MIME typeapplication/xml
Extension conflict.bml also used by GNU Log Binary Markup Language and Bridge Markup Language (unrelated formats)
ReleasedNovember 1998 (XML '98 Conference, IBM alphaWorks)
Latest versionBML 1.0 (no subsequent versions; project discontinued)
Specificationxml.coverpages.org

BML conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with BML 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 BML files.

Frequently asked questions

What program opens a .bml file?
Any text editor opens it - Notepad++, VS Code, or even Windows Notepad. It is a plain XML file. The original BML Player (IBM alphaWorks) is discontinued.
Is the BML format still used?
No. IBM discontinued BML in the early 2000s. Modern JavaBeans wiring is done with Spring Framework or CDI annotations.
Why does my .bml file look like XML?
Because BML (Bean Markup Language) is XML. You are seeing the correct format.
Are there different types of .bml files?
Yes - the extension is also used by GNU Log's binary BML format (entirely different, binary) and Bridge Markup Language (bridge card-game notation).

References

1XML Cover Pages - Bean Markup Languagexml.coverpages.org
2docs.fileformat.com - BML file formatdocs.fileformat.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.NOMEDIAAndroid No-Media Marker File
6.PARTPartial Download File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.DBSQLite Database File

Related extensions

.CRDOWNLOADChrome Partial Download File
.JNLPJava Network Launch Protocol file
.WEBARCHIVESafari Web Archive
.PARTPartial Download File
.DOWNLOADPartial / Incomplete Download File
.ASPXActive Server Page Extended (ASP.NET Web Form)

Free file tools

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

Open the toolbox

Browse file extensions A-Z