Skip to main content
Convert the PDF with POST /v1/convert and to: "md". Doconda returns Markdown with headings, paragraphs, lists and tables rebuilt from the page, and reads scanned pages with OCR. It uses no AI, and the first 1,000 conversions each month are free.

Convert a PDF to Markdown

  1. Store your API key in DOCONDA_API_KEY and install the SDK: pip install doconda or npm install @doconda/sdk.
  2. Call convert with the file and "md". The file can be a local path, a public URL, bytes, or a file_… or doc_… ID.
  3. Pass text to your model.
The response:
  • text: the Markdown. Repeated headers, footers and page numbers are left out.
  • pages: the pages of the PDF you sent.
  • output is null for text formats; it holds a download link only for file formats such as docx.

Time, limits and price

Past the free conversions with no balance, the call fails with 402 insufficient_balance. Conversions count toward the limit of 120 documents per minute.

FAQ

No. For text formats nothing is kept once you have the result. A file you send by URL, base64 or multipart is deleted after 15 minutes.
Word, PowerPoint, Excel (also .doc, .ppt and .xls), .odt, HTML, CSV and pictures (PNG, JPEG). PowerPoint gives one section per slide with its notes; Excel, one table per visible sheet.
Yes, with to: "docx". The result comes back in output.url, valid 5 minutes.
For every format pair and the four ways to pass a file, see Convert files.