Invite-icon
Feed-icon-14x14
SIGN UP FOR THE NEWSLETTER
Manage
Second-nav-ro-2
Findabook
Second-nav-ro-2
Findagroup
Second-nav-ro-2
Uploadwork
Second-nav-ro-2
Jumpintoreader
Second-nav-ro-2
API: CONVERT TO EPUB
This tool accepts HTML documents and generates epub files from OEBPS 2.0 documents. Post a valid HTML file to this url to get an epub version as the response.


TITLE (optional)

AUTHOR (optional)


UPLOAD A FILE (REQUIRED)
 

API Details

Parameters
Input is accepted as multipart, UTF-8 encoded form data from a POST request to the URL of this page. Any other kind of request will return this form. The parameters are:

  • file (REQUIRED): The form-encoded data of an HTML or XHTML file. Currently HTML 4 and up has been tested. External resources such as images and stylesheets will be ignored, for now, though you should still be able to use the resulting epub file.
  • title (optional): The desired title for the epub file. If not provided, the converter will try to guess it from metadata in the HTML document.
  • author (optional): The author's name. This corresponds to the Dublin Core element called creator, with an OPS specification of role="aut" in the epub file. If it's not provided, the converter will try to guess it from metadata in the html document's head element.


Coming soon
Parameters for language, description, rights, and more; Support for zip files with external resources; Automatic conversion of Word docs.

Caveat
You may access this URL from anywhere on the Web, as long as you don't send excessively large files (over 1 MB) or make an excessive number of requests in a given time period (no more than one request every 5 seconds). Any IP address violating these limits will be permanently blacklisted from our server.