Snip Snipping Tool Chrome Extension OCR API Files API Private Cloud OCR Secure Conversion Service
Make Documents Accessible Process Chemical Documents Collaborate on Documents OCR API for Developers Train Language Models Support Academic Research Artificial Intelligence Fintech Edtech Pharma & Chemical Universities & Schools
Handwriting Recognition Digital Ink On-prem PDF Cloud Mathpix Markdown All Supported Languages Image Conversion PDF Conversion Markdown Conversion Table OCR Mathpix CLI PDF Search PDF Reader PDF Data Extraction Chrome Extension View Conversion Gallery
Snip APIs Private Cloud OCR SCS
Mobile Desktop Web Chrome Extension
Mathpix Snip Apps Mathpix OCR API Mathpix Markdown Python SDK
Blog
About Careers Contact
Contact Get Started

Getting Started

Install

curl -fsSL https://mathpix.com/mpx-cli/install.sh | sh
The script detects your OS and CPU, downloads the matching release, verifies its checksum, installs
mpx to ~/.local/bin, and puts it on your PATH. Override the location with MPX_INSTALL_DIR; pin
a version with MPX_VERSION.

Set your credentials

Get an app_id and app_key from console.mathpix.com, then:
mpx configure
This prompts for your credentials, endpoint and default output, and stores them under ~/.mpx. See
Configuration for profiles and environment variables.

Convert your first document

mpx scs convert paper.pdf paper.mmd
The output path’s extension picks the format, so ask for Word, LaTeX, or HTML the same way:
mpx scs convert paper.pdf paper.docx
mpx scs convert paper.pdf paper.tex.zip
A whole folder at once, with --map deciding which inputs become which formats:
mpx scs convert ./scans/ ./out/ --map pdf:docx,md:docx
That is the whole loop: install, configure, convert. The scs service page documents every
command and option.