PDFSwift › EPUB tools › EPUB to PDF
📄 EPUBFree · runs in your browserConvert EPUB to PDF With Your Browser’s Print Engine
Turn an EPUB into a paginated PDF using the layout engine that is already in your browser. The whole book is arranged chapter by chapter with images, tables and right-to-left text, and you save it through the print dialog.
Drop an EPUB here
or choose a file from your device
What this tool does
EPUB is reflowable and PDF is fixed. To convert one into the other, something has to decide where lines and pages break. Writing a pagination engine in JavaScript that handles every script, table and image well is a project of its own. This tool uses the engine browsers already ship, the same one that prints web pages, which handles Arabic and other complex scripts, hyphenation and tables properly.
The tool assembles the book into one clean document: a title page, then every chapter in reading order, each starting on a new page. Scripts, forms and remote loads are stripped, images are embedded, and the book’s stylesheets are kept after safety filtering. You then press Save as PDF and pick “Save as PDF” as the destination in your browser’s print dialog.
That means there is no one-click download of a PDF file, and the exact look depends slightly on your browser. In exchange there is no upload, no page limit imposed by a server, and consistent handling of right-to-left books. The output was inspected in Microsoft Edge’s print engine on an English and an Arabic sample book; chapter breaks, images, tables and right-to-left alignment came out correctly.
How to use this tool
- Choose your EPUB with the file picker or drag it onto the page.
- Pick the page size and the text size. A4 at 11 pt is a good default for reading on screen; use 12 or 14 pt for easier reading when printing.
- Press Prepare PDF. A preview of the whole book appears in a frame below.
- Press Save as PDF…. In the print dialog choose “Save as PDF” (or “Microsoft Print to PDF”) as the destination, set margins to Default and turn off headers and footers.
- Save the file. Open it and check a chapter start, a page with an image and, if relevant, a table.
Supported formats and limitations
- Input: EPUB 2 and EPUB 3 up to 100 MB.
- Output: PDF created by your browser’s print-to-PDF feature; text stays selectable and searchable.
- Handled: headings, paragraphs, lists, block quotations, tables, JPEG/PNG/GIF/WebP images, right-to-left languages, a new page for every chapter.
- Not reproduced: embedded fonts (system fonts are used), fixed-layout EPUB pages, audio, video, scripts, page numbers and a clickable table of contents.
- Large books: a very long book may take a while to prepare and print; split it first if your browser becomes unresponsive.
- Input: EPUB 2 and EPUB 3 files (
.epub), up to 100 MB. Anything else is rejected before processing. - Archive safety: files with unsafe paths (such as
../), duplicate entries, more than 8,000 entries or an expanded size above 500 MB are refused. - Not supported: DRM-protected books and books with encrypted or font-obfuscated resources (
META-INF/encryption.xml) can be opened for inspection but cannot be converted or merged. - Memory: the whole book is held in your browser’s memory. Very large illustrated books may fail on a phone; a desktop browser has far more headroom.
Privacy and safety
This tool runs entirely in your browser. When you choose a file it is read by JavaScript on this page; it is not uploaded to PDFSwift or to any other server, and the result is created on your device and handed to you as a download. Closing or reloading the tab discards the book from memory.
The page shows advertising supplied by a third party. Advertising scripts run separately from the tool and never receive your book. If you prefer, you can disconnect from the internet after the page has loaded and the tool will still work.
Frequently asked questions
How does EPUB to PDF work here?
The tool builds a print-ready HTML document of the whole book and asks your browser to print it to PDF. The print engine lays out the pages.
Why isn’t there a direct download button for the PDF?
Browsers do not let a page produce a PDF from HTML without going through the print dialog, apart from lower-quality image-based approaches. The print route keeps text selectable and handles complex scripts correctly.
Is my book uploaded?
No. The document is built and printed on your device.
Does it support Arabic and other right-to-left books?
Yes. Right-to-left books are detected from the book’s language and printed right to left with shaped Arabic letters. Fonts come from your system, so a system with an Arabic font gives the best result.
Will images and tables survive?
Yes. Images are embedded and scaled to the page width; tables keep their rows and borders.
Why does my PDF have extra headers and page URLs?
Those are your browser’s print options. Turn off “Headers and footers” in the print dialog.
What about fixed-layout or comic EPUBs?
They are not supported. Pages that are positioned images or absolute layouts lose that layout when flowed into a PDF.
Can I do this on a phone?
Many mobile browsers can print to PDF, but the controls vary and large books are heavy. A desktop browser is more reliable.