Basic Usage
Conversion Options
UseConvertOptions to control the conversion:
All Options
Processing Modes
Output Formats
Conversion Result
TheConversionResult object contains the converted content and metadata:
Result Fields
Saving Output
Save the conversion result to files:document.md(or.html,.jsonbased on format)document_images/directory with extracted images (ifsave_images=True)
Async Usage
For high-throughput applications:Polling Configuration
Control polling behavior for long-running conversions:Special Features
Track Changes (Word Documents)
Extract tracked changes and comments from DOCX files:Chart Understanding
Extract data from charts and graphs:Block IDs for Citations
Add block IDs for tracking content back to source locations:Structured Extraction
For structured data extraction, use the dedicatedclient.extract() method.
Next Steps
Structured Extraction Recipe
Extract structured data from documents using JSON schemas.
Batch Processing
Process multiple documents efficiently in parallel.
Form Filling SDK
Programmatically fill PDF and image forms with field data.
CLI Reference
Convert documents from the command line.