.SDB

SDB File

StarOffice / OpenOffice Base database file
Ask a question
QUICK ANSWER

An SDB file is most likely either a legacy StarOffice/OpenOffice Base database or a Windows Application Compatibility Shim Database - two completely different things. For the database kind, open it with LibreOffice Base or Apache OpenOffice Base and save it as .odb. If the file sits in C:\Windows\AppPatch, it is a Windows system file, not a document.

Developer: Sun Microsystems / StarDivision (later Apache OpenOffice) Category: Database Files MIME: application/vnd.sun.xml.base
OPENS ON Windows macOS Linux
Related: .DB · .DBF · .ACCDB · .SQL

On this page

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

The .sdb file format is used by the OpenOffice Base database manager as its original proprietary database container. .sdb files store complete database data comprising forms, tables, reports, and queries.

.sdb was the default file format of older StarOffice and early OpenOffice Base releases, originating with StarDivision's StarOffice 5.x suite in the late 1990s under Sun Microsystems. Newer versions of the suite replaced the legacy .sdb with the .ODB format (OpenDocument Database), which became the standard around 2005. .sdb files internally follow the OLE2 Compound Document structure - the same binary container used across older Microsoft Office files - so they can be inspected with OLE-aware tools.

.sdb files are compatible with various database tools via standard ODBC and JDBC drivers, allowing legacy databases to be queried even without OpenOffice Base. LibreOffice Base can open many .sdb files in read or import mode, though full editing support for the older format is limited.

Note: the .sdb extension is also used by the Windows Application Compatibility Shim Database - an entirely unrelated binary format managed by the Windows operating system. These two formats share only the extension name and must not be confused.

Security & safety

RISK: MEDIUM

A StarOffice/OpenOffice Base .sdb is just data - low risk, though Base databases can contain macros, so disable macros for files from unknown sources. The real safety note is the namespace clash: a Windows Shim Database (.sdb) installed via sdbinst.exe is a documented malware-persistence technique (e.g. FIN7). If a .sdb appears in C:\\Windows\\AppPatch or is being installed silently, treat it as a system/security artifact, not a document.

Format details

in a nutshell
FULL NAMEStarOffice / OpenOffice Base database file
DEVELOPERSun Microsystems / StarDivision (later Apache OpenOffice)since Late 1990s (StarOffice 5.x Base); superseded by ODB (OpenDocument Database) ~2005
MIME TYPEapplication/vnd.sun.xml.base
TYPEProprietary binary database file (legacy StarOffice Base)
This extension is also used by…
  • Windows Application Compatibility (Shim) Database - Binary shim database installed with sdbinst.exe; the most common .sdb today and a known malware-persistence vector. Found in %SystemRoot%\AppPatch\.
  • SQLite / generic application database - Many apps name a SQLite or proprietary database '.sdb' (e.g. some GPS, CAD and game files); contents vary entirely by application.
  • TheBat! / SIM card backup databases - Assorted niche tools store contact or message databases as .sdb.

Programs that open SDB files

Windows2 apps
Apache OpenOffice Base Open-source Open the .sdb in Base; then File -> Save As an .odb to modernise it, or export tables to CSV.
LibreOffice Base Open-source Open/import the legacy .sdb, then save as .odb; LibreOffice is the more actively developed successor.
macOS1 app
LibreOffice Base Open-source Open the .sdb and save as .odb (Apache OpenOffice also runs on macOS but is less maintained).
Linux1 app
LibreOffice Base Open-source Bundled with most distros; open the .sdb and export/convert to .odb or CSV.

Technical details

deep spec
Format typeProprietary binary database container
Underlying containerOLE2 Compound Document structure (magic bytes D0 CF 11 E0 at offset 0)
DeveloperSun Microsystems / StarDivision (StarOffice); later maintained by Apache OpenOffice
MIME typeapplication/vnd.sun.xml.base
CompressionNo built-in compression; contrast with the successor .odb, which is a ZIP-based archive
Successor format.odb (OpenDocument Database), adopted ~2005
Stored objectsTables, queries, forms, and reports within a single file
External connectivityAccessible via ODBC and JDBC drivers for third-party database tools
Active software supportLibreOffice Base (import mode), Apache OpenOffice Base
Related StarOffice formats.sdw (Writer), .sdc (Calc), .sds (Draw), .sxd (Impress)
Extension name conflictAlso used by Windows Application Compatibility Shim Database - an unrelated binary format
Platform availabilityWindows, macOS, and Linux via LibreOffice Base; Windows via Apache OpenOffice Base
ReleasedLate 1990s (StarOffice 5.x Base); superseded by ODB (OpenDocument Database) ~2005
Specificationwiki.openoffice.org

SDB conversions

Community Q&A

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

Frequently asked questions

What program opens an SDB database file?
Apache OpenOffice Base or LibreOffice Base open legacy StarOffice/OpenOffice .sdb databases. Open it, then save as .odb to use it in modern Base.
Is SDB the same as ODB?
No - .sdb is the obsolete StarOffice/early OpenOffice Base format; .odb (OpenDocument Database) replaced it around OpenOffice 2.0 (2005). Base can convert .sdb to .odb.
How do I convert SDB to Excel or CSV?
Open the database in LibreOffice/OpenOffice Base and export the tables to CSV (or copy them into Calc and save as XLSX). There is no single whole-file converter.
I found an .sdb in C:\Windows - what is it?
That is almost certainly a Windows Application Compatibility 'Shim Database', not a document. It is a system file managed by sdbinst.exe; don't edit it by hand, and investigate if it was installed by something you don't recognise.
Why won't my .sdb open in Microsoft Access?
Access can't read StarOffice/OpenOffice Base files. Open it in Base, export the tables to CSV, then import those into Access.

References

1Apache OpenOffice - Base FAQwiki.openoffice.org
2LibreOffice - Basewww.libreoffice.org

Keep exploring

across the database

Top extensions this week

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

Related extensions

.DBSQLite Database File
.DBFDatabase File (dBASE / xBase table)
.ACCDBMicrosoft Access Database (2007+)
.SQLSQL Script (Structured Query Language source / database dump)
.MDBMicrosoft Access Database (97-2003, Jet engine)
.FDBFirebird Database

Free file tools

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

Open the toolbox

Browse file extensions A-Z