Skip to Content
EndpointsDocument Parsing

Document Parsing

Upload documents and get back clean, structured markdown text.

LlamaParse

FieldValue
ProviderLlamaCloud
CapabilityDocument-to-markdown

Intelligent document parsing that understands tables, headers, formatting, and complex layouts. Converts PDFs, Word docs, and PowerPoint files into clean markdown.

Supported File Types

  • PDF (.pdf)
  • Microsoft Word (.docx)
  • Microsoft PowerPoint (.pptx)

Parameters

ParameterTypeRequiredDescription
promptstringNoOptional parsing instructions
fileBase64stringYesBase64-encoded file content (max ~7.5 MB)
fileNamestringYesOriginal filename with extension

Example Request (Agent / API)

{ "prompt": "Parse this document preserving table formatting", "fileBase64": "JVBERi0xLjQ...", "fileName": "quarterly-report.pdf" }

For Humans

On the web UI at /use/{slug}:

  1. Click the file upload area
  2. Select your PDF, Word, or PowerPoint file
  3. Optionally add parsing instructions in the prompt field
  4. Click Pay & Generate
  5. Download the resulting markdown file

Output

Returns a URL to a markdown file containing the parsed document content, preserving:

  • Headings and subheadings
  • Tables and lists
  • Bold, italic, and other formatting
  • Image references (where applicable)

Maximum file size is approximately 7.5 MB after Base64 encoding. For larger documents, split them into smaller sections.

Last updated on