A tool for converting Microsoft Application Compatibility Database (SDB) files to XML format.
- Parses SDB files used by Windows for application compatibility.
- Converts SDB data into readable XML.
- Dump file attributes in SDB-recognizable format
- Useful for analysis, migration, or documentation.
Sdbtool is available as sdbtool
on PyPI.
Invoke sdbtool directly with uvx
:
uvx sdbtool sdb2xml your.sdb # Convert the file 'your.sdb' to xml, and print it to the console
uvx sdbtool sdb2xml your.sdb --output your.xml # Convert the file 'your.sdb' to xml, and write it to 'your.xml'
uvx sdbtool attributes your.exe # Show the file attributes as recognized by apphelp in an XML-friendly format
uvx sdbtool info your.sdb # Show some details about the SDB file (version, description, ...)
Or install sdbtool with uv
(recommended), pip
, or pipx
:
# With uv.
uv tool install sdbtool@latest # Install sdbtool globally.
# With pip.
pip install sdbtool
# With pipx.
pipx install sdbtool
Updating an installed sdbtool to the latest version with uv
:
# With uv.
uv tool upgrade sdbtool
# With pip.
pip install --upgrade sdbtool
# With pipx.
pipx upgrade sdbtool
Contributions are welcome! Please open issues or submit pull requests.