{"uid":"cap_wq4wJdzWQ_33LuYIea-Wp","slug":"boring-api-convert-docx-to-markdown-9f746972","name":"boring-api · convert: DOCX to Markdown","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/docx-to-markdown","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"content_base64":{"type":"string"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mZcqEv5-kg1F6HE4pOUUs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a Microsoft Word DOCX file to Markdown text using Pandoc, accepting base64-encoded DOCX input and returning the Markdown output as JSON.","exampleAgentPrompt":"Can you convert this Word document to Markdown? Here's the DOCX file encoded in base64: [base64string].","exampleUseCases":[{"title":"Migrate legacy Word docs to GitHub","prompt":"I have a bunch of old Word documents in our knowledge base that need to become Markdown files for our GitHub wiki. Can you convert this DOCX to Markdown so I can push it to the repo? Here's the base64-encoded file: [base64string]."},{"title":"Automate content pipeline for static site","prompt":"We're moving our documentation site from Word files to a static site generator that needs Markdown. Can you convert our product manual DOCX to Markdown format? Base64 content is here: [base64string]."},{"title":"Extract clean text from formatted documents","prompt":"I need to take this Word document with a bunch of formatting and turn it into plain Markdown so I can process the content programmatically. Can you convert it for me? Here's the file encoded: [base64string]."}],"resultDescription":"A JSON object containing the Markdown representation of the input DOCX file, with formatting such as headings, lists, bold/italic, and links translated into Markdown syntax.","failureModes":["Invalid or corrupt base64 input returns an error","Non-DOCX file encoded in base64 may produce garbled output or error","Missing content_base64 field causes a validation error","Very large DOCX files may time out or be rejected","Complex DOCX formatting (e.g. tables, embedded images) may not convert perfectly"],"whenToPreferThis":"Use this endpoint when you need to programmatically convert Microsoft Word (.docx) files to Markdown, especially in automated pipelines for documentation sites, static site generators, or content migration workflows. Prefer this over manual conversion or local Pandoc installs when you need a hosted, pay-per-call API with no infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:39:15.808Z","isFirstParty":false}