---
title: "Read a Word .docx file (file_base64) into plain text, Markdown (headings, lists, bold/italic) and tables"
method: POST
path: "/api/docx-read"
tags: ["Data"]
---

# Read a Word .docx file (file_base64) into plain text, Markdown (headings, lists, bold/italic) and tables

`POST /api/docx-read`

## Request

- Base URL: `https://toolsthatdontupload.com`
- URL: `https://toolsthatdontupload.com/api/docx-read`
- Auth: one of:
  - none
  - API key in header `X-API-Key`

## Request body

- object
  - `file_base64` string, required: The .docx file, base64-encoded (max 10 MB). Legacy .doc is not supported.
  - `blocks` boolean: Also return the ordered list of blocks (headings, paragraphs, list items, tables)

## Response `200`

Success (JSON)

## Other responses

- `400`: Invalid input (problem+json)
- `429`: Anonymous daily limit reached (file tier: 20/day per IP)

---

[API](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api.md) · [All operations](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/revisions/fc4cea318919?raw)
