ODT to PDF
Convert an OpenDocument Text (.odt) file from LibreOffice or OpenOffice into a PDF — entirely in your browser. Best for prose ODT documents. Tables and complex layouts approximate.
Select an .odt file
or drop one here — processed locally in your browser, no upload
—
Best for prose ODT documents. Tables and complex layouts approximate — they may be omitted or simplified in the output.
Your file is ready
Processed entirely in your browser — the file never left your device.
How to convert ODT to PDF
Three steps. Everything happens locally.
Open the .odt
Pick or drop an OpenDocument Text file. It's a ZIP archive — jszip opens it in your browser.
Pick page size
A4, Letter, or Legal.
Download
pdf-lib builds the PDF in your tab — download instantly.
How ODT to PDF works on this page
An .odt file is a ZIP archive containing a handful of XML files: the
document body (content.xml), the style definitions
(styles.xml), a manifest, and any images. We unzip the
archive with the open-source jszip
library, harvest the style definitions to figure out which named
styles imply bold/italic/underline, then walk the body XML emitting
paragraph and heading blocks. Each block is drawn onto a PDF page
with pdf-lib. Both libraries run in your browser tab — no upload, no
server, no account.
What converts well
- Paragraphs and headings: H1 through H6, mapped to clear sizes.
- Inline styling: bold, italic, underline via
<text:span>style names. - Lists: bullet and numbered, with proper indentation.
- Whitespace: explicit line breaks, tabs, and
<text:s text:c="N"/>multi-space runs. - Page breaks:
fo:break-before="page"starts a new PDF page.
What this version can't do (yet)
- Tables. v0.1 drops
<table:table>content. - Embedded images. Pictures referenced from the
Pictures/directory of the .odt are skipped. - Multi-column layouts and text frames.
- Footnotes and endnotes.
- Original fonts. We use standard PDF Helvetica so nothing is fetched over the network.
Privacy & security
ODT is the format LibreOffice / OpenOffice users save in by default, and these files often contain confidential material — drafts of contracts, internal reports, personal letters. Most online "convert to PDF" services upload your file to their servers. Because this tool processes everything locally there is no upload step to intercept, no server-side temp file, and no retention window.
Frequently asked questions
No. The .odt archive is opened in your browser by the jszip library, and the PDF is built with pdf-lib — also in your browser. Nothing leaves your device. You can verify this in your browser's Network tab while you run the conversion.
ODT is the document format used by LibreOffice, OpenOffice, and a few other open-source word processors. It's defined by the OpenDocument standard (ISO/IEC 26300) and is essentially a ZIP file containing XML descriptions of the text + a few support files. It's a great long-term archival format, but harder for non-LibreOffice users to open than PDF.
Good for prose. We handle paragraphs, headings (H1 through H3), ordered and unordered lists, bold, italic, underline (via style-name lookup), explicit line breaks, tabs, multiple spaces, and explicit page breaks (fo:break-before="page"). Tables, embedded images, multi-column layouts, footnotes, and OLE objects are NOT supported in v0.1.
We use the standard PDF Helvetica family (Regular/Bold/Italic/Bold-Italic). Embedding the original ODT fonts would require fetching font files over the network, which would break the "everything stays in your browser" guarantee. The result looks clean but isn't a pixel-perfect re-render of your original LibreOffice styling.
This tool is for .odt (text) only. If you upload an ODF spreadsheet (.ods), presentation (.odp), or drawing (.odg) we detect that and refuse with a clear error. Use the Excel to PDF tool for spreadsheets, and look out for our PowerPoint to PDF tool for presentations.