Agents and retrieval pipelines want Markdown, not binary office files. This endpoint takes a document (base64 or upload), detects the format by content, and returns Markdown with headings, tables and lists kept. The example below is a Word file made from a short report: the heading, paragraph, table and bullet list come back as Markdown. Request curl (an x402 client pays the 402; shown without the payment header) curl -s -X POST https://tanod.dev/v1/docs/to-markdown ...