PDF
DOCX
Markdown
conversion
document
OOXML
pdf.js
text extraction

PDF to DOCX & Markdown Converter

Converts the text layer of a PDF into a Markdown file and a DOCX file: column-aware reading order recovered by a band-first recursive XY-cut (full-width horizontal bands first, aligned table rows detected before any column split, then vertical gutters flanked by real text columns on both sides), font-size heading tiers plus all-caps section headings, paragraphs with end-of-line hyphens rejoined, bulleted and numbered lists, and best-effort tables. Detects and reports pages with no text layer, and flags pages whose text runs reach the right page boundary, instead of shipping silent clipping or empty output. Entirely client-side, zero network calls, pdf.js inlined workerless.

Tool URL: https://ainumbers.co/tools/643-pdf-to-docx-markdown-converter.html

post/v1/tools/convert_pdf_to_docx_markdown

Request

  • Base URL: https://ainumbers.co
  • URL: https://ainumbers.co/v1/tools/convert_pdf_to_docx_markdown
  • Auth: none declared

Request body

pdf_filestring binary required

Response

Successful tool execution result

markdownstring
docx_base64string
scanned_pagesinteger[]
input_sha256string
output_sha256_mdstring
output_sha256_docxstring
pdfjs_versionstring

Changes

No recorded changes to this operation across all 1 revision of this API.