eBook, EPUB & XML

PDF to EPUB conversion: a practical guide for publishers

Many backlist titles exist only as print PDFs. Converting them to EPUB is possible and worthwhile, but it is a rebuild of structure, not a change of file extension.

Key takeaways

  • A PDF records where things sit on the page; an EPUB needs to know what each thing is.
  • Automatic converters are fine for simple prose but struggle with textbooks, tables and math.
  • Assess source quality first: native PDFs, open files and scans need different approaches.
  • Plan accessibility, alt text and page lists into the conversion, not after it.

Why PDF to EPUB is not a simple conversion

A print PDF is designed to reproduce pages exactly. It stores text as positioned glyphs, often split into fragments, with no reliable record of which line is a heading, which box is a sidebar or which order the content should be read in. Hyphenation, running heads, folios and line breaks are baked in.

An EPUB 3 is a small website. It needs semantic HTML: headings, paragraphs, lists, figures, tables, notes and asides, in reading order, with styles separate from content. Converting from PDF to EPUB therefore means recovering structure that the PDF never stored.

Assess the source files

Before quoting or scheduling, look at what exists for each title:

Source types and conversion approaches
SourceTypical conditionApproach
Open InDesign or XML filesStyles and text flow availableConvert from source, map styles to HTML
Native (text) PDFText extractable, structure lostExtract, rebuild structure, check reading order
Scanned PDF or print copyImages of pages onlyOCR, careful proofreading, then structuring
Mixed backlistVaries by titleTriage and group titles by approach

Scans need the most work, because OCR errors must be corrected before anything else. Older native PDFs can also have problems, such as fonts without Unicode mapping, which turn extracted text into nonsense. Before converting, decide which outputs you actually need; see cross-platform publishing formats: what to produce and why.

The conversion workflow

1. Extract and clean text

Extract text in reading order, remove running heads, folios and soft hyphens, rejoin words split across lines and correct OCR or encoding errors.

2. Rebuild structure

Identify chapters, headings, lists, block quotes, boxed features, notes and captions, and mark them semantically. This is where editorial knowledge of the book type matters: a teacher's note, a worked example and an activity each need a consistent element.

3. Handle images

Extract or re-source images at a suitable resolution for screens. Crop out text that was part of the page, recreate labels as live text where possible and write alt text for informative images.

4. Rebuild tables

Tables in PDFs are often just positioned text. Rebuild them as real HTML tables with header cells. Very wide tables may need a different layout for small screens.

5. Convert math

Equations set as images or special fonts should become MathML where the reading systems your buyers use support it, with alternative text as a fallback. Our STEM typesetting guide covers math structure in more detail.

6. Navigation and page list

Build the table of contents and landmarks, and add a page list with page-break markers so print page references still work, which is important for course adoption.

7. Metadata and accessibility

Add publication metadata and accessibility metadata that describes what the conversion actually achieved.

Fixed layout or reflowable?

Some titles, such as picture books or heavily designed workbooks, may seem to need fixed layout. Fixed-layout EPUBs keep the page design but are harder to make accessible and do not adapt to small screens. For most textbooks and academic titles, reflowable EPUB is the better long-term choice. Where fixed layout is chosen, it still needs correct reading order, alt text and structure.

Quality assurance

  1. Run EPUBCheck and fix all errors.
  2. Run Ace by DAISY and review the report, as described in our EPUB accessibility guide.
  3. Proofread against the print edition, focusing on OCR-prone areas: numbers, symbols, names and references.
  4. Check every image, table and equation renders on at least two reading systems.
  5. Check links, notes and the page list.

Converting a backlist

For a large backlist, a short pilot saves effort. Convert a few representative titles, agree the quality standard and element mapping, then group remaining titles by source type and complexity. Keep a conversion specification so every title is handled the same way, and record decisions such as how to treat obsolete content or broken references.

Store the converted HTML or XML as the new master. Future corrections and editions can then start from structured files, rather than from the old PDF again.

Common pitfalls

  • Treating running heads or folios as content.
  • Leaving hyphenated words broken across lines.
  • Images of tables or text left in place of real content.
  • Missing alt text or generic descriptions.
  • Accessibility metadata copied from a template rather than describing the book.

How M.S. Corporations helps

Our conversion services team converts PDFs, InDesign files and scans into EPUB 3, HTML and XML, with structure, alt text, MathML and accessibility checks where included in scope. Scope and schedule are confirmed before work begins. Request a sample review or discuss your project.

Frequently asked questions

Can I convert a PDF to EPUB automatically?

Simple, single-column prose can be converted with automatic tools and then corrected. Textbooks, journals and illustrated titles usually need a structured conversion workflow, because the PDF does not record headings, reading order, tables or features in a form an EPUB can use.

Is it better to convert from InDesign files than from PDF?

Usually yes. Open InDesign or XML files keep styles and text in their logical order, which makes conversion more accurate. If only the PDF survives, conversion is still possible but needs more structuring and checking.

Experience our publishing production quality firsthand

Share your project requirements or sample files with our team. We will review the scope and discuss suitable production, quality assurance and delivery options. We confirm the scope and turnaround before work begins. NDA on request.