Browser-based document converter · ODT to DOCX

ODT to Word Converter

Converts LibreOffice and OpenOffice documents to .docx, resolving their styles into Word headings, lists and tables.

Input

OpenDocument files (.odt, .ott, .fodt), up to 25MB

Drop your ODT file here or click to choose

.odt, .ott, .fodt

Files are read and converted on your device. Nothing is uploaded, and the result is yours to download or open in the Word editor.

Result

DOCX file, ready to download or edit

Choose a file to see the DOCX result here.

ODT to Word Converter

Operator: Abdulla Al Fahad. How tools are built and checked

An .odt file is the native document format of LibreOffice, OpenOffice and several government and education systems. Word can open it, but numbering, styles and tables often shift, and the person you are sending it to may not want to deal with an unfamiliar format at all. The ODT to Word Converter reads the OpenDocument XML directly and writes a .docx that uses Word's own heading styles, lists and tables.

Not every .odt comes from LibreOffice. Pages and TextEdit on the Mac and some web apps export ODT too, and they do it differently: where LibreOffice writes real heading elements with outline levels, Apple's exports write ordinary paragraphs in a larger bold font. The converter reads outline levels and heading style names first and, when a file has none, falls back to promoting short bold paragraphs that are clearly larger than the body text, so both kinds of file arrive in Word with headings.

Key features

  • Resolves automatic and named styles through their parents to recover bold, italic, underline, strikethrough, colour, highlight and font size.
  • Maps outline levels and Heading, Title and Subtitle styles to Word headings, with a size-and-weight fallback for exports that have no heading styles.
  • Detects numbered versus bulleted lists from the list style and keeps nesting, header rows and column spans in tables.
  • Keeps hyperlinks, line breaks, tabs and explicit spaces from the XML.
  • Reads .odt and .ott archives and flat .fodt files, and refuses encrypted files, spreadsheets and presentations with a specific message.

How OpenDocument styles become Word styles

An .odt is a zip archive. The text lives in content.xml, the named styles in styles.xml, and formatting applied by hand is stored as automatic styles with generated names such as P3 or T7 that point to a parent style. The converter resolves each paragraph and span through that parent chain, so bold applied directly and bold inherited from a style are both found. Headings come from text:h elements with an outline level, from paragraphs whose style name or parent chain is Heading N, Title or Subtitle, and, for files with neither, from the size-and-weight fallback described above.

Lists are read from text:list elements. The list style decides whether the Word list is numbered or bulleted: a level-one text:list-level-style-number gives numbers, anything else gives bullets, and nested text:list elements become nested levels. Tables keep their rows and columns, cells spanning several columns are padded with empty cells, and a table:table-header-rows block marks the first row as a header. Inside text, spans contribute bold, italic, underline, strikethrough, colour, highlight and font size; links come from text:a elements; text:line-break, text:tab and text:s (explicit spaces) are honoured.

A few things are deliberately not carried over. Images and drawing frames are counted and reported but not embedded. Footnotes and endnotes are counted and left out. A table of contents or index is skipped with a note, because Word can regenerate it from the headings. Comments, headers, footers, page styles and the original font names are not written. Password-protected files are detected from the manifest and rejected with a clear message, and a spreadsheet (.ods) or presentation (.odp) is refused with an explanation.

How it works

The archive is opened with a zip reader in the browser. The manifest is checked for encryption, the mimetype entry is checked to make sure the file is a text document, then styles.xml and content.xml are parsed as XML. Every style:style element is recorded with its text and paragraph properties and its parent name, and every text:list-style is recorded as numbered or bulleted.

The converter then walks office:body, turning text:h and text:p into headings and paragraphs, text:list into list items, table:table into tables and text:section into its contents. Inline elements are collected into formatted runs with OpenDocument's whitespace rules, and if no heading was found anywhere, the fallback pass promotes short bold paragraphs that are at least 15% larger than the body size.

Common use cases

  • A LibreOffice user has to deliver a report to a client whose company standardises on Microsoft Word.
  • An old archive of OpenOffice documents from a university department is being moved into a Word-based document system.
  • A job seeker wrote their CV in LibreOffice and an application portal only accepts .docx uploads.
  • A translator receives .odt source files and needs them in Word to use a translation plugin.
  • A Chromebook user downloaded a Google Docs file as ODT in the past and now needs it as Word without reinstalling anything.

How to use this tool

  1. Drop an .odt, .ott or .fodt file on the upload area.
  2. Check the headings in the preview: styled headings should match the original, and for Apple or web-app exports confirm that the inferred headings are the right paragraphs.
  3. Note the warnings about images, footnotes or a skipped table of contents.
  4. Download the .docx, or choose Edit in Word editor to fix a heading or remove leftovers first.

Example

content.xml (simplified)

<text:h text:outline-level="1">Annual report</text:h>
<text:p text:style-name="P2">Sales rose
  <text:span text:style-name="T1">18%</text:span>.</text:p>
<text:list text:style-name="L1">
  <text:list-item><text:p>Europe</text:p></text:list-item>
  <text:list-item><text:p>Asia</text:p></text:list-item>
</text:list>
<!-- T1: fo:font-weight="bold"; L1: list-level-style-number -->

Word document structure

Heading 1: Annual report
Paragraph: Sales rose [bold]18%[/bold].
Numbered 1: Europe
Numbered 2: Asia

Tips for best results

  • Use real heading styles in LibreOffice (Heading 1, Heading 2) rather than enlarging text by hand. Styled headings convert exactly; hand-formatted titles are only recognised when they are bold and clearly larger than the body text.
  • Apply numbering through list styles. Numbers typed in by hand stay as text and are not turned into a Word list.
  • If an .odt will not open, save it from LibreOffice as Flat XML ODF (.fodt) and convert that. The converter reads both forms.
  • The warning counts tell you exactly how many images and footnotes to add back in Word.

Edge cases to watch

Images, charts and drawing shapes are not embedded. The count appears in the warnings, but the pictures must be inserted again in Word.

Footnotes and endnotes are removed rather than converted. Their anchors disappear from the text, so documents that rely on notes need them re-added.

Fields such as page numbers, dates and cross-references become fixed text, and a table of contents is skipped entirely. Insert a new one in Word with References, Table of Contents.

Fonts are not preserved. A document set in Liberation Serif or DejaVu Sans arrives in Word as the default font; set the font in Word if it matters.

Tracked changes are not shown. The text is taken as it currently stands in the file, without insertion or deletion marks.

Password-protected ODT files cannot be read. In LibreOffice choose File, Save As, untick Save with password, save, and convert the unprotected copy.

Frequently asked questions

What is the difference between .odt, .ott and .fodt?

.odt is a normal document, .ott is a template with the same internal structure, and .fodt is a single flat XML file with no zip around it. The converter accepts all three.

Why is my table of contents missing?

The stored table of contents is skipped on purpose because it would be stale. In Word, use References, Table of Contents to insert a new one built from the converted headings.

Why did a bold paragraph become a heading?

Your file had no heading styles or outline levels, which is typical of Pages and TextEdit exports, so headings were inferred from bold paragraphs larger than the body text. Set the paragraph back to Normal text in the Word editor if the guess was wrong.

Are tracked changes kept?

No. The converter reads the document text as it stands and does not write revision marks into the Word file.