# boring-api · convert: DOCX to Text

> boring-api · convert: DOCX to Text is a paid API for AI agents from convert.boring-api.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Converts a base64-encoded DOCX file into plain text by extracting its textual content

## Facts

- Endpoint: POST https://convert.boring-api.com/docx-to-text
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/boring-api-convert-docx-to-text-0dbcc929
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_InoBEqucpxy-hRIEQECfl

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability boring-api-convert-docx-to-text-0dbcc929 -d '<json body>'
```

Example prompt: I have a Word document I need to read as plain text — here's the base64-encoded DOCX: [base64string]. Can you extract all the text from it?

## When to prefer this

Use this endpoint when you need to programmatically extract plain text from a Microsoft Word DOCX file, especially in automated pipelines where you already have the file as base64. Prefer this over OCR-based solutions when the document is a native Word file (not a scanned image). At $0.005 per call it is cost-effective for one-off or moderate-volume conversions.

## Known failure modes

- Invalid or corrupted base64 content returns an error
- Non-DOCX file encoded as base64 may fail to parse
- Missing content_base64 field returns a validation error
- Extremely large documents may time out
- Payment not included or insufficient USDC results in 402 response

## How this service works

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.

## Output

A JSON object containing the extracted plain text content from the DOCX file, with formatting stripped away, ready for further processing or display.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "content_base64": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/boring-api-convert-docx-to-text-0dbcc929/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from convert.boring-api.com](https://www.zero.xyz/host/convert.boring-api.com/llms.txt)
