llm2doc

PDF to EPUB converter. Text that reflows.

Drop a PDF and get an e-book that fits any screen — whole paragraphs instead of broken lines, a chapter at each heading, and no page numbers in the middle of the text. Free, no signup.

Checked

— or drop a PDF here · up to 60 MB · read in your browser, EPUB pre-selected

How do I convert a PDF to EPUB?

Drop the PDF on the box above. A PDF is a set of fixed pages, so the job is not to copy the pages but to recover the text that was laid out on them: the PDF is read in your browser, lines are joined back into whole paragraphs, its headings are found by their size, and the running heads and page numbers are left out so they do not land in the middle of a sentence. You see the result in the editor and the preview, and fix anything before you download. Choose EPUB and the book is built with a chapter at each top-level heading, the first heading as its title, tables as tables and pictures in place. The EPUB reflows to the size of any screen and opens in Apple Books, Kobo and other e-readers, and Kindle takes it through Send to Kindle.

Drop the PDF

Up to 60 MB and 500 pages, read in your browser by pdf.js. Two-column pages are read one column after the other.

Check the book

The headings become the chapters, so make sure each chapter starts with one. A heading the reader missed is a # away in the editor.

Download the EPUB

The EPUB is made by our converter from the text — sent once, not kept. Send it to your e-reader or open it in Apple Books.

From fixed pages to a book that flows

In the PDFIn the EPUB
Lines broken at the page edgeJoined into paragraphs that reflow to any screen and font size.
HeadingsA new chapter at each top-level heading, and the book's table of contents from the headings; the first heading is the title.
Running heads, page numbersLeft out, so no page number interrupts a sentence on a phone screen.
Two columnsOne flow: the left column, then the right.
TablesReal tables, when the PDF's cells line up in columns.
PicturesCut out of the page and placed where they sat.
Words hyphenated at line endsJoined again when the PDF spells the word whole elsewhere; otherwise the hyphen stays.
Scanned pagesNot read — a scan has no text, and there is no text recognition here.
Fixed-layout pages (comics, magazines)Not what this is for: a page whose design is the content reads better as the PDF.

Common questions

Will the EPUB work on a Kindle?

Yes, through Send to Kindle: Amazon's Send to Kindle app, its web page, or e-mail to your Kindle address all take EPUB files and deliver them as Kindle books, with the text reflowing like any Kindle book. Apple Books, Kobo, Google Play Books and most other readers open the EPUB directly.

Why not just read the PDF on my e-reader?

Because a PDF keeps its page. On a six-inch screen an A4 or Letter page is either too small to read or has to be zoomed and panned line by line. An EPUB has no page: the text flows to the screen, the font size is yours to change, and the table of contents jumps between chapters.

Is my PDF uploaded?

The PDF is not: it is read in your browser and never reaches our server. Building the EPUB needs Pandoc, so the text the PDF was turned into — not the file — is sent once to our converter when you download, and nothing is kept after the book is returned.

What if the chapters come out wrong?

The chapters follow the headings the reader found — lines set larger than the text, or a short bold line before it. If a chapter title was set like body text, it is read as a paragraph: put # in front of it in the editor and it starts a chapter. Too many chapters means a minor heading came out as a top-level one; add a # to make it a section inside the chapter.

Does it keep the cover and the fonts?

The fonts, no: the EPUB is the text of the PDF, set by the e-reader in the font the reader chooses — that is what makes it reflow. A cover that is only a picture comes along as a picture at the start of the book; a cover with its title set over the picture comes through as the title, without the picture.