PDF to EPUB Without Losing Formatting: What Actually Works (2026)
The most common complaint about PDF-to-EPUB conversion is lost formatting: jumbled paragraphs, missing headings, images in the wrong place, or text that runs together. Here is why it happens and what you can do about it.
Why PDF formatting breaks during conversion
PDFs are designed for printing, not reading on screens. Every character in a PDF has an absolute position on a fixed-size page — there is no concept of "this is a heading" or "this is a paragraph." When a converter reads a PDF, it has to guess the document structure from position, font size, and spacing alone.
EPUB works in the opposite way: it is semantic and reflowable, like a web page. The converter must bridge two fundamentally different models, and that translation is where formatting gets lost.
What breaks most often
- Multi-column layouts — academic papers, magazines. Converters read left-to-right across columns instead of down each column.
- Headers and footers — page numbers and running headers end up inline with body text.
- Hyphenated line breaks — words split across lines in the PDF stay split in the EPUB.
- Text boxes and sidebars — floating text boxes lose their position and appear out of sequence.
- Tables — complex tables often convert to unformatted text.
- Scanned PDFs — no text layer at all; OCR must be run first.
Which PDFs convert cleanly
Not all PDFs are equally hard to convert. Here is a rough guide:
| PDF type | Formatting quality |
|---|---|
| Word / Google Docs export | ★★★★★ Excellent |
| Tagged / accessible PDF | ★★★★☆ Very good |
| LaTeX single-column | ★★★★☆ Very good |
| eBook-style single-column PDF | ★★★★☆ Very good |
| LaTeX two-column (journal) | ★★☆☆☆ Poor |
| Magazine / newspaper layout | ★★☆☆☆ Poor |
| Scanned PDF (no OCR) | ★☆☆☆☆ Not possible |
How to get better formatting results
1. Start with the best source you can
If you have access to the original Word, Google Docs, or LaTeX source, export a fresh PDF from that rather than using a PDF that has already been printed and re-scanned. Tagged PDFs produced by modern Word and Adobe Acrobat include structural information that converters can use directly.
2. Use a converter that understands document structure
toolkit.bot uses layout analysis and bookmark detection to reconstruct heading hierarchy automatically. This means your table of contents comes through correctly and your e-reader's font-size adjustment works as expected. Upload your PDF and see what comes back — the first conversion is free.
3. Post-process in Calibre for fine-tuning
Even a good auto-conversion may need minor cleanup. Open the EPUB in Calibre's EPUB editor to:
- Fix any remaining hyphenated words (
find/replacewith regex) - Remove running headers or page numbers that crept into the text
- Adjust heading levels in the table of contents
4. For academic PDFs, try column-aware converters
Two-column journal PDFs are uniquely difficult. toolkit.bot's layout analysis handles many of them, but extremely dense academic layouts sometimes need manual column selection. Our guide to converting research papers covers this in detail.
5. For scanned PDFs, run OCR first
If your PDF contains scanned pages (you cannot select any text), you need OCR before conversion. Our scanned PDF to EPUB guide explains which OCR tools give the best text extraction for subsequent conversion.
The formatting trade-off: reflowable vs fixed-layout EPUB
Some people ask for a conversion that keeps the original PDF layout exactly — two columns, specific fonts, precise image placement. That is possible with Fixed-Layout EPUB (FXL), but it defeats the main benefit of EPUB: the ability to change font size and line spacing on your e-reader.
For almost all reading purposes, a clean reflowable EPUB is better than a fixed-layout one. Your reader adjusts to any screen size, you can increase font size for accessibility, and the result is a genuinely readable book rather than a pinch-to-zoom PDF substitute.
When automation is not enough
Some documents are too complex for any automated tool to handle perfectly: heavily formatted technical manuals, books with extensive footnotes, documents that must meet accessibility standards for publication. For those cases, our Premium Verification service adds human review to ensure every heading, table, and image is correctly positioned in the final EPUB.
Get a clean, well-formatted EPUB from your PDF in seconds — headings preserved, images intact, table of contents generated automatically.
Convert your PDF now — free →Frequently asked questions
Why does PDF to EPUB conversion always mess up the formatting?
PDFs encode text as positioned elements on a fixed canvas — there is no semantic structure like headings or paragraphs. Converters have to reverse-engineer that structure, and they often get it wrong. Simple single-column PDFs convert cleanly; multi-column academic papers and scanned books lose the most.
Which PDF types convert to EPUB with the best formatting?
Single-column PDFs exported directly from Word, Google Docs, or LaTeX (without complex math) convert best. PDFs with embedded bookmarks and structured tags (accessible PDFs) also convert well. Scanned PDFs, two-column journal articles, and PDFs with heavy use of text boxes are the hardest.
Can I keep my headings and chapter structure when converting?
Yes, if the source PDF has embedded bookmarks or proper heading styles. toolkit.bot uses those signals to reconstruct the EPUB table of contents. If your PDF has no bookmarks, headings may appear as large bold text without structural meaning — post-processing in Calibre or Sigil can fix this.
What happens to images when converting PDF to EPUB?
Inline images embedded in the PDF are extracted and included in the EPUB. Full-page images from scanned PDFs are treated as image pages. Decorative rule lines and background graphics are often lost. toolkit.bot preserves inline images at their original resolution.
Is there a way to convert a PDF to EPUB and keep the original layout exactly?
No — EPUB is a reflowable format by design, so fixed layouts like two-column magazine spreads cannot be perfectly preserved. Fixed-layout EPUB (FXL) can preserve layouts exactly but defeats the purpose of reflowing text to fit your screen. For most reading purposes, a clean reflowable EPUB is better than a pixel-perfect fixed layout.