{"uid":"cap_BJt-nNsuVV0J1I5WbB_t6","slug":"boring-api-convert-markdown-to-docx-532a6795","name":"boring-api · convert: Markdown to DOCX","description":"Document and data format conversions via Pandoc, Chromium-headless, and pure-JS libs. Text inputs/outputs are JSON-fielded; binary inputs/outputs use base64 in JSON for uniformity.","url":"https://convert.boring-api.com/markdown-to-docx","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"content":{"type":"string"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8vfA_TCwofkl9PZLX8wrz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts Markdown text content into a DOCX (Word) document, returned as base64-encoded binary in JSON","exampleAgentPrompt":"Convert this markdown into a Word document for me: '# Project Report\n\n## Summary\nThis quarter we exceeded targets by 12%...' — I need the DOCX file so I can share it with my team.","exampleUseCases":[{"title":"Generate client proposal documents from templates","prompt":"I've got a markdown proposal template with our standard sections. Can you convert it to a Word document so I can fill in the client details and send it over for review?"},{"title":"Export meeting notes as shareable Word files","prompt":"Our team takes notes in markdown during meetings. I need you to convert today's notes into a DOCX file so everyone can download it and add their own comments."},{"title":"Create polished reports from markdown source","prompt":"I have a technical analysis written in markdown with charts and tables. Can you turn it into a professional Word document that I can format and send to stakeholders?"}],"resultDescription":"A JSON object containing the converted DOCX file encoded as a base64 string, suitable for decoding into a .docx binary file compatible with Microsoft Word and other office suites.","failureModes":["Invalid or malformed markdown may produce garbled DOCX output","Missing 'content' field returns an error response","Extremely large markdown documents may time out or fail","Unsupported markdown extensions or syntax may not render correctly","Payment failure (HTTP 402) if x402 payment header is not provided or insufficient"],"whenToPreferThis":"Choose this endpoint when you need a programmatic, server-side Markdown-to-DOCX conversion without setting up Pandoc locally. Ideal for AI agents generating reports or documents in markdown that need to be delivered as Word-compatible files. Prefer over client-side JS conversion when fidelity and Pandoc-quality output matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T23:44:32.910Z","isFirstParty":false}