Skip to content
Answer

How do I convert a two-column PDF to EPUB?

Updated:

Use a converter that detects the columns before it joins lines into paragraphs, so the left column is read top to bottom and then the right one, instead of reading each line straight across the page. EpubCC does this by splitting each page along the white gaps between columns before rebuilding the text.

Try 5 pages free

Fixed layout vs. reflowable text

Original PDF
A page of the original PDF: OLMo paper (arXiv 2402.00838)
EPUB
The same passage in the EPUB made by EpubCC
Real conversion from the case Two-column PDF to EPUB: an academic paper · OLMo paper (arXiv 2402.00838)

Why two columns go wrong

A naive converter reads a page line by line from left to right, so it glues the first line of the left column to the first line of the right column. The result is sentences that alternate between two unrelated texts: the most common failure on academic papers, journals and the Federal Register.

How EpubCC reads columns

  • Each page is cut recursively along the widest white gaps (an XY-cut): a vertical gap that crosses the whole region marks a column boundary.
  • A gap only counts as a column when each side has at least 2 lines, so a wide space inside one line, such as "2.1 Title", is not mistaken for a column.
  • Images are placed as part of the region they sit in, so they stay in reading order.
  • A paragraph that continues from the bottom of one column to the top of the next is joined again when the sentence carries on.

Check the result

Layouts that mix one and two columns on the same page, boxes and side notes are the hard part. The free sample shows your own pages side by side with the EPUB, and the benchmark includes two-column papers and a three-column Federal Register document measured for continuity.

Evidence from the benchmark

8-gram recall · Like 4-gram recall with 8 words: drops when reading order or line joins break sentences (continuity). Higher is better. Mean over the documents of the benchmark of November 3, 2026. Methodology and every result
Engine8-gram recall
EpubCC engine (EPUB output)0.767
EpubCC engine (plain text)0.765
pdf_oxide · extract_text0.726
pdf_oxide · to_plain_text (XY-cut)0.658
pdf_oxide · Markdown0.653
PDFium · text().all()0.746
OpenDataLoader PDF (local mode)0.749
pdftotext (Poppler)0.743
DocumentEpubCC engine (EPUB output)EpubCC engine (plain text)pdf_oxide · extract_textpdf_oxide · to_plain_text (XY-cut)pdf_oxide · MarkdownPDFium · text().all()OpenDataLoader PDF (local mode)pdftotext (Poppler)
OLMo paper (arXiv 2402.00838)0.8000.8000.8540.2730.7190.7610.8200.781
Mistral 7B paper (arXiv 2310.06825)0.7600.7580.7670.7780.8000.8720.8590.821
Federal Register document 2026-224430.8590.8530.3340.0350.3390.8590.8010.835

Fix mixed-up columns
Convert up to 5 pages free, no account needed.

Size and page limits per plan

Share LinkedIn X Reddit Email

FAQ

How do I convert a two-column PDF to EPUB?

Use a converter that detects the columns before it joins lines into paragraphs, so the left column is read top to bottom and then the right one, instead of reading each line straight across the page. EpubCC does this by splitting each page along the white gaps between columns before rebuilding the text.

Does it work with three columns?

The same column detection applies to three columns; the Federal Register case in our corpus is a three-column document.

What happens to figures that span both columns?

A figure or heading across the full width splits the page into regions above and below it, and each region is read in order.