Open-source desktop snipping tool that captures screen regions and converts math formulas, tables, text into LaTeX, Markdown, or plain text — powered by PaddleOCR on Baidu AIStudio.
- Download
OpenMathpix-win-portable.zipfrom Releases. - Extract the zip file.
- Run
OpenMathpix.exefrom the extracted folder.
git clone git@github.com:JhuoW/OpenMathpix.git
cd OpenMathpix
npm install
npm run dev
npm run package - Go to https://aistudio.baidu.com/paddleocr and log in (or create a free Baidu AIStudio account).
- Click "API" button to access the model list. Then select a model (e.g. PaddleOCR-VL) to reveal the example code and your unique API URL and Access Token.
- API URL — your unique endpoint, e.g.
https://xxxxxx.aistudio-app.com/layout-parsing - Access Token — your authentication token (also at https://aistudio.baidu.com/index/accessToken)
Note: Each model gets its own API URL (different subdomain). If you switch models, copy the new URL too.
- Launch OpenMathpix.
- Click Settings in the toolbar.
- Under API Configuration:
- Paste your API URL.
- Paste your Access Token.
- Select a Pipeline that matches the model you chose on AIStudio.
- Click Test Connection to verify.
You can click Snip button in the toolbar and then click New Snip button to dim the screen.
You can click and drag to select a region. Release to capture.
After recognition, results appear in four tabs:
| Tab | Description |
|---|---|
| LaTeX | Extracted math rendered via KaTeX, with copyable raw source. |
| Markdown | Structured output (headings, tables, inline math). |
| Text | Plain text with all formatting stripped. |
| Image | The original captured screenshot. |
Click Copy to copy the active tab. The default format is auto-copied after each recognition.
| Pipeline | Best for | Output |
|---|---|---|
| PP-OCRv5 | General text (CJK + English) | Text only |
| PP-StructureV3 | Math, tables, charts, mixed layout | Markdown + LaTeX |
| PaddleOCR-VL | Vision-language document parsing | Markdown + LaTeX |
| PaddleOCR-VL-1.5 | Higher accuracy, seal & irregular text | Markdown + LaTeX |
Each pipeline has its own API URL on AIStudio. When switching pipelines, update the URL in Settings to match.
| Setting | Default | Description |
|---|---|---|
| API URL | — | Your PaddleOCR AIStudio endpoint. |
| Access Token | — | Stored encrypted on disk via safeStorage. |
| Pipeline | PP-StructureV3 | Which OCR pipeline to use. |
| Snip Hotkey | Ctrl+Shift+S |
Global shortcut for screen capture. |
| Default Output | LaTeX | Format auto-copied after recognition. |
| Theme | System | Light / Dark / System. |
| History Limit | 100 | Max saved recognitions (10–500). |
Self-hosted: Set the API URL to your local server (e.g. http://localhost:8080) and leave the token empty.
Click History in the toolbar to browse past recognitions. Each entry shows a thumbnail, timestamp, and preview. Use the search bar to filter, or click an entry to re-open its result.
Closing the window minimizes to tray. Right-click the tray icon for:
- Snip — start capture
- Open Window — show main window
- Settings — open settings
- Quit — exit
| Shortcut | Action |
|---|---|
Ctrl+Shift+S |
Screen snip (global) |
Ctrl+V |
Paste image for recognition |
Escape |
Cancel snip |
MIT






