.ODB

ODB File

OpenDocument Database
Ask a question
QUICK ANSWER

An ODB file is an OpenDocument Database file created by LibreOffice Base or Apache OpenOffice Base. Open it with LibreOffice Base (free, Windows/Mac/Linux) - embedded-data files also need a Java Runtime installed. To get the data into Excel, copy table rows from Base into LibreOffice Calc and save as .xlsx. Note: the same extension is used by unrelated programs such as Abaqus and Esri ArcView.

Developer: OASIS (originated at Sun Microsystems / OpenOffice.org) Category: Database Files Open standard MIME: application/vnd.oasis.opendocument.database
OPENS ON Windows macOS Linux
Related: .DB · .DBF · .ACCDB · .SQL

On this page

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

.odb files are associated with LibreOffice Base and Apache OpenOffice Base, database management applications that are part of their respective office suites.

.odb is a file archive that stores database schemas and data. The archive is composed of several files containing various database information, such as:

  • database settings and connection properties,
  • table and query definitions,
  • database contents (managed by an embedded HSQLDB or Firebird engine),
  • database backup copies,
  • form and report layouts.

An .odb file can work in two distinct modes: it can embed its data directly inside the archive using HSQLDB 1.8 (the legacy default) or Firebird (available since LibreOffice 4.2), or it can act as a front-end connector to an external data source - such as MySQL, PostgreSQL, or a Microsoft Access file - storing only the connection settings and interface definitions while the data lives elsewhere.

LibreOffice Base is a database management solution that offers a wide range of tools for creating simple or more complex databases, ranging from a private contact list to complex corporate databases. Apache OpenOffice Base provides similar functionality. Both applications use .odb as their native database format, which is standardized by OASIS as part of the OpenDocument Format family. The official MIME type is application/vnd.oasis.opendocument.database.

.odb uses ZIP compression. To inspect the raw contents of an .odb file, rename the .odb suffix to .zip and then extract the archive using any standard archiving tool. Inside, content.xml holds form, query and report definitions, while the database/ subfolder contains the embedded engine files.

Security & safety

RISK: LOW

OpenDocument Database files are ordinary data documents and are low risk. Like other ODF files they can contain Basic macros and event-bound code attached to forms, which LibreOffice blocks or prompts about by default - do not enable macros in an .odb from an untrusted source. Embedded-HSQLDB files require Java to open, so only run them if you trust the source. The data itself is inert. Be aware the same extension is used by Abaqus/ArcView; an .odb that "won't open in Base" may simply be one of those unrelated formats rather than a corrupt database.

Format details

in a nutshell
FULL NAMEOpenDocument Databaseaka OpenDocument Base file, Base database file
DEVELOPEROASIS (originated at Sun Microsystems / OpenOffice.org)since 2005 (OpenOffice.org 2.0 / ODF era)
MIME TYPEapplication/vnd.oasis.opendocument.database
TYPEZIP-based package of XML files plus an embedded database
STANDARDOpen · royalty-free
This extension is also used by…
  • ArcView / ArcGIS Object Database - Esri ArcView's object-database file - the legacy meaning recorded in this site's database name; a different, unrelated format.
  • Abaqus Output Database (.odb) - Finite-element analysis results written by Abaqus/Simulia CAE software; binary, opened only in Abaqus/Viewer.
  • Pro/ENGINEER / PCB object database - Some CAD/PCB tools (e.g. OpenDatabase++/Allegro contexts) also use .odb for object databases.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
Like any ZIP. The first archive entry is an uncompressed "mimetype" file containing "application/vnd.oasis.opendocument.database", so that MIME string is readable in plain bytes near offset 38.

Programs that open ODB files

Windows2 apps
LibreOffice Base Open-source Install LibreOffice and double-click the .odb - it is Base's native format. Embedded-HSQLDB files also need a Java Runtime (JRE) configured in Tools > Options > Advanced.
Apache OpenOffice Base Open-source Opens .odb natively (it created the format), but the project is barely maintained - prefer LibreOffice for new work. Also needs Java for embedded databases.
macOS2 apps
NeoOffice Paid Old Mac-native OpenOffice fork that opens .odb, but it is effectively dormant - LibreOffice is the better Mac choice.
LibreOffice Base Open-source Free download for Apple silicon and Intel; double-click to open. Install a JDK/JRE (e.g. Temurin) for embedded-HSQLDB files.
Linux1 app
LibreOffice Base Open-source Preinstalled or one package away on most distros (libreoffice-base); double-click. Install default-jre for embedded databases.

Technical details

deep spec
Container formatZIP archive
MIME typeapplication/vnd.oasis.opendocument.database
Legacy MIME typeapplication/vnd.sun.xml.base
Magic bytes50 4B 03 04 ("PK") at offset 0 - standard ZIP local file header
Format self-identificationFirst ZIP entry is an uncompressed "mimetype" file; the MIME string is readable in plain bytes near offset 38
CompressionDEFLATE per entry; the mimetype entry is stored uncompressed (STORED)
Byte orderLittle-endian (ZIP format)
Integrity checkCRC-32 per ZIP entry; no whole-file hash or signature
EncryptionNone by default; optional ODF password protection via ZIP-level encryption
Embedded database enginesHSQLDB 1.8 (legacy default) or Firebird (LibreOffice 4.2+)
Primary XML componentcontent.xml - holds form, query, table and report definitions
Internal data subfolderdatabase/ - contains engine-specific data and log files when data is embedded
Operation modesEmbedded (data inside the ZIP) or front-end connector to external MySQL, PostgreSQL, CSV or Access database
Typical file size5 KB - several MB, growing with embedded table data
Platform supportWindows, macOS, Linux
Released2005 (OpenOffice.org 2.0 / ODF era)
Latest versionODF 1.3 era (OASIS, 2021); the .odb database is a tool format, not part of the ISO 26300 office spec
Open standardYes · royalty-free
Specificationwww.oasis-open.org

ODB conversions

Community Q&A

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

Frequently asked questions

What program opens an ODB file?
For an OpenDocument Database, LibreOffice Base (free, Windows/Mac/Linux) is the native opener; Apache OpenOffice Base also works. Other .odb types (Abaqus, ArcView) need their own software.
Why won't my ODB file open in LibreOffice Base?
Most often the embedded HSQLDB engine needs a Java Runtime - install a JRE/JDK and point LibreOffice to it in Tools > Options > Advanced. If it still fails, the file may actually be an Abaqus or ArcView .odb, which Base cannot read.
How do I get the data out of an ODB into Excel?
Open the .odb in LibreOffice Base, open a table, copy the rows into LibreOffice Calc, and Save As .xlsx (or Text CSV). Each table is exported separately.
Is an ODB file the same as an Access MDB/ACCDB?
No. ODB is the OpenDocument/LibreOffice Base database; MDB/ACCDB are Microsoft Access. An .odb can connect to an Access file, but they are different formats - move data between them by exporting CSV/XLSX.
Does an ODB always contain the data inside it?
Not always. An .odb can embed the data (HSQLDB/Firebird) or just store a connection to an external database (MySQL, PostgreSQL, an .ods sheet, a .csv). A connection-only .odb is useless without the source it points to.
Can I open an ODB without installing anything?
Not directly - there is no reliable web viewer for OpenDocument Database files. The practical route is LibreOffice Base. You can rename it to .zip and browse the XML, but that won't show the live data.

References

1LibreOffice - Base (database component)www.libreoffice.org
2OASIS OpenDocument Technical Committeewww.oasis-open.org

Keep exploring

across the database

Top extensions this week

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

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