Convert ODT to RTF

Converting ODT to RTF crosses two boundaries at once: an open standard to a Microsoft interchange format, and 2005 to 1987. The reason is the recipient — an OpenDocument file needs LibreOffice or Word, while rich text opens in WordPad and TextEdit on any desktop. Formatting and tables come across; the file grows, and Writer’s live fields stop being live.

  • Where it runs On our server, because a browser cannot run the software this needs.
  • Rebuilt RTF works differently from an ODT, so this is not the gradual degradation a lossy codec applies. What RTF can express is reproduced faithfully; what it has no equivalent for does not survive at all.
  • File size limit Up to 25 MB per file, free, without an account.
  • Worth knowing Formatting survives; macros, embedded objects and revision history usually do not.

Up to 100 files at once. Mixed formats are fine.

The recipient with no office suite at all

The problem this page solves is narrower than it first appears, because a great deal of software reads OpenDocument. Microsoft Word has done for well over a decade and the registry lists it alongside LibreOffice Writer and Google Docs. If the person at the other end has Word, sending the ODT is fine and this conversion is unnecessary.

The case that is left is real and common: a computer with no word processor on it. A locked-down corporate desktop where nothing can be installed and WordPad is what exists. A shared machine in a reception area or a workshop. A Mac where the recipient has never opened anything but TextEdit. A client, a contractor or a member of the public who is not going to install a suite to read one letter. Rich text is the last format that all of those open natively, which is exactly the job RTF has been doing since 1987.

Two formats separated by a vendor and by eighteen years

ODT is OASIS work from 2005, standardised as ISO/IEC 26300, and is a ZIP archive containing XML — `content.xml` for the text, `styles.xml` for the styling, a manifest, and the pictures stored as real image files. It is a live format with an active specification and multiple implementations.

RTF is Microsoft, from 1987, and the registry marks it legacy. It is plain text: the prose surrounded by backslash-prefixed control words describing a font table, a colour table, a style sheet and each run of formatting. The specification stopped being developed in 2008, which in this particular context is a feature rather than neglect — a format that will never change again is a format an old viewer can be relied on to keep reading. The conversion is therefore a deliberate step down to reach a wider set of machines.

What OpenDocument carries that rich text has nowhere to put

The list is specific to Writer rather than generic to word processors, and it is worth reading before you convert something complex. Writer’s field model is much richer than RTF’s: user-defined variables, conditional text that shows one thing or another depending on a value, input fields, and document properties inserted into the body all resolve to their current values and stop being fields. Sections linked to an external file — a shared boilerplate paragraph pulled from another document — become a static copy.

Frames and their anchoring are the second area. Writer distinguishes anchoring to a page, a paragraph, a character or as a character, and RTF’s positioning model is coarser, so text frames and floating images can shift. Database ranges and anything driven from a Base data source have no equivalent at all. A plain letter or report crosses cleanly; a document that was quietly acting as a small application does not, and it is better to find that out here than from the recipient.

Styles do survive, which is the good news

RTF has a real style sheet, and that is the single reason this conversion is worth doing at all rather than sending plain text. Named paragraph styles come across as styles rather than being flattened into direct formatting, so headings stay headings. Character styles, fonts, sizes, spacing and colour all map. Tables keep their cells, borders and merged regions, lists keep their numbering, and headers, footers, page numbering, footnotes, hyperlinks and page setup all have direct representations.

The work is done by LibreOffice itself, which is reading its own native format and writing a filter it has maintained for two decades — the most favourable possible arrangement for fidelity. The machine it runs on carries metric-compatible substitutes for Arial, Times New Roman, Courier New, Calibri and Cambria, so line breaks land where they did. What no version of RTF can do is carry a font with the document; it names fonts and stops, so anything drawn in an unusual face will be substituted by whatever the recipient has.

The table of contents freezes at the moment you convert

This is the failure people actually hit, and it is silent. A table of contents in Writer is a field that regenerates from the headings; in the RTF it becomes the list of headings and page numbers it happened to hold when the file was written. The same applies to cross-references, page counts, automatic figure and table numbering, and any date that was updating itself.

So the order of operations matters. Update the table of contents, refresh every field and check the page numbering in Writer immediately before converting, because whatever is on screen at that moment is what the recipient gets permanently. If the document is going to be edited at the far end and returned, warn them that the contents list will not follow their changes — for a document that will be edited heavily, sending it and asking for tracked changes on a short extract is often better than sending the whole thing.

Macros stay behind, along with anything they were doing

RTF has no place to store code, so LibreOffice Basic macros attached to the document do not travel. For most documents that is irrelevant and occasionally it is the point — a recipient on a managed machine may be behind a policy that treats macro-bearing files as executable content, and an inert document sails past it.

Where it matters is a document that was doing work on open: filling a reference number, stamping a date, populating a field from a data source, adjusting what is visible according to a variable. The RTF is a snapshot of the state the document was in, and none of that will run again. If the macro was the mechanism by which the document was correct, converting produces a file that looks correct and is frozen, which is worse than one that is obviously broken.

Weighing RTF against PDF for the same handover

These are the two answers to "the recipient has nothing installed" and they answer different questions. Send a PDF when the document must look exactly as you laid it out, when nobody should change it, and when reading is the whole task — every machine reads a PDF, including phones, and nothing shifts.

Send an RTF when the recipient has to edit and return it. That is the narrow band where rich text is genuinely the right choice: an editable document, opened without installing anything, saved and sent back. Be realistic about the round trip, though — WordPad supports a small fraction of what Writer does, and a document that goes out through this conversion and comes back through WordPad has been through two lossy filters. For anything long or heavily formatted, ask for their changes as comments on a PDF instead.

Where the ODT is converted and what is kept

On our server rather than in your browser. Converting between two word-processing formats needs a real office engine, and this page says so plainly instead of implying that everything on this site runs on your own device. The file travels over an encrypted connection to a container running LibreOffice headless, and that container has no outbound internet access of its own.

Each job gets its own scratch directory and its own LibreOffice profile — two `soffice` processes sharing one profile corrupt it, and the symptom is a conversion that never returns rather than an error — and the directory is deleted when the job ends whatever the outcome. Anything still running after sixty seconds is terminated. The free tier accepts 25 MB per uploaded file, measured on what you send rather than on what comes back, which matters because the RTF is normally the larger of the two.

Opening the result the way the recipient will

Check the RTF in the most limited program you can find rather than in Writer. Writer will render its own output beautifully and tell you nothing; WordPad will show you what a minimal renderer makes of the document, which is much closer to what a recipient on a bare machine sees. TextEdit does the same job on a Mac.

Look at the tables first, then at the images and any text frame that was positioned rather than inline, then at the table of contents to confirm that the frozen page numbers are the right ones. If several documents are going out together, check one carefully and skim the rest — the failures come from the constructs you use rather than from any individual file. Keep the ODT as the master copy, because it is the version that still holds the live fields, the styles and everything RTF had to leave behind.

How to convert an ODT document into RTF

  1. Drop the ODT file onto this page — a batch is fine.
  2. LibreOffice converts it on the server and returns an RTF.
  3. Open the RTF in WordPad or TextEdit, check tables and the contents list, then send it.

ODT and RTF: an ISO standard against a Microsoft interchange format

ODT compared with RTF
ODTRTF
Full nameOpenDocument TextRich Text Format
File extension.odt.rtf
Media typeapplication/vnd.oasis.opendocument.textapplication/rtf
First published20051987
Published byOASISMicrosoft
SpecificationISO/IEC 26300
LicensingOpen standardPublished, not standardised
Standing todayCurrentLegacy, still read everywhere
Opens in a browserNo browserNo browser
Considered insteadDOCX, PDFDOCX, TXT

What survives

Both ODT and RTF hold several pages, so a multi-page document stays one file.

Opening the result

LibreOffice Writer and Microsoft Word read both ODT and RTF, so there is a way to check the result against the original without a second tool.

What each format is for

ODT is OASIS's format, published in 2005. The specification is ISO/IEC 26300, and it is worth reading if the file has to outlive the tool that wrote it.

RTF comes from Microsoft and dates from 1987. Microsoft Word, LibreOffice Writer and TextEdit all read it.

RTF was published in 1987 and ODT in 2005. The older one is generally the safer file to hand to somebody; the newer one usually does the job in fewer bytes.

ODT to RTF: recipients, size and fields that stop updating

Are my ODT files uploaded anywhere?

Yes — this conversion needs software that cannot run in a browser, so the file is uploaded over an encrypted connection. It is deleted as soon as the job finishes, and the result is sent straight back to you without being stored. The work is done by LibreOffice, the full office suite, running headless.

Why not send the ODT and let them install LibreOffice?

Because on a managed machine they often cannot. The registry lists Microsoft Word among the programs that read OpenDocument, so on a machine with Word the ODT is fine — the problem case is a computer with no office suite at all, where WordPad and TextEdit open RTF and nothing opens an ODT.

Will the RTF be larger than the ODT?

Yes, usually by a wide margin. An ODT is a ZIP archive of compressed XML with the pictures stored as ordinary image files; an RTF has no compression and writes each embedded picture as hexadecimal text at roughly two characters per byte. An illustrated document can grow several times over.

What happens to my LibreOffice Basic macros?

They do not travel. RTF has no place to store code of any kind, so a document with macros attached becomes an inert file. Anything a macro was generating on open — a date, a reference, a filled field — is not going to happen at the other end.

Do cross-references and a table of contents survive?

They arrive as text rather than as live fields. RTF has some field support but the mapping across from Writer’s model is partial, so a table of contents becomes the list of headings and page numbers it held at the moment of conversion and stops updating. Fix the page numbers before converting, not after.

Can they edit the RTF and send it back?

Yes, and that is the usual reason to choose RTF over PDF. Everything that opens an RTF can also save one, so a recipient with WordPad can make changes and return the file. Expect the round trip to cost some formatting — WordPad in particular supports far less than Writer does.

Does this run in my browser?

No. Converting between two word-processing formats needs a real office engine, so the file is uploaded over an encrypted connection to a container running LibreOffice headless and deleted the moment the job finishes. The free tier takes 25 MB per file.

More about these formats