# Convert DOCM to EPUB

Files are processed on our server, and the results are kept for a few minutes so you can download them, then deleted — whether or not you did. Free, no account, no watermark.

Results are deleted 15 minutes after the job finishes.

## API

POST the file as the raw request body to https://toolsforfree.app/api/jobs?from=docm&to=epub, then

GET https://toolsforfree.app/api/jobs/{taskId}?engine={engine} until state is done,
then GET https://toolsforfree.app/api/jobs/{taskId}/output?engine={engine}&format={format}, with the taskId, engine and format the 202 answers.

Details: https://toolsforfree.app/api.md

MCP: call convert_file at https://toolsforfree.app/mcp with from "docm" and to "epub".

## Options

Sent as JSON in the x-tff-options header. Bounds and allowed values are in https://toolsforfree.app/openapi.json.

- `epub`: title, author, language, version, split

## Questions

### Does converting DOCM to EPUB lose quality?

Yes, the macros. The content comes across exactly, but EPUB cannot hold macros, so they are left out.

### Can I convert the EPUB back to DOCM?

Not here. We can read EPUB but no engine of ours writes DOCM, so this conversion only goes one way.

### What can I change about the EPUB it produces?

You can choose the title, the author, the language, the EPUB version, and where chapters start. Leave Title or Author empty and the book keeps the document's own. By default it is EPUB 3, with a new chapter at each heading.
