PDF to EPUB Quality: Keep Formatting, Fix Common Errors
PDF-to-EPUB conversion quality varies enormously depending on the source PDF, the converter used, and whether you do any post-processing. The most common complaint is lost formatting — jumbled paragraphs, missing headings, images in the wrong place, text that runs together. This guide explains what causes those problems, which PDFs keep their formatting, how to evaluate the output, and the practical steps that actually improve results.
Why PDF-to-EPUB quality is hard
PDF is a fixed-layout format: every character has an absolute XY position on the page. EPUB is a reflowable format: content adapts to any screen size. Converting between them requires reconstructing the reading order and document structure from positional data — a problem that has no perfect solution.
What converters get wrong
- Reading order: multi-column PDFs, sidebars, and footnotes confuse converters. Text gets mixed out of sequence.
- Hyphenation: PDF line-end hyphens become literal hyphens in mid-word in the EPUB text.
- Headers and footers: page numbers and running headers appear as scattered text throughout the chapter content.
- Text boxes and sidebars: floating boxes lose their position and appear out of sequence.
- Tables: table structure is usually lost; cells become sequential paragraphs.
- Equations: mathematical notation rarely survives as text; it becomes either images or garbled Unicode.
- Ligatures: fi, fl, ffi ligatures in some PDFs decode as a single glyph, producing missing letters.
Start with a clean source PDF
The single biggest quality factor is the source PDF. PDFs fall into two categories:
- Text PDFs: created from a document editor (Word, InDesign, LaTeX). Text is stored as actual Unicode characters. These convert well.
- Image PDFs: scans of paper pages. No actual text — just raster images. These require OCR before any meaningful conversion is possible.
Test your PDF: try selecting and copying text. If you can paste readable text, it is a text PDF. If you cannot select text, it is a scan and needs OCR first (use Tesseract, Adobe Acrobat, or an online OCR service).
If you have the original Word, Google Docs or LaTeX source, export a fresh PDF from it rather than converting a printed-and-rescanned copy. Tagged PDFs from modern Word and Acrobat carry heading and paragraph structure that converters use directly.
Which PDFs keep their formatting
| PDF type | Formatting after conversion |
|---|---|
| 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 without column-aware layout analysis |
| Magazine / newspaper layout | Poor |
| Scanned PDF (no OCR) | Not possible until OCR has run |
Choosing the right converter
Not all converters produce equal quality. Key factors:
- Reading order detection: good converters analyze column layout, text flow zones, and footnote regions separately.
- Hyphen removal: line-end hyphens should be removed, not preserved.
- Header/footer stripping: running headers and page numbers should be detected and excluded.
- Paragraph reconstruction: lines should be joined into paragraphs based on indentation and line spacing.
toolkit.bot handles all of these automatically. For a comparison of tools, see free vs paid converters.
Post-processing in Calibre
Even after a good automatic conversion, Calibre's post-processing can improve quality significantly:
- Open the EPUB in Calibre. Click Convert books.
- Under Look & Feel, check Remove spacing between paragraphs and set a small first-line indent if your genre expects it.
- Under Search & Replace, add patterns to remove lingering page numbers (e.g., regex
^\d+$matching standalone number lines). - Under Structure Detection, set chapter detection regex to match your heading style.
- Under Table of Contents, choose heading levels to include in the generated TOC.
Manual cleanup in Sigil
For documents where quality really matters — academic theses, published books — manual cleanup in Sigil's HTML editor is the most reliable approach:
- Use Find & Replace with Regex to remove header/footer remnants.
- Inspect the HTML for
<span>tags with excessive inline styles and simplify them. - Fix ligature characters manually (search for unusual Unicode characters in the 0xFB00–0xFB06 range).
- Regenerate the TOC after cleanup.
Evaluating conversion quality
After conversion, check these specifically:
- Open on a phone-sized screen and verify text reflows naturally without broken lines mid-sentence.
- Search for a word that appears at the start of a line in the PDF. If the word is split (e.g., "exam-ple"), hyphenation removal failed.
- Check chapter beginnings. If page numbers appear between sentences, header/footer stripping failed.
- Navigate the table of contents and confirm each entry jumps to the right place.
Reflowable or fixed-layout: the formatting trade-off
Some readers want the original layout kept exactly — two columns, specific fonts, precise image placement. Fixed-layout EPUB (FXL) can do that, but it defeats the reason to convert: you lose font-size and line-spacing control on the e-reader and end up with a pinch-to-zoom PDF substitute. For almost all reading, a clean reflowable EPUB is the better result; keep the fixed layout only when the layout is the content.
When conversion quality cannot be fixed
Some PDFs simply do not convert well: scanned documents without OCR, PDFs with complex mathematical notation, PDFs with tables as the primary content, or PDFs with decorative layouts that break all reflowing assumptions. For these, consider whether EPUB is the right output format at all — some content works better as a cleaned-up PDF. For documents that must be right — heavily formatted manuals, books with extensive footnotes, EPUBs that have to meet accessibility standards for publication — Premium Verification adds a human review of every heading, table and image.
Frequently asked questions
Why is my PDF to EPUB conversion quality bad?
Quality problems usually trace to the source PDF type (scan vs text), reading order confusion in multi-column layouts, and line-end hyphens preserved as literal characters. Start by verifying your PDF contains selectable text. Then use a converter that handles hyphen removal and header/footer stripping.
How do I improve PDF to EPUB conversion quality?
Use a good converter like toolkit.bot for the initial conversion, then post-process in Calibre (Convert books → Look & Feel + Structure Detection settings) or manually clean HTML in Sigil for critical documents.
Does the quality of the source PDF affect EPUB conversion?
Yes, dramatically. Text PDFs created from Word or LaTeX convert well. Scanned PDFs need OCR first. Multi-column academic PDFs with footnotes and sidebars are the hardest to convert cleanly.
Can Calibre improve the quality of a converted EPUB?
Yes. Calibre's conversion pipeline includes paragraph reconstruction, chapter detection, TOC generation, and Search & Replace patterns that can remove header/footer remnants. Run Convert books on the EPUB with structure detection settings tuned to your document.
Why does PDF to EPUB conversion lose formatting?
PDFs encode text as positioned glyphs on a fixed canvas with no notion of heading or paragraph. A converter has to reverse-engineer that structure from position, font size and spacing, and it can get it wrong. Simple single-column PDFs convert cleanly; multi-column journal articles, magazine layouts and scanned books lose the most.
Can I keep my headings and chapter structure?
Yes, when the source PDF has embedded bookmarks or consistent heading styles — toolkit.bot uses those signals to rebuild the EPUB table of contents. If the PDF has no bookmarks, headings may come through as large bold text without structural meaning; Calibre's Structure Detection or a Sigil edit can promote them to real headings and regenerate the TOC.
What happens to images when converting PDF to EPUB?
Inline images embedded in the PDF are extracted and placed in the EPUB at their original resolution. Full-page images from scans are treated as image pages. Decorative rules and background graphics are usually dropped.
Can I convert a PDF to EPUB and keep the original layout exactly?
Not as a reflowable EPUB — two-column spreads and pixel-exact placement cannot survive reflow by design. Fixed-layout EPUB preserves the layout but gives up font-size control on the e-reader. For reading, a clean reflowable EPUB is almost always the better choice.
Upload your PDF at toolkit.bot — free, no account needed. Download the EPUB and evaluate the quality before deciding whether post-processing is needed.