.ODF

ODF File

OpenDocument Formula
Ask a question
QUICK ANSWER

An ODF file is an OpenDocument Formula document - a standalone mathematical formula created by LibreOffice Math or Apache OpenOffice Math. Open it with LibreOffice (free, all platforms). Microsoft Office does not support this format.

Developer: OASIS (originated at Sun Microsystems / OpenOffice.org) Category: Misc Files Open standard MIME: application/vnd.oasis.opendocument.formula
OPENS ON Windows macOS Linux Web
Related: .TORRENT · .MSO · .MD5 · .SHS

On this page

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

Files with the .odf extension store standalone mathematical formulas and equations, belonging to the OpenDocument Format family of open document standards.

What do ODF files contain?

Most often, the contents of .odf files are mathematical formulas created in the equation editor named Math, which is part of the LibreOffice and Apache OpenOffice suites. LibreOffice Math and Apache OpenOffice Math enable the authoring of even complex mathematical expressions and the typesetting of their results. Files with the .odf extension store formula content encoded in MathML-based XML, packaged inside a ZIP archive that also contains metadata, style definitions, and a manifest listing all entries.

The ODF standard was ratified by OASIS in 2005 and published as ISO/IEC 26300. The formula markup sits in a file named content.xml inside the package, making .odf files interoperable across any application that supports the standard.

What are ODF files used for?

Files with the .odf extension are used to store mathematical models or formulas for use across the LibreOffice and Apache OpenOffice suites. This software allows for the import of content from .odf files into other components of the suite - for example, the word processor (*Writer*) or the multimedia presentation program (*Impress*). In this way, formulas from .odf files become embedded objects, which can be used both for presenting ready-made data and for displaying equations in documents not originally created in a dedicated math editor.

Can I create my own ODF files?

LibreOffice Math and Apache OpenOffice Math allow users to create their own .odf files. This can be done in the Math module by using markers available from the equation editor, symbols from the toolbox, or the context menu. This enables the creation of sets of equations and formulas, which are then saved to .odf files compatible with any ODF-supporting application, including LibreOffice Writer documents.

Security & safety

RISK: LOW

Open, standardised ZIP/XML format; no macro execution capability in formula files. Safe to open.

Format details

in a nutshell
FULL NAMEOpenDocument Formulaaka ODF formula, OpenDocument Math formula
DEVELOPEROASIS (originated at Sun Microsystems / OpenOffice.org)since 2005 (ODF 1.0, OASIS standard)
CATEGORYMisc Files
MIME TYPEapplication/vnd.oasis.opendocument.formula
TYPEZIP-based package of XML files (OpenDocument)
STANDARDOpen · royalty-free
This extension is also used by…
  • ODIF - Open Document Interchange Format - 1980s ISO 8613 binary transport format for Office Document Architecture documents; predates and is entirely unrelated to the OASIS ODF standard.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
Like all ODF documents, .odf is a ZIP archive. The first entry is an uncompressed file named "mimetype" containing "application/vnd.oasis.opendocument.formula", readable in plain bytes around offset 38.

Programs that open ODF files

Windows4 apps
Apache OpenOffice Open-source Open with OpenOffice Math (part of the suite). File > Open, select the .odf file.
Microsoft Office Paid Microsoft Office does not natively open .odf formula files. Use LibreOffice to convert to DOCX first.
LibreOffice Writer Open-source Insert > Object > Formula can embed ODF formula files in Writer documents.
LibreOffice Math Open-source Double-click the ODF file; LibreOffice Math opens and displays the formula. Part of the LibreOffice suite.
macOS2 apps
Apache OpenOffice Open-source Open with OpenOffice Math via File > Open.
LibreOffice Math Open-source Double-click or File > Open in LibreOffice Math.
Linux2 apps
Apache OpenOffice Open-source File > Open in OpenOffice Math.
LibreOffice Math Open-source Open with LibreOffice Math; often the default handler for .odf on Linux desktop environments.
Web1 app
Google Drive / Google Docs Free Upload the .odf file to Google Drive; Google does not natively preview ODF formula files - download and open locally in LibreOffice.

Technical details

deep spec
ContainerZIP archive (same outer structure as all OpenDocument Format types)
Primary content file`content.xml` - MathML-based formula markup in ODF math XML namespace
MIME type`application/vnd.oasis.opendocument.formula`
EncodingBinary outer ZIP; UTF-8 encoded XML files inside
ZIP magic bytes`PK` (0x50 0x4B 0x03 0x04) at offset 0; `mimetype` entry near offset 38 contains MIME string
CompressionDEFLATE per-entry ZIP compression (inner XML files are compressed)
Manifest`META-INF/manifest.xml` lists all package entries and encryption metadata
EncryptionOptional AES-256 per-entry encryption (ODF 1.2+); key derivation via PBKDF2
IntegrityZIP CRC-32 per entry; SHA-256 checksums in manifest for encrypted content (ODF 1.2+)
Version attribute`office:version` in `content.xml` declares ODF version (e.g., "1.3")
StandardizationOASIS OpenDocument Format; also ISO/IEC 26300
Typical file sizeUnder 50 KB (formula files are compact)
Embeddable inODF text documents (.odt), spreadsheets (.ods), and presentations (.odp) as inline formula objects
Released2005 (ODF 1.0, OASIS standard)
Latest versionODF 1.3 (OASIS, 2021); ISO/IEC 26300-1:2021
Open standardYes · royalty-free
Specificationwww.oasis-open.org

ODF conversions

Community Q&A

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

Frequently asked questions

What is a .odf file?
An OpenDocument Formula file - a mathematical formula document created by LibreOffice Math or Apache OpenOffice Math.
How do I open an ODF file?
Use LibreOffice (free) - it includes LibreOffice Math which opens .odf files directly. Apache OpenOffice also works.
Can Microsoft Office open .odf files?
No - Microsoft Office does not support the OpenDocument Formula format. Use LibreOffice to open it or convert it first.
How do I convert an ODF formula file to PDF?
Open in LibreOffice Math, then use File > Export as PDF.
Is ODF the same as the Open Document Format?
Yes - ODF stands for OpenDocument Format. The .odf extension specifically denotes formula files within that family. Other types use .odt (text), .ods (spreadsheet), .odp (presentation).
Can I rename an ODF file to ZIP to open it?
Yes - like all ODF files, .odf is a ZIP archive. Renaming to .zip lets you inspect the XML contents with any archive manager.

References

1ISO/IEC 26300 - OpenDocument Formatwww.iso.org
2Library of Congress - OpenDocument Format Familywww.loc.gov

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.RPMSGRestricted Permission Message
5.MDMarkdown Document
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

.TORRENTBitTorrent Metainfo File
.MSOMicrosoft Office HTML/OLE Data Stream (oledata.mso)
.MD5MD5 Checksum File
.SHSShell Scrap Object File
.DDDAdobe Acrobat Distiller file
.DWLDrawing Lock File (CAD)

Free file tools

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

Open the toolbox

Browse file extensions A-Z