Mathpix OCR API
Mathpix OCR recognizes printed and handwritten STEM document content, including math, text, tables, and chemistry diagrams, from images, stroke data, or PDF files.
The primary output format is Mathpix Markdown (MMD), a superset of Markdown with support for math equations, tables, chemistry diagrams, and other STEM content. The API also provides document conversion endpoints to transform MMD into other formats like DOCX, LaTeX, HTML, PDF, and PPTX.
Guides
- Authentication
- Process a PDF
- Process an Image
- Batch Image Processing
- Convert Markdown
- Process Stroke Data
Reference
| Endpoint | Description |
|---|---|
| Process Documents | Submit documents for OCR (async) |
| Process Images | Process a single image |
| Process Equations (deprecated) | Process a single equation image |
| Process Strokes | Process handwriting stroke coordinates |
| Batch Processing | Process multiple images in one request |
| Convert Markdown | Convert Mathpix Markdown to DOCX, LaTeX, HTML, etc. |
Concepts
Support
Questions or problems? Email support@mathpix.com.