.FODT

FODT File

OpenDocument Flat XML Text Document
Ask a question
QUICK ANSWER

A FODT file is a single-file XML version of an OpenDocument text document (.odt). Open it with LibreOffice Writer, or rename it to .odt to open it in Microsoft Word or Google Docs. The format is plain text XML, so any text editor can also read the raw markup.

Developer: OASIS (originated at Sun Microsystems / OpenOffice.org) Category: Text Files Open standard MIME: application/vnd.oasis.opendocument.text-flat-xml
OPENS ON Windows macOS Linux Web
Related: .DOC · .ODT · .DOCX · .GDOC

On this page

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

.fodt is the flat XML variant of the standard ZIP-packaged OpenDocument Text format. Instead of bundling content, styles, settings and metadata into a ZIP archive, a .fodt file merges all those components into a single, uncompressed XML document. The root element is <office:document>, and every sub-document that .odt stores as separate ZIP entries appears here as nested XML sections.

Because the file is plain UTF-8 XML with no compression wrapper, it integrates naturally with version-control systems - git diff produces meaningful, human-readable diffs rather than binary noise. This makes .fodt a practical choice for collaborative writing workflows stored in git repositories, and for XSLT or XQuery processing pipelines that need to transform document content without first unpacking a ZIP archive.

The main trade-off is file size: embedded images are base64-encoded inline, which can inflate a .fodt file several times larger than the equivalent .odt. For documents with heavy image content, the ZIP-packaged .odt remains more practical for everyday use.

LibreOffice Writer and Apache OpenOffice Writer open and save .fodt transparently. The format is governed by the OASIS ODF standard (currently ODF 1.3, published 2021) and is semantically identical to .odt - the same XML namespaces and elements apply. The ODF version is declared in the office:version attribute of the root element. Sibling flat formats include .fods (spreadsheet) and .fodp (presentation).

Security & safety

RISK: LOW

FODT is plain XML text - it is not an executable and cannot contain macros in the traditional sense (the <office:scripts> element can embed LibreOffice Basic, which LibreOffice disables by default). Because the content is visible as text, malicious payloads are less easily hidden than in binary formats. The main practical risk is the same as .odt: embedded macros, which are blocked by default in both LibreOffice and Word.

Format details

in a nutshell
FULL NAMEOpenDocument Flat XML Text Documentaka Flat ODT, ODF Flat XML text
DEVELOPEROASIS (originated at Sun Microsystems / OpenOffice.org)since 2005 (ODF 1.0, OASIS); flat variants defined in the same spec as the ZIP-based package
CATEGORYText Files
MIME TYPEapplication/vnd.oasis.opendocument.text-flat-xml
TYPESingle flat XML file (uncompressed, plain-text XML)
STANDARDOpen · royalty-free

Programs that open FODT files

Windows5 apps
Microsoft Word Paid Rename the .fodt to .odt, then open in Word (supported since Word 2007). Word does not register the .fodt extension - the rename trick is necessary.
Windows Notepad Built-in Can open as plain text to inspect the XML, but offers no document rendering or formatting support.
LibreOffice Writer Open-source Opens .fodt natively - File > Open or double-click (after associating the extension). Save As > Flat XML ODF Text to keep FODT format, or Save As .odt to convert to ZIP-packaged.
Apache OpenOffice Writer Open-source Opens and saves FODT. Barely maintained (ODF 1.2 only) - prefer LibreOffice for active development.
Notepad++ (XML viewing/editing) Open-source Open as XML to inspect or manually edit the flat ODF structure. Not for everyday document editing - use LibreOffice for that.
macOS3 apps
TextEdit Built-in Can open FODT as plain XML text for inspection; no document rendering (it's not an XML editor for ODF). Better for viewing structure than editing content.
NeoOffice Paid NeoOffice is a macOS-native fork of OpenOffice/LibreOffice; opens FODT. Actively maintained but less widely used than LibreOffice.
LibreOffice Writer Open-source Native FODT support on macOS (Apple silicon and Intel). Reference implementation.
Linux3 apps
LibreOffice Writer Open-source Native FODT support; preinstalled on most desktop distributions.
Apache OpenOffice Writer Open-source Opens FODT but lags behind LibreOffice in ODF spec support.
gedit (XML view) Open-source Open the .fodt to view/edit raw XML; no document rendering. Useful for developers inspecting ODF structure.
Web1 app
Google Docs Free Rename the .fodt to .odt and upload to Google Drive, then open with Google Docs. Direct .fodt upload may not be recognized.

Technical details

deep spec
MIME typeapplication/vnd.oasis.opendocument.text-flat-xml
EncodingUTF-8 XML (plain text, no binary wrapper)
CompressionNone - content stored entirely uncompressed
ContainerSingle XML file; no ZIP wrapper
Root element<office:document> merges body, styles, metadata and settings into one XML tree
Image embeddingBase64-encoded inline within the XML; inflates size significantly versus .odt
ODF version supportODF 1.0 through ODF 1.3; version declared in office:version attribute
File identificationXML declaration followed by <office:document> root with office:mimetype attribute set to the ODT MIME string
EncryptionNone - ZIP-packaged .odt supports optional encryption; .fodt does not
Typical file size10 KB - several MB (larger than .odt equivalent due to absent compression)
Version-control useFully diff-able with git diff and other text diff tools; preferred for VCS workflows
Standard bodyOASIS OpenDocument Format (ODF 1.3, 2021)
Sibling flat formats.fods (spreadsheet), .fodp (presentation), .fodc (chart)
Platform supportWindows, macOS, Linux
Released2005 (ODF 1.0, OASIS); flat variants defined in the same spec as the ZIP-based package
Latest versionODF 1.3 (OASIS standard, 2021)
Open standardYes · royalty-free
Specificationwww.oasis-open.org

FODT conversions

Community Q&A

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

Frequently asked questions

What is the difference between .fodt and .odt?
They are the same ODF text format but packaged differently. .odt is a ZIP archive of multiple XML files; .fodt is a single uncompressed XML file. Content and capabilities are identical - LibreOffice opens both transparently.
How do I open an FODT file in Microsoft Word?
Rename the file from .fodt to .odt (they are the same XML inside), then open it in Word. Word supports .odt since Word 2007 but does not recognize the .fodt extension by default.
How do I open an FODT file in Google Docs?
Rename the file to .odt and upload it to Google Drive, then open with Google Docs.
Why would someone use .fodt instead of .odt?
FODT is preferred for version control (git diff works on plain XML, not on ZIP archives), XSLT/XQuery document processing pipelines, and situations where a text editor must open the file without an office suite.
Can I convert FODT to DOCX?
Yes - open in LibreOffice Writer and Save As Word 2007-365 (.docx), or rename to .odt and use Microsoft Word.

References

1OASIS OpenDocument Technical Committee (ODF specifications)www.oasis-open.org
2ODF 1.3 - Flat XML package specificationdocs.oasis-open.org

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.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.DOCMicrosoft Word 97-2003 Document
.ODTOpenDocument Text
.DOCXMicrosoft Word Open XML Document
.GDOCGoogle Docs Shortcut (Link to a Google Docs document)
.LSTList File (generic plain-text list / listing)
.VNTvNote (mobile phone text note / memo)

Free file tools

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

Open the toolbox

Browse file extensions A-Z