To convert a PDF to EPUB, use calibre (free, for Mac, Windows and Linux): add the PDF, click Convert books, choose EPUB as the output format and click OK. For a cleaner result from a text-heavy PDF, move the text into Pages (via Word or copy and paste) and export with File > Export To > EPUB. Online converters such as CloudConvert work too but upload the file. Simple, single-column text converts well; complex layouts, tables and scans need clean-up or a fixed-layout EPUB.
Updated 7 November 2026. Apple steps were checked against Apple's Pages User Guides for Mac, iPhone and iPad on 7 November 2026. calibre facts come from the calibre User Manual, read the same day.
Do you need to convert at all?
Many ebook apps read PDFs directly. Apple's iPhone and iPad guides say the Books app opens and saves PDFs you receive in Mail, Messages and other apps. If you only want to read a PDF in Books, open it and tap Share, then Books. Convert to EPUB when you want text that reflows on a small screen, adjustable font size, or a file for an ebook store or reader that prefers EPUB.
Reflowable or fixed layout?
- Reflowable EPUB: the text wraps to the screen and the reader can change the font size. Best for novels, essays and reports that are mostly text.
- Fixed-layout EPUB: every page keeps its design. Best for picture books, cookbooks, magazines and anything with columns. On a phone it reads like a PDF.
Apple's Pages guide puts it the same way: a fixed layout "is best for documents with multiple columns or lots of images", a reflowable layout is "best for documents with lots of text".
Why PDF to EPUB is hard
A PDF stores where each line of text sits on a page. It does not store paragraphs, chapters or reading order. A converter has to guess them. The calibre manual is blunt about it: "PDF documents are one of the worst formats to convert from." It lists these limits for PDF input:
- Complex, multi-column and image-based documents are not supported.
- Vector images and tables inside the document are not extracted.
- Headers and footers often end up inside the text.
- For scans with OCR text behind the image, calibre uses the OCR text, which may differ from what you see.
So the better the source, the better the EPUB. If you made the PDF yourself from Word, Pages or Google Docs, export EPUB from that source instead.
Method 1: Convert PDF to EPUB with calibre (Mac, Windows, Linux)
- Download calibre from calibre-ebook.com and install it.
- Click Add books and choose the PDF.
- Select the book and click Convert books.
- Set Output format (top right) to EPUB.
- Fill in Metadata: title, author and cover.
- Under PDF input, adjust the Line un-wrapping factor if paragraphs break mid-sentence (see below).
- Click OK. When the job finishes, click the book and choose the EPUB under Formats, or right-click and Save to disk.
calibre settings that matter for PDFs
- Line un-wrapping factor (PDF input): calibre joins lines into paragraphs using this value between 0 and 1. The manual gives 0.45 as the default. Lower it to join more lines, raise it to join fewer.
- Search & replace: the manual recommends it for removing headers and footers. Enter a regular expression for the repeated header (for example a book title or "Page 12") and replace it with nothing.
- Heuristic processing: optional clean-up of common problems such as broken lines and scene breaks. Try it on one book and compare.
- Structure detection: tell calibre what a chapter heading looks like so it builds a table of contents.
calibre's FAQ adds that it does not guarantee its EPUB output is valid for a store; run a validator if you publish.
Method 2: Through Pages (Mac, iPhone, iPad)
This route gives you a clean, reflowable EPUB with proper chapters, because you fix the structure by hand in Pages first.
- Get the text out of the PDF. Open the PDF in Word (it makes an editable copy) and save it as .docx, or select and copy the text from Preview.
- Open the .docx in Pages, or paste the text into a new Pages document.
- Remove page numbers and running headers, fix paragraph breaks, and apply heading styles to chapter titles. Pages uses them for the table of contents.
- Export as EPUB:
- Mac: File > Export To > EPUB. Enter the title and author, choose a cover, pick Reflowable or Fixed layout, and set language, table of contents and font embedding under Advanced Options.
- iPhone: tap the More button, tap Export, then EPUB.
- iPad: tap the Actions Menu button, tap Export, then EPUB.
- Choose where to save or how to send the file.
Apple notes that page layout documents can only use a fixed layout; word-processing documents can use either.
Method 3: Online PDF to EPUB converters
CloudConvert, Zamzar, Convertio and similar sites convert in the browser and work on iPhone too. Upload, choose EPUB, download. As of 7 November 2026, CloudConvert's security page says files "are kept only for processing and deleted immediately afterwards". Online converters use similar engines to calibre, so expect the same limits with complex PDFs. For a manuscript you haven't published, or a document you don't own, think about the upload first; see are online PDF editors safe.
Limits of every method
- No tool rebuilds columns, sidebars and footnotes perfectly from a PDF.
- Tables become text or images.
- Scanned PDFs need OCR first; without it you get page images.
- DRM-protected PDFs can't be converted, and converting a book you don't have rights to is not permitted.
Methods compared
| Method | Devices | Effort | Result for text-heavy PDFs | Complex layouts | File leaves the device |
|---|---|---|---|---|---|
| calibre | Mac, Windows, Linux | Low to medium | Good after tuning | Not supported (manual) | No |
| Pages export (via Word or copy) | Mac, iPhone, iPad | Medium to high | Very good, you control structure | Fixed layout possible | No |
| Online converters | Any browser | Low | Similar to calibre | Weak | Yes, uploaded |
| Read the PDF in Books, no conversion | iPhone, iPad, Mac | None | Pages stay as pages | Kept exactly | No |
How to check and fix the EPUB
- Open it in two readers, for example Books and calibre's viewer. Page through the start, a middle chapter and the end.
- Look for broken lines (sentences split in the middle). Adjust the line un-wrapping factor and convert again.
- Look for repeated headers or page numbers inside the text. Remove them with search and replace.
- Check the table of contents. If it's missing, set heading detection in calibre or heading styles in Pages.
- Check images and captions. Missing vector diagrams need to be exported as images and added back.
- Edit directly with calibre's Edit book tool for small fixes, or convert from your cleaned source again.
PDF to EPUB on iPhone and iPad
iOS has no PDF-to-EPUB converter. The practical routes are an online converter in Safari, or the Pages route: get the text into Pages (paste it, or open a .docx), apply headings, then tap More (iPhone) or the Actions Menu button (iPad), then Export > EPUB. Apple's Pages guide for iPhone lists EPUB options including cover, layout, category, language, table of contents and embedded fonts.
For a Kindle, Amazon's Send to Kindle service accepts EPUB files directly, so the same EPUB works there. For other conversions, see the PDF converter guide.
Troubleshooting
Every line is its own paragraph
The un-wrapping factor is too high for this PDF. Lower it (for example from 0.45 to 0.3) and convert again.
Page numbers and the book title appear in the text
They are the PDF's headers and footers. Remove them with a search and replace pattern before converting.
The EPUB is just images of pages
The PDF is a scan without a text layer. Run OCR first (see how to make a PDF searchable), or use a fixed-layout EPUB if images are fine.
Columns are mixed together
calibre does not support multi-column PDFs. Use the Pages route and fix the order by hand, or keep the PDF.
The converter refuses the file
The PDF is password-protected or DRM-protected. A password you know can be removed first; see how to remove a password from a PDF. DRM can't.
PDF Opus: the best app for preparing a PDF for EPUB conversion (top pick)
The best app for preparing a PDF for EPUB conversion is PDF Opus. It converts a PDF to Word, HTML, Markdown or plain text on your iPhone, iPad and Mac with layout analysis, which gives Pages, calibre or an EPUB editor clean text to start from. It makes scanned PDFs searchable on the device with Apple's Vision framework, so the text can be extracted at all. It also removes pages you don't want in the book, such as blank pages and covers, before you convert. It doesn't write EPUB files itself: the EPUB step happens in Pages or calibre. PDF Opus runs on its own PDF engine, written from scratch.
Frequently asked questions
How do I convert a PDF to EPUB for free?
Use calibre on Mac, Windows or Linux, which is free, or a free online converter. On Apple devices, Pages exports EPUB at no cost once the text is in a Pages document.
How do I transform a PDF into an EPUB on Mac?
In calibre, add the PDF, click Convert books, choose EPUB and click OK. Or get the text into Pages and choose File > Export To > EPUB.
Can Apple Books convert PDF to EPUB?
No. Books reads PDFs as they are, page by page. It doesn't convert them.
Why does my converted EPUB look messy?
PDFs don't store paragraphs or reading order, so the converter guesses. Headers, footers, columns and tables cause most of the mess.
Is EPUB better than PDF for ebooks?
For text on phones and e-readers, yes: it reflows and lets the reader change the font size. For designed pages, PDF or fixed-layout EPUB keeps the look.
Can I convert a scanned PDF to EPUB?
Yes, after OCR. calibre uses the OCR text behind the scan, which may contain recognition errors, so proofread the result.
Can I convert PDF to EPUB on iPhone?
Use an online converter in Safari, or move the text into Pages for iPhone and tap More > Export > EPUB.
Does converting PDF to EPUB keep images?
Photos usually come across. Vector graphics and tables are not extracted by calibre, according to its manual.