Ebook Converter
Published Updated
Convert a PDF to EPUB or an EPUB to PDF, with the direction picked from the file you add.
The two directions side by side
| Aspect | PDF to EPUB | EPUB to PDF |
|---|---|---|
| You get | A downloaded .epub file | A print dialog, then a PDF you save |
| What is read | Text of every page | Cover, title, author, chapters in reading order |
| Images | Dropped | Kept when they are img tags or SVG-wrapped images found inside the book |
| Styling | Headings, bulleted lists and numbered lists are guessed from text size, bullet marks and runs of lines numbered 1, 2, 3. Everything else is paragraphs | Fixed serif stylesheet. The book's linked stylesheet files are not used |
| Metadata | Title from the file name, author GoConvertFiles | Taken from the book's package file |
| Chapters | One per PDF page | One page break per file in the spine |
When you need more control
This is the quick version of two other tools. PDF to EPUB lets you edit the title and author, and EPUB to PDF lists the chapters it found before you print. The conversion itself is the same.
EPUB is the current open standard for reflowable books, maintained as EPUB 3.3 by the W3C. This page writes the older EPUB 2.0 layout when it turns a PDF into an EPUB. A PDF is a fixed page, so turning it into reflowable text loses layout, and turning an EPUB into a PDF freezes it at one page size.
The PDF side, measured on a generated six-page PDF
We built a six-page PDF with pdf-lib 1.17.1: a 26-point title and two paragraphs, an 18-point heading with a paragraph and four bullet lines, three numbered lines and a paragraph, a small table, two columns of 12 lines each, and a page with only a picture. The text is random words. We read it with pdf.js 5.4.624 and ran this page's own page-structure code and EPUB writer (lib/pdfTextExtractor.ts and lib/epubBuilder.ts) in Node 22.23.1, then opened the EPUB's chapter files. EPUB to PDF is covered, with page counts, on the page for that direction.
| PDF page | What the EPUB chapter held |
|---|---|
| 1: 26-point title and two paragraphs | One heading and two paragraphs. |
| 2: 18-point heading, paragraph, four bullet lines | One heading, one paragraph and a bulleted list of four items, without the bullet symbols. |
| 3: three numbered lines and a paragraph | A numbered list of three items, without the typed numbers, followed by one paragraph. Numbered lines are only turned into a list when at least two in a row count up by one; a single line such as 5. in running text, or numbers that jump, stayed in a paragraph in our checks. A paragraph that follows the last item with no gap on the page is read as part of that item. |
| 4: a table of four rows and three columns | One paragraph: Item Count Price Rope 12 4.50 and so on, with the cells run together. |
| 5: two columns of 12 lines each | One paragraph. The lines read left 1, right 1, left 2, right 2 and so on across both columns. |
| 6: only a picture | A chapter with one empty paragraph and no image. |
The book had six chapters, one per PDF page, with the title taken from the file name and the author set to GoConvertFiles. The EPUB was 4,349 bytes and the PDF 5,016. The PDF held 420 words by pdf.js's count and the EPUB 413, and the 7 missing items are the 4 bullet symbols and the 3 list numbers that became list items, so no text was lost in this test. Tables and two-column pages are not handled: the table became one paragraph and the two columns were interleaved, as the table shows. A scanned book would give chapters like the last one.
Converting between PDF and EPUB
Step 1
Add a PDF or an EPUB
The direction is chosen from the file: a PDF becomes an EPUB, an EPUB becomes a PDF.
Step 2
Press Convert Ebook
A PDF is turned into an EPUB for download. An EPUB opens your browser's print dialog.
Step 3
Download or save as PDF
Download the .epub, or choose Save as PDF as the destination in the print window.
Pick another route when
Neither direction is lossless. Consider other tools if:
- The PDF is a scan. Without a text layer, the EPUB will be empty.
- The PDF is locked. Open it with Unlock PDF first.
- You only need the text. PDF to Text is simpler.
Ebook Converter FAQ
Can I set the title and author when converting a PDF to EPUB?
Not on this page. The title is the PDF's file name and the author is always GoConvertFiles. PDF to EPUB has both boxes, so use that page when the book's metadata matters.
Does it make MOBI, AZW3 or KFX files for Kindle?
No. It converts between PDF and EPUB only. Other e-book formats and comic archives such as CBZ are not read, and neither are books protected by DRM.
Why does converting an EPUB open a print window?
The PDF is produced by your browser's print engine. The book is laid out on one HTML page and printed, so you pick Save as PDF as the destination, and the paper size and margins come from that dialog.
How does it decide the direction?
By the file extension or type: .pdf or application/pdf goes to EPUB, and .epub or application/epub+zip goes to PDF. Any other file shows a message asking for a PDF or EPUB.
Which way keeps images?
EPUB to PDF includes images that are linked from the chapters with an img tag or placed inside an SVG wrapper and found in the book. PDF to EPUB includes no images at all, only extracted text.
Why is the EPUB I made one chapter per page?
Each PDF page becomes one chapter titled Page 1, Page 2 and so on. The converter does not detect real chapters; headings in the text are only guessed from their size.
Will a table or a two-column page keep its order?
Not in our test. A four-row table came out as one paragraph with the cells run together, and a two-column page was read across both columns, line by line. Fix such pages in an editor after converting.
What does a scanned page become?
A chapter with an empty paragraph, because the tool reads the text layer and drops pictures.