Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

LaTeXSnipper ✨

Turn screenshots, images, PDFs, and handwriting into editable formulas and text.

GitHub Release Stars Platform License

Download · User Manual (Chinese) · FAQ · Demos

English · 简体中文

LaTeXSnipper v3.0.0: recognition history, formula editor, and live preview

What You Can Do

FeatureWhat it offers
📸 RecognizeCapture a region, open an image, select PDF pages, or write by hand; recognize formulas, text, and mixed content
⌨️ Edit and computeEdit with MathLive and live preview; simplify, evaluate, and solve in the math workspace
🔄 ExportCopy formulas or export documents in 20 formats, including LaTeX, MathML, Word, PDF, and Typst
🧩 IntegrateWork in Word/PowerPoint or connect scripts and other tools through the Automation API
🔐 Choose your modelRun MathCraft OCR locally after downloading dependencies and weights, or configure a local/online external model
🌐 Make it yoursEnglish/Chinese interface, light/dark themes, configurable shortcuts, history, and favorites

MathCraft OCR: benchmark results · reproduce the benchmarks

Download and Get Started

  1. Install the desktop app. Choose the package for your system from Releases.
  2. Prepare recognition. On first launch, use Dependency Management to install the required layers and a CPU or GPU backend for MathCraft OCR. Initial model setup requires downloading weights. If using only an external model, configure and test its connection in Settings instead.
  3. Recognize and edit. Use Capture Recognize, Image, PDF, or Handwriting, then review, copy, or export the result.
PlatformDownloadBefore using recognition
WindowsLaTeXSnipperSetup-<version>.exePython runtime included; no separate system Python installation needed
Linux (Debian/Ubuntu).deb for your architecturePython >=3.10,<3.14 with venv/pip; Wayland may restrict screenshots and global shortcuts
macOS.dmg or .app.zip for your architecturePython >=3.10,<3.14 with venv/pip; grant Screen Recording permission for screenshots

Linux/macOS use system Python to create the managed dependency environment; Windows uses its bundled Python 3.11 template. The .deb declares python3 and python3-venv dependencies. On macOS, install a supported Python version if one is not available.

For permissions, model downloads, environment paths, and troubleshooting, see the FAQ, user data locations, and full user manual (Chinese).

Demos

Screenshot Recognition

Screenshot recognition demo

Image Recognition

Image recognition demo

PDF Recognition

PDF recognition demo

Microsoft Office Plugin

Insert and edit formulas directly in Windows desktop Word and PowerPoint:

  • Word OLE/OMML and PowerPoint OLE/PNG insertion, with editable LaTeX source.
  • Formula editing, updates, and Word automatic numbering and references.
  • Local formula rendering and screenshot OCR through the desktop Automation API.

Download OfficePluginSetup-<version>.exe separately from Releases. Supports 32-bit and 64-bit Office 2019/2021/2024, LTSC 2021/2024, and Microsoft 365 Apps on Windows.

Installation requirements and features · Formula workflows

Automation API

Use MathCraft or your configured external model from scripts, batch jobs, editor integrations, or authorized remote devices.

  • Desktop shortcuts: connect Snipaste, AutoHotkey, AutoKey, Hammerspoon, or ShareX to an image-recognition workflow.
  • Batch and editor workflows: submit images with Python/curl and insert results into your tools.
  • Mobile access: connect Shortcuts or Tasker to your running desktop app through a secure tunnel.

The API is disabled by default. Local clients use the address and token in automation-api.json. Remote access requires explicit opt-in, a separate key, and HTTPS or an encrypted tunnel; do not expose it over plain public HTTP. Remote external-model access is separately controlled and may incur provider charges.

API reference and connection setup · Ready-to-adapt client examples

Export

Built-in exports cover LaTeX, Markdown math, MathML, HTML, Word OMML, and SVG code. Install the optional Pandoc layer in Dependency Management for document exports such as Word, PowerPoint, EPUB, PDF, and Typst. PDF export also requires a LaTeX PDF engine.

See the user manual for the full format list and requirements.

Supporters

Thanks to everyone who helps with development, testing, documentation, and community support.

SupporterContribution
strangelionContributor
Galileo927Contributor
ljygoSponsor
Yokie-DSponsor

Support the Project

LaTeXSnipper is a free, open-source, ad-free personal project with no in-app purchases. If it helps your work, consider starring the repository, sharing it, reporting an issue, or sponsoring maintenance.

AlipayWeChat PayCommunity chat (Chinese)
Alipay donation QR codeWeChat Pay donation QR codeLaTeXSnipper community chat QR code

License

GNU General Public License v3.

关于 About

Formula Recognition & Office Editing Math Workspace | Handwriting & PDF to LaTeX/Markdown, And Secure API Integrations.
autoencoderdeep-learningim2lateximage2textlatex-ocrmath-ocrmathematicsocr-pythononnxruntimepdf-to-markdownpdf2markdownpytorchtransformer

语言 Languages

Python60.7%
C#19.0%
JavaScript7.2%
Typst3.2%
PowerShell2.4%
Inno Setup2.3%
HTML2.2%
C++1.2%
CSS1.0%
Shell0.7%
Batchfile0.1%
C0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
1021
Total Commits
峰值: 119次/周
Less
More

核心贡献者 Contributors