Convert a Word document (DOCX) to EPUB

Chapters split on the document’s top heading level by default. Bold/italic, lists, tables, inline images, hyperlinks and footnotes are kept; the title and author come from the document properties unless given here.

post/docx-to-epub

Request

  • Base URL: https://epublys.com/v1
  • URL: https://epublys.com/v1/docx-to-epub
  • Auth: HTTP bearer

Request body

filestring required

Base64-encoded .docx

namestring

Original filename — used as the title fallback; the output is named after its stem

titlestring
authorstring
languagestring

dc:language of the generated EPUB (BCP 47)

chapterMode'headings' | 'page-breaks' | 'single'

Where chapters start

Response

Success — JSON envelope with the base64-encoded output file

successboolean
filestring

Base64-encoded output file

filenamestring
contentTypestring
messagestring
pro_tipstring

Present on free-tier responses only

Changes

No recorded changes to this operation across all 1 revision of this API.