Universal Ebook Convert
Convert between MOBI, AZW, AZW3, FB2, CBR, CBZ, EPUB and PDF
GET,POST
1 credit
/convert/ebook
curl -X POST "https://convert.toolkitapi.io/convert/ebook" \
-H "Content-Type: application/json" \
-d '{"from_format":"mobi","to_format":"epub","url":"https://toolkitapi.io/book.mobi"}'
import httpx
resp = httpx.post(
"https://convert.toolkitapi.io/convert/ebook",
json={"from_format":"mobi","to_format":"epub","url":"https://toolkitapi.io/book.mobi"},
)
print(resp.json())
const resp = await fetch("https://convert.toolkitapi.io/convert/ebook", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({"from_format":"mobi","to_format":"epub","url":"https://toolkitapi.io/book.mobi"}),
});
const data = await resp.json();
console.log(data);
# See curl example
Response
200 OK
{
"success": true,
"from_format": "mobi",
"to_format": "epub",
"result": "<base64-epub>",
"file_type": "application/epub+zip",
"file_size_bytes": 521344,
"metadata": {}
}
Description
Convert between MOBI, AZW, AZW3, FB2, CBR, CBZ, EPUB and PDF
How to Use
1
1. Pick `from_format` from `mobi`, `azw`, `azw3`, `fb2`, `cbr`, `cbz`.
2
2. Pick `to_format` — `epub` (default) or `pdf`.
3
3. Send the source via `url` (remote) or `file` (base64).
4
4. Read `result` for the Base64 output or use the `file_url` when storage is enabled.
About This Tool
A generic ebook conversion endpoint supporting MOBI, AZW, AZW3, FB2, CBR, CBZ as sources and EPUB or PDF as targets. Uses Calibre's conversion engine under the hood.
Why Use This Tool
- Kindle library migration — Convert AZW/MOBI purchases to open EPUBs
- Comic reading apps — Render CBZ/CBR archives as PDF or EPUB
- Cross-device syncing — Normalize a mixed library into EPUB
- Print production — Turn MOBI/AZW3 into paginated PDFs for printing
Frequently Asked Questions
Does it handle DRM?
No — only DRM-free ebooks are accepted. DRM-protected files will fail conversion.
Are comic archive covers preserved?
Yes — CBR/CBZ cover images are used as the EPUB/PDF cover.
How long does MOBI → EPUB take?
Typical books complete in seconds. Large illustrated ebooks may queue as async jobs.
Start using Universal Ebook Convert now
Get your free API key and make your first request in under a minute.