PDF to EPUB (URL)
Fetch a remote PDF and return a downloadable EPUB
GET
10 credits
/v1/convert/pdf-to-epub-url
curl -OJ "https://convert.toolkitapi.io/v1/convert/pdf-to-epub-url?url=https://toolkitapi.io/file.pdf&title=example&author=example"
import httpx
resp = httpx.get(
"https://convert.toolkitapi.io/v1/convert/pdf-to-epub-url?url=https://toolkitapi.io/file.pdf&title=example&author=example",
)
print(resp.json())
const resp = await fetch("https://convert.toolkitapi.io/v1/convert/pdf-to-epub-url?url=https://toolkitapi.io/file.pdf&title=example&author=example", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response
200 OK
Binary EPUB stream
Content-Type: application/epub+zip
Content-Disposition: attachment; filename="output.epub"
Content-Length: 128473
Description
Fetch a remote PDF and return a downloadable EPUB
How to Use
1
1. Pass the source PDF URL as the `url` query parameter.
2
2. Optionally customize with the parameters listed below.
3
3. The server fetches, converts, and streams the EPUB 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 PDF document from a public URL and stream the converted EPUB 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 EPUB built from a remote PDF
- Server-side pipelines — Pipe remote PDFs straight into a conversion worker
- Automation — Convert PDFs in cron jobs without local storage
- Sharing — Produce shareable EPUB copies of PDF 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.
Start using PDF to EPUB (URL) now
Get your free API key and make your first request in under a minute.