If you have ever opened a PDF in LibreOffice and watched it open as a fully editable document, paragraphs intact, formatting preserved, no OCR weirdness, you have probably encountered a hybrid PDF without realizing it. A hybrid PDF is a single file that is simultaneously a perfectly normal PDF and a perfectly normal source document (typically ODF). It looks like one thing to a PDF reader and another thing to an office suite. This article explains how that works, when it is useful, and where it falls short.
What a hybrid PDF actually is
A hybrid PDF is a PDF that has an extra payload stored inside it: a complete copy of the original source document (usually .odt, .ods, or .odp), embedded as a file attachment with a specific filename pattern.
When you open the file in a PDF reader, you see the PDF. When you open the same file in LibreOffice (or any compatible office suite that knows the trick), it detects the embedded source, extracts it, and opens the editable version instead. You edit, save, and the result is a new hybrid PDF, the regenerated PDF view plus the updated source.
It is, in essence, a self-contained "save as PDF, but keep the source" file. The PDF is the public view, the embedded source is the truth.
How to create a hybrid PDF
In LibreOffice (the most common way to produce one):
- Open your document, spreadsheet, or presentation
- Choose File → Export As → Export as PDF
- In the dialog, check the option labeled Hybrid PDF (embed ODF file)
- Save
That is it. The resulting .pdf is a normal PDF on the outside and contains the .odt (or equivalent) on the inside.
In OnlyOffice, similar functionality exists under the PDF export advanced options.
Other office suites, Microsoft Word, Google Docs, do not produce hybrid PDFs natively. They can attach files to a PDF (which is technically the same mechanism), but they do not implement the round-trip "open as editable source" behavior on the way back in.
When hybrid PDFs are great
They shine in a few specific scenarios:
- You need to send a PDF, but you also need the recipient to be able to edit it cleanly. The PDF view is what they see; the embedded ODF is what they edit. No format conversion headaches, no PDF-to-Word conversion artifacts.
- Long-term storage of authored documents. If you save a thesis, a contract template, or a report design as a hybrid PDF, anyone can read it (PDF), and any future you can re-edit it (ODF), without keeping two files in sync.
- Email attachments. Sending one file instead of "the PDF and the source attached, please use the source" reduces the chance of someone editing the wrong copy.
- Self-publishing. A hybrid PDF distributed as a sample chapter still lets reviewers edit and resubmit.
Where hybrid PDFs fall short
They are not a silver bullet.
Compatibility. Anyone opening the file in a non-LibreOffice context just sees a regular PDF. They will not know there is an editable version inside unless you tell them. Worse, if they "edit" the PDF using a PDF editor (changing text inline), the embedded ODF goes stale.
File size. You are storing two representations. Hybrid PDFs are roughly twice the size of either component alone. For small documents this is fine; for graphics-heavy presentations it matters.
Microsoft Word does not understand them. If you send a hybrid PDF to a colleague on Word, they will use the PDF as a starting point and try to convert it to .docx. The embedded ODF is invisible to them. The "edit cleanly" property only holds within the LibreOffice family.
Synchronization risk. If a tool edits the PDF directly (say, you sign it in Docento.app without re-saving the ODF), the embedded source no longer matches the PDF view. This is solvable, re-save the file from LibreOffice to regenerate, but it is a real trap.
How hybrid PDFs differ from PDF attachments
Any PDF can carry attached files (see the PDF spec's File Specification objects). A PDF attachment is just a payload, you click an attachments panel, save the file, open it in whatever app it belongs to.
A hybrid PDF goes further:
- The attached file is the source of the PDF view, not an unrelated payload.
- The office suite that produced the hybrid PDF auto-detects the attachment when opening the file, transparently.
- Editing and saving regenerates both representations together.
If you send a regular PDF with an .odt attached manually, that is not a hybrid PDF. It is two files in one envelope. The round-trip behavior is what defines hybrid.
How hybrid PDFs interact with other PDF standards
A hybrid PDF can also be:
- PDF/A-compliant, PDF/A explicitly allows file attachments in PDF/A-2 and PDF/A-3 (PDF/A-1 forbids them). PDF/A-3, in particular, was designed with embedded source files in mind. A hybrid ODT-in-PDF that conforms to PDF/A-3 is an excellent archival format: the visual record is preserved forever, and the editable source is preserved with it.
- Tagged for accessibility, works fine. The embedded source does not affect the PDF's tag tree.
- Signed, possible but tricky. Signing the PDF view locks the bytes of the file, including the embedded ODF, so any later edit invalidates the signature.
Workflows that work well
A few patterns where hybrid PDFs really earn their keep:
- Internal report production. Author in LibreOffice, save as hybrid PDF, share with leadership. When leadership asks for changes, open the same file, edit, re-save. Single source of truth.
- Open-source project documentation. Ship
.pdffiles that double as.odtsource. Contributors don't need a separate "docs source" repo. - Templated contracts in small businesses. Keep your contract templates as hybrid PDFs. Send the PDF to clients; reopen as ODT to update terms.
- Academic submissions. Some journals accept hybrid PDFs so reviewers see the typeset PDF and editors can extract the editable source for production.
Quick sanity check: is my PDF hybrid?
Open it in LibreOffice. If it opens as an editable document, with paragraphs and tables and styles in place, it is hybrid (or it is using LibreOffice's PDF Import, which is an entirely different and much rougher path, the giveaway is that hybrid PDFs open instantly and cleanly, while PDF Import is slow and lossy).
Or open the file's attachments panel in any decent PDF reader. If you see a file named something like ODFAttachedFile.odt, it is hybrid.
Takeaway
Hybrid PDFs are an elegant solution to the "is this a PDF or is it editable" question: it is both, at the same time, with no extra files. The catch is that the round-trip behavior only works inside the LibreOffice ecosystem. If your collaborators are split between Microsoft Word and LibreOffice, a hybrid PDF is half useful, the PDF view always works, but the editing benefit is partial. For purely PDF-side edits, you can still use Docento.app on a hybrid PDF; just remember to re-save from LibreOffice afterwards to keep the embedded source aligned. For archival, pair the technique with PDF/A-3 and you have a future-proof, self-explaining document.