ChatToWord.com

Convert API

Turn markdown into a Word document with one POST request. Built for scripts, backends, and AI agents. Free to use, no API key required.

Endpoint

POST https://chattoword.com/api/convert

Request body

FieldTypeDescription
markdownstring, requiredThe markdown to convert (e.g. a ChatGPT response). Max 2M characters.
filenamestring, optionalOutput filename without extension.

Example

curl -X POST https://chattoword.com/api/convert \
  -H "Content-Type: application/json" \
  -d '{"markdown": "# Report\n\n| Item | Value |\n|------|-------|\n| Revenue | $10,000 |", "filename": "report"}' \
  -o report.docx

Response

A binary .docx file with headings, tables, lists, links, and code blocks mapped to native Word styles. Invisible Unicode characters are cleaned automatically. Errors return JSON with an error field.

Fair use

The API is free for reasonable use. If you need guaranteed throughput, batch conversion, or custom Word templates for your product, contact us. A commercial tier is coming.