ImagePDF.Tools

Convert a PDF into a Reflowable EPUB E-book

Processing securely on your device, no data sent to any server
PDF

or drop files here

Turn fixed pages into an e-book whose text resizes and rewraps on any reader. The PDF is analysed by pdf.js in this tab and the EPUB is assembled right next to it, so the document never takes a trip to anyone's server.

How it works

Fixed pages in, flowing book out.

Add the PDF

Drop in a PDF with real text, the kind you can highlight in a viewer. If the file is locked, type its password when asked and the conversion carries on.

Check the book details

Title and author are filled in from the PDF where possible. Choose a cover, keep or drop pictures, and limit the pages if you only want part of it.

Convert and save

The pages are read, untangled and packaged as an EPUB. The summary tells you how many chapters and pictures went in before you save it.

Use cases

When a page is the wrong shape.

A PDF page is drawn for paper of one size. On a phone or e-reader that means zooming and scrolling sideways, which an EPUB simply avoids.

Long reports on an e-reader

A 120-page annual report is a chore to pinch and zoom on a six-inch screen. As an EPUB it wraps to the device and you turn pages with one tap.

Two-column research papers

Journal articles printed in two columns are read down the left column and then the right, so the paper flows as one readable stream on a phone.

Bigger text, your font

Readers with low vision or dyslexia can set the size, spacing and typeface they need in their reading app, which a fixed PDF page never allows.

A first e-book draft

Authors with a print-ready PDF can get a quick EPUB to test on their own devices before committing to a full e-book production.

Manuals for offline reading

Product guides and handbooks turn into books you can keep in an e-reader library, searchable and readable without a signal.

One chapter for the commute

Use the page range to pull a single chapter of a textbook into its own small e-book, without the index, appendices and blank pages.

Rebuilding a book from loose lines

A typical PDF does not know it contains paragraphs. It stores instructions like "draw these characters at this spot in this font", and nothing says which line is a heading, where a column ends or that the number at the bottom is a page number. To make an e-book, that structure has to be worked out again from the geometry.

The converter gathers every line with its position, size and real font name (which reveals bold and italic), plus where each picture and drawn ruling line sits. The most common text size becomes the body. Anything repeated at the top or bottom of most pages is treated as page furniture and dropped. On pages with a clear gutter, the left column is read before the right. Consecutive lines with the same size, indent and spacing merge into paragraphs, and a word broken by a hyphen at a line end is put back together.

The rebuilt document is then handed to Pandoc, which writes an EPUB3 with a navigable table of contents, a new chapter at each top-level heading and your title, author and optional cover in the book metadata.

Where it struggles: magazines with sidebars and pull quotes, three-column newsletters, forms, slide decks saved as PDF, and pages where text wraps around pictures. Those reflow imperfectly. Reports, papers, manuals and plain books come out well.

On the PDF pageIn the EPUB
Running heads, footers, page numbersRemoved when they repeat across pages
Two text columnsRead left column first, then right
Words hyphenated at a line endJoined back into one word
Larger typeHeadings, up to three levels by size
Short bold line at body sizeA minor heading
Bullets and numbered itemsReal lists
Ruled or neatly aligned gridsTables
Lines in a monospaced fontCode blocks, spacing kept
Photos and figuresCut out of the page as JPEGs
Sideways margin textLeft out
Fonts and coloursReplaced by the reader’s settings
Common questions

Questions answered.

Will it work on a scanned PDF?
Not on its own. A scan is a stack of photos with no text inside, so there is nothing for the converter to reflow, and it tells you so. Run the file through OCR PDF first to add a text layer, then convert the OCR result here.
How are the chapters decided?
The converter works out the body text size, then treats larger sizes as headings, biggest first. The biggest headings start new chapters and feed the table of contents. A document set entirely in one size has no headings to split on and becomes a single long chapter.
Why did a pull quote turn into a heading?
Headings are recognised by size and weight, because a PDF does not record which lines are headings. A large quote, a drop cap or a big figure label can be mistaken for one. For a book you care about, open the EPUB in an editor such as Sigil or Calibre and fix the odd line; the hard part, the reading order, is already done.
What happens to pictures and charts?
Each picture is cut out of a render of its page with the text layer switched off, and saved as a JPEG in the book. Tiny icons and full-page backgrounds are skipped. Labels that were real text on top of a chart are not baked into the picture; they appear as ordinary text next to it. Switch off Include pictures for a text-only book.
Where do the title, author and cover come from?
The title and author are read from the PDF's document properties when it has them, otherwise the file name is used as the title. Edit both before converting. The cover is a picture of the first page in your chosen range, and e-reader libraries show it as the book's thumbnail.
What about footnotes and page references?
A PDF footnote is just small text at the foot of a page, so it comes through as a short paragraph at the point where that page ended. References like "see page 42" also stay as written, although an e-book has no fixed page 42.
Which e-readers can open the result?
The output is a standard EPUB3 file. Apple Books, Kobo devices, Google Play Books uploads, Calibre and most reading apps open it directly, and Kindle owners can add it through Amazon's Send to Kindle service.
Is the PDF uploaded to make the e-book?
No. pdf.js reads the pages in your browser and Pandoc, compiled to WebAssembly, writes the EPUB in a Web Worker beside it. The first conversion of a visit loads that converter (close to 60 MB) once; the document itself is never sent anywhere.