🧩

EPUB to PDF (URL)

Fetch a remote EPUB and return a downloadable PDF

GET 1 credit /v1/convert/epub-to-pdf-url
curl -OJ "https://convert.toolkitapi.io/v1/convert/epub-to-pdf-url?url=https://toolkitapi.io/file.epub"
import httpx

resp = httpx.get(
    "https://convert.toolkitapi.io/v1/convert/epub-to-pdf-url?url=https://toolkitapi.io/file.epub",
)
print(resp.json())
const resp = await fetch("https://convert.toolkitapi.io/v1/convert/epub-to-pdf-url?url=https://toolkitapi.io/file.epub", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
Binary PDF stream
Content-Type: application/pdf
Content-Disposition: attachment; filename="output.pdf"
Content-Length: 128473

Description

Fetch a remote EPUB and return a downloadable PDF

How to Use

1

1. Pass the source EPUB URL as the `url` query parameter.

2

2. Optionally customize with the parameters listed below.

3

3. The server fetches, converts, and streams the PDF as an attachment.

4

4. Use `curl -OJ` or a browser to trigger a download with the server-supplied filename.

About This Tool

Fetch a EPUB ebook from a public URL and stream the converted PDF file directly back. No Base64 juggling — perfect for `curl -O` or a browser `` link.

Why Use This Tool

  • One-step downloads — Let users click to download a PDF built from a remote EPUB
  • Server-side pipelines — Pipe remote EPUBs straight into a conversion worker
  • Automation — Convert EPUBs in cron jobs without local storage
  • Sharing — Produce shareable PDF copies of EPUB sources

Frequently Asked Questions

How big can the source file be?
Typical upper bound is 50 MB for the GET endpoint. Larger files may queue as async jobs via the POST variant.
Is the source URL cached?
No — the file is fetched fresh on every call. Add your own CDN in front if you need caching.
Can I supply authentication for the source?
Public URLs only. Private sources should be pre-fetched and sent via the POST endpoint as Base64.