MathLive

by Dan Zilberman
5
4
3
2
1
Score: 69/100

Description

Category: Note Enhancements

The MathLive plugin enhances Obsidian's capabilities for handling mathematical content by introducing an intuitive visual editor for creating and editing LaTeX formulas. It renders formulas in real-time, eliminating the need to manually write LaTeX code. The plugin also features an OCR tool that converts scanned images of equations into LaTeX code. This OCR functionality is available in both a cloud-hosted version for efficiency and an open-source option for local use.

Reviews

  • Dan Zilberman
    Reviewed on Apr 14th, 2026
    No review text provided.

Stats

162
stars
32,690
downloads
10
forks
1,252
days
1
days
3
days
56
total PRs
9
open PRs
15
closed PRs
32
merged PRs
27
total issues
4
open issues
23
closed issues
126
commits

Latest Version

3 days ago

Changelog

What's Changed

Full Changelog: https://github.com/danzilberdan/obsidian-mathlive/compare/2.5.1...2.5.2

README file from

Github

Write math in Obsidian visually, and turn screenshots of formulas into LaTeX.

Downloads GitHub stars Latest release CI License: MIT

Install in Obsidian · Website · Report a bug

MathLive replaces the LaTeX in your notes with a visual math editor. Click a formula to edit it like you would in a word processor, open a larger editor window with an on-screen math keyboard, or draw a box around a formula in a PDF or slide and scan it straight into your note.

Features

  • Edit formulas where they are. Inline $...$ and block $$...$$ math turn into live editors in Live Preview. Inline formulas stay at text height, so your paragraphs don't jump around.
  • Editor window. A focused editor for longer expressions, with Ctrl/Cmd + Enter to insert into the note.
  • Math keyboard. An on-screen keyboard for fractions, roots, integrals, Greek letters and symbols.
  • Scan formulas into LaTeX. Draw a box around a formula anywhere in Obsidian, such as a PDF you have open, or scan a screenshot from your clipboard. Uses the MathLive cloud scanner or your own self-hosted one.
  • Find a formula. Search thousands of formulas from every science by name, by what they do, in your language, or by a bit of LaTeX, and insert one in a click. Free, no account needed. If the library doesn't have it, Write it with AI writes it for one scan.
  • Draw a formula. Write it by hand on a drawing pad, or scan the QR code and draw it on your phone or tablet. You see the formula as you draw, and it goes into your note when you click Insert. Uses the MathLive cloud scanner.
  • Turn PDFs into notes. Convert lecture slides, papers or scanned handwritten notes into a Markdown note, with every formula as editable LaTeX. Uses the MathLive cloud scanner.
  • Magic edit. Pick Magic edit in ✨ AI fill, next to a formula or in the editor window, and type or say what to change, like "square the denominator" or "make it a cube root". An AI rewrites the formula, and Undo puts it back. Uses the MathLive cloud scanner.
  • Quick Latex shorthands. Type al and Space for \alpha, sq for a square root, or your own shorthands, in the visual editor and in typed LaTeX. Imports your Quick Latex shortcuts and works alongside Latex Suite.
  • Works on phones and tablets. The same editor and math keyboard run in Obsidian for iOS and Android. Scan a formula from a photo, either a new one from the camera or one from your library, or scan an image that is already in your note.
  • Stays out of the way. Each formula has two small buttons: ✨ AI fill (with Magic edit) and ⤢ Expand. Everything is still plain LaTeX in your Markdown files.

Installation

  1. In Obsidian, open Settings → Community plugins and turn on community plugins if you haven't yet.
  2. Click Browse, search for MathLive, then click Install and Enable.

Or open MathLive in Obsidian directly. MathLive works in Obsidian 1.1.0 or newer, on desktop and on mobile (iPhone, iPad and Android).

Getting started

Edit a formula in your note. Write $x^2$ or a $$ block in Live Preview and click it. Type to edit, use the arrow keys to move in and out of the formula, click ✨ to fill it in from a screenshot, or ⤢ to expand it into the editor window. ✨ also opens the guide, which shows everything MathLive can do.

Use the editor window. Open the command palette (Ctrl/Cmd + P) and run MathLive: Add inline math or MathLive: Add full-line math. If you selected a formula first, the editor window opens with it. Click Insert or press Ctrl/Cmd + Enter to put it in your note.

Set a hotkey. If you write math often, assign hotkeys to the commands in Settings → Hotkeys.

New to LaTeX? Click ? in the editor window, or Help: how to… in the ✨ menu, and ask things like "how do I write a fraction" or "make a matrix". You get the answer right there, with a link to the exact section of the MathLive docs. The search runs on your device, so it works offline and sends nothing anywhere.

Coming from Quick Latex or Latex Suite?

MathLive keeps your typing habits and adds a visual editor and formula scanning on top.

  • Quick Latex users. If Quick Latex was ever set up in your vault, MathLive offers once to import your shorthands. You can also turn on Quick Latex shorthands in Settings → MathLive (al → α, sq → √, bb → \mathbb and the rest of Quick Latex's defaults), add your own in Quick Latex's key:::LaTeX; format, or click Import from Quick Latex. In a formula, type a shorthand and press Space.
  • Latex Suite users. Keep it. MathLive's shorthands work in its visual editor, and when Latex Suite (or Quick Latex) is on, MathLive leaves typed LaTeX between $ signs to it, so nothing expands twice. Shorthands in typed LaTeX in the settings changes this.

Scanning formulas

From the screen. Open the PDF, slide or image next to your note, put the cursor where the formula should go, and click ✨ in the left ribbon and pick Scan formula from screen (or run MathLive: Scan formula from screen, which you can give a hotkey). Obsidian steps aside and you drag a box around the formula anywhere on your screen, in Obsidian or in another app such as your browser or slides. Its LaTeX goes into the note at the cursor: as a math block on an empty line, or as inline math in a line of text. Press Esc to cancel. The editor window and a formula's ✨ menu have Scan from screen too, which adds the scan to that formula. On macOS, scanning other apps needs Screen Recording access for Obsidian; until then scans stay inside Obsidian's window and MathLive shows you where to turn it on. To always scan inside Obsidian only, turn off Scan other apps in the settings.

From the clipboard. Copy a screenshot of a formula, for example from another app or handwritten notes, then choose Scan clipboard image from ✨ AI fill in the editor window or next to a formula.

From a photo. On a phone or tablet, tap ✨ next to a formula, or in the editor window, and pick Scan a photo. Your device's image picker opens, where you can take a picture of a textbook or whiteboard or choose one from your photos. To put the formula in the note at the cursor, pick Scan a photo from ✨ in the ribbon, or run MathLive: Scan formula from a photo. On a computer, the same command scans an image file.

From an image in your note. Run MathLive: Scan formula from an image in this note, or right-click (on a phone, long-press) the line with the image and pick Scan this image with MathLive. The formula goes under the image as a math block. An image file's menu in the file list has Scan formula with MathLive too.

Check the result and fix anything the scanner got wrong.

Finding a formula

Put the cursor where the formula should go and run MathLive: Find a formula (or right-click in the note, or choose Find a formula from ✨ in the left ribbon, a formula's ✨ menu or the editor window). Type its name ("ideal gas law"), what it does ("energy of a moving object"), its name in your language ("Satz des Pythagoras"), or part of it in LaTeX (E=mc^2). Press Enter to insert the highlighted formula: as a math block on an empty line, as inline math in a line of text, or into the formula you opened it from. If you selected some words first, the search starts with them.

Searching is free and needs no account. The library comes from Wikidata's formulas, with clean LaTeX, names, variables and descriptions written and checked with AI, and it grows from the searches that find nothing. When nothing fits, the last choice is ✨ Write it with AI: Claude writes the formula for one scan, charged only when it comes back as valid LaTeX (free on paid plans).

Drawing a formula

Put the cursor where the formula should go, click ✨ in the left ribbon and pick Draw formula (or run MathLive: Draw formula). The editor window and a formula's ✨ menu have Draw formula too, which adds the drawing to that formula. Write the formula on the pad with your mouse, pen or finger; a moment after you lift the pen, the formula appears under the pad, where you can still fix it. Insert puts it in the note and uses one scan. Reading the drawing while you draw is free.

To draw on a phone or tablet instead, scan the QR code beside the pad with its camera. A drawing page opens in its browser, with nothing to install and no sign-in. The formula shows on both screens as you draw, and Insert on the phone puts it in your note on the computer. The phone can then draw the next formula, until you tap Done or stop drawing for 10 minutes. Only the first browser to open a code can use it. With Self-hosted scanner on, the pad is read by your scanner and there is no QR code.

Converting a PDF to notes

Open a PDF and click Convert to notes at its top right. You can also click ✨ in the left ribbon and pick Convert a PDF to notes, or right-click a PDF in the file list. Pick the pages you want and click Convert. MathLive reads the pages one by one into a new note next to the PDF: text as Markdown, formulas as $...$ and $$...$$ you can edit, and a link back to each page of the PDF. The note fills in as pages finish. You can close the window; MathLive tells you when it's done.

On the free plan each page uses one scan. Paid plans include a number of pages each month (500 on Monthly, 300 on Lifetime), and you can buy more pages when you need them. Blank pages and pages that can't be read are free. Before converting, MathLive shows how many pages you have left; if the PDF is longer, it converts the first pages that fit and you can get more pages for the rest. A page that can't be read gets a warning in the note, and Retry failed pages fills it in later. Your self-hosted scanner can do this too if it answers /pages/ the way the MathLive scanner does.

You can scan with either of these:

Cloud scanner Self-hosted scanner
Setup None for your first 3 scans. Then click Connect in Settings → MathLive (or when a scan asks), sign in with Google in your browser, and Obsidian connects by itself Run a compatible server such as LaTeX-OCR, then turn on Self-hosted scanner
Cost 3 trial scans, then 10 free scans per account and 5 more each month, or a paid plan for unlimited scans Free
Best for Most people People already comfortable running local services

The self-hosted scanner uses http://localhost:8502 unless you set another address in Self-hosted scanner address.

Settings

Setting What it does
Account Connect or disconnect your MathLive account, see who you're connected as and how many scans are left
API key (Advanced) Paste a key from your account page instead of connecting
Self-hosted scanner, Self-hosted scanner address (Advanced) Send scans to your own server instead
Enable inline editor mode Turn formulas in the note into editors
Enable inline / block math widgets Choose which formulas get an editor
Hide rendered inline / block math Show only the editor, without Obsidian's rendered math next to it
Update inline widgets immediately Write changes into the note as you type, or when the formula loses focus
Arrow key navigation between editor and widgets Move the cursor into and out of formulas with the arrow keys
Edit only the formula at the cursor Keep formulas drawn like the rest of the note, and show the editor only for the formula with the cursor in it
Quick Latex shorthands, Your shorthands Turn short letter codes into LaTeX when you press Space in a formula; import them from Quick Latex
Shorthands in typed LaTeX Also expand shorthands in LaTeX typed between $ signs (Automatic: only when Quick Latex and Latex Suite are off)

Disclosures

Obsidian asks plugins to state the following up front.

  • Payment. The visual editor and formula search are free. Cloud scanning includes 3 trial scans, then 10 free scans per account and 5 more each month; unlimited scanning requires a paid plan from mathlive.danz.blog. Self-hosted scanning is free.
  • Account. After 3 trial scans, cloud scanning requires a MathLive account (sign-in with Google). The editor and self-hosted scanning need no account.
  • Network use. The plugin only connects to the internet for cloud scanning and finding formulas, and only after you start a scan, search for a formula or click Connect:
    • https://mathlive.danz.blog/ocr/trial gives a trial key on your first cloud scan when you have none.
    • https://mathlive.danz.blog/ocr/predict/ receives the image you chose to scan, with your key, and returns LaTeX.
    • https://mathlive.danz.blog/ocr/edit receives a formula you chose to Magic edit with your typed instruction or your voice recording, with your key, and returns the new formula.
    • https://mathlive.danz.blog/ocr/pages/ receives a picture of each PDF page you chose to convert, with your key, and returns the page as Markdown.
    • Draw formula opens a drawing session at https://mathlive.danz.blog/ocr/draw/sessions with your key, sends each drawing there to be read, and while the window is open (or a phone you connected is still drawing) waits there for the phone's drawings. The QR code is made on your computer and links the phone to https://mathlive.danz.blog/draw/....
    • https://mathlive.danz.blog/ocr/formulas/search receives what you type in Find a formula, without your key, and returns matching formulas. It always goes to MathLive's server, also with Self-hosted scanner on. The server keeps the text of searches that found nothing (without your key or address) for 180 days, to add the missing formulas.
    • https://mathlive.danz.blog/ocr/formulas/write receives your search text, with your key, when you choose Write it with AI, and returns the formula. Claude by Anthropic writes it.
    • https://mathlive.danz.blog/ocr/access-status is checked with your key to show your account, scans left, and pages left before converting a PDF.
    • Connecting opens https://mathlive.danz.blog/connect in your browser with this device's name (your vault's name and operating system). While you approve, the plugin asks https://mathlive.danz.blog/ocr/connect/claim every 2 seconds for up to 10 minutes. Disconnecting tells https://mathlive.danz.blog/ocr/connect/forget to delete this device's key.
    • Requests to MathLive's scanner also say what kind of device sent them (such as iPhone, Android or macOS), the plugin's version, and where a scanned image came from (clipboard, screen, photo, an image in the note, or a drawing), so we can tell which devices and features need work. These are logged with the scan, never with what was scanned.
    • With Self-hosted scanner on, scans go to the address you set (by default http://localhost:8502) instead of MathLive's servers.
  • Clipboard. The plugin reads your clipboard only when you click a scan button, to get the image you copied.
  • Camera and photos. Scan a photo opens your device's own image picker, which offers the camera on phones; the plugin never opens the camera itself. Only the photo you pick is sent to the scanner. Scan formula from an image in this note reads only the image you choose.
  • Microphone. The plugin uses the microphone only while you record a Magic edit, from clicking the mic until you click it again (at most a minute). A recording that stays silent is not sent. The server turns the recording into text, then forgets it.
  • Screen. Scanning from the screen takes a picture only when you start it: of the Obsidian window, or of the whole screen when you scan from another app. Only the box you draw is sent to the scanner; the rest of the picture never leaves your computer.
  • Data. The scan server turns the image (or drawing) into LaTeX (or a PDF page into Markdown) and does not keep the image; Magic edit's formula, instruction and recording aren't kept either. Your account stores your email, your keys (with each connected device's name), your scan count and when a key was last used. A trial stores only a key and a one-way fingerprint of your IP address, to limit trials per network. Server logs record requests and errors to keep the service running.
  • No telemetry or ads. The plugin does not track how you use it and shows no ads. A welcome window shows once after installing.

Contributing

Bug reports, ideas and pull requests are welcome. See CONTRIBUTING.md for how to report a bug or build the plugin locally, and SECURITY.md to report a security issue privately. Every change runs an automated test suite in a real Obsidian app.

If MathLive saves you time, a ⭐ on this repository helps other people find it, and you can buy me a coffee.

Acknowledgements

  • MathLive by Arno Gourdol, the math editor this plugin is built on
  • LaTeX-OCR by Lukas Blecher, for self-hosted scanning
  • QR Code Generator by Kazuhiko Arase (MIT), for Draw formula's QR code

License

MIT © Dan Zilberman

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Latex Suite
5 years ago by artisticat1
Make typesetting LaTeX as fast as handwriting through snippets, text expansion, and editor enhancements
Text Extractor
4 years ago by Simon Cambier
A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.
Quick LaTeX
5 years ago by joeyuping
Completr
5 years ago by tth05
Auto-completion plugin for the obsidian editor.
Numerals
4 years ago by RyanC
An obsidian plugin which turns a math code block into a full featured calculator
TikZJax
4 years ago by artisticat1
Render LaTeX and TikZ diagrams in your notes
Excalidraw Extras
5 months ago by zsviczian
Companion Obsidian.md plugin hosting extra add-on optional features for the main Excalidraw-Obsidian plugin
Extended MathJax
6 years ago by Xavier Denis & Ng Wei En
draw.io
5 months ago by somesanity
A plugin for Obsidian that integrates the draw.io editor into Obsidian.
Math+
5 months ago by ocapraro
This is an Obsidian plugin for taking math notes using Excalidraw.
Desmos
5 years ago by Nigecat
Embed graphs directly into your obsidian notes
Latex Environments
6 years ago by Zach Raines
Quickly insert and change latex environments within math blocks in Obsidian.
Taskbone
5 years ago by Dominik Schlund
Obsidian OCR plugin - extract text from images
MP Publisher
4 months ago by joeytoday
自定义主题预览,并发布到公众号草稿箱。
Pseudocode
4 years ago by Yaotian Liu
An obsidian plugin that helps to render a LaTeX-style pseudocode inside a code block.
Typst Mate
9 months ago by azyarashi
Render math expressions with Typst instead of MathJax in Obsidian.
Typst Renderer
3 years ago by fenjalien
Renders typst code blocks in Obsidian into images using Typst through the power of WASM!
Latex OCR
3 years ago by Lucas Van Mol
Generate LaTeX equations from images in your clipboard or vault
Meld Calc
5 years ago by meld-cp
AI Image OCR
a year ago by Rootiest
Obsidian plugin for AI-powered text extraction from images
Export To TeX
6 years ago by Zach Raines
export obsidian markdown files in a format that can be pasted into a TeX file
Copy as LaTeX
5 years ago by mo-seph
Quick plugin to be able to copy/paste from Obsidian/Markdown into a Latex document
Obsidian asciimath
4 years ago by widcardw
Asciimath support for Obsidian (based on asciimath-parser)
Calctex
3 years ago by Mike
An Obsidian plugin for automatic calculation of LaTeX formulas.
No more flickering inline math
3 years ago by Ryota Ushio
No longer disturbed by flickering inline math in Obsidian.
OCR Extractor
a year ago by Johnathan Ritzi
Obsidian plugin to extract text from PDFs, documents, images, etc. and store it as Markdown in notes
Image OCR
3 years ago by kaffarell
Runs ocr on pasted images and posts result in details box. This allows to search in images.
LaTeX Math
a year ago by Zarstensen
Integrated CAS (via. Sympy) plugin for Obsidian, with a LaTeX focused workflow.
SwiftLaTeX Render
3 years ago by gboyd068
Image to text OCR
3 years ago by Dario Baumberger
Convert a image in your note to text.
Image2LaTEX
3 years ago by Hugo Persson
This is a plugin for obsidian that will read your latest copied image from clipboard and generate math latex from it
LaTeX Algorithms
4 years ago by SamZhang02
A simple plugin for writing Algorithms and pseudocodes in Obsidian.md
Latex Matrices
4 years ago by Daniele Susino
An obsidian plugin to create latex matrices.
Images to Notes
a year ago by Rodolfo Terriquez
Turn photos of your handwritten notes into markdown
Wypst
3 years ago by 0xpapercut
High quality rendering of Typst in Obsidian, powered by wypst.
LaTeX to unicode converter
4 years ago by fjdu
Convert LaTeX commands into unicode sequences
Convert to Markdown
3 months ago by notenerd
Convert PDF, Word, PowerPoint, Excel, and image files in your vault into Markdown notes with images and dropped assets listed alongside the output. Process everything fully offline on your machine — no cloud, service, external binary, or API key required; documents parse deterministically while images use local OCR with confidence reporting.
Latex Exporter
2 years ago by Matthew S. Scott
Obsidian plugin: export a graph of linked notes to a full LaTeX paper, with embeds, citations, theorem environments and cross-references.
MathLive in Editor Mode
2 years ago by MizarZh
MathLive input in editor mode.
Auto Math
7 months ago by Vladislav Sorokin
Auto-expand LaTeX math snippets in Obsidian — write equations faster.
Math Indicator Changer
2 years ago by Ori Replication
Vision Recall
2 years ago by Travis Van Nimwegen
Transform screenshots into searchable Obsidian notes using AI vision and text analysis
LaTeX Panel Helper
a year ago by Luster
A powerful and convenient LaTeX symbol panel for Obsidian to enhance your mathematical and scientific note-taking efficiency.
Mathematica Plot
3 years ago by Marcos Nicolau
Insert functions on Obsidian using Wolfram Mathematica!
Transfer LaTeX from GPT
2 years ago by Xixia
LaTeX-OCR
3 years ago by Jack Barker
AI LaTeX Generator
2 years ago by Aayush Shah
An Obsidian plugin that generates latex code from natural language inputs.
LaTeX autocomplete
a year ago by Yanis Gerst
MathType
2 years ago by slateblua
Math typing plugin for Obsidian
Plot Vectors and Graphs
2 years ago by Nicole Tan YiTong
Obsidian Plugin to generate graphs given the function.
IMSwitch in Math Block
2 years ago by XXM
Excalidraw Math Plotter
3 months ago by ahmeddawoud3
Plot mathematical function graphs directly onto Excalidraw canvases.
Handwriting OCR
a year ago by ikmolbo
Transform handwritten documents and scanned images into editable text with Handwriting OCR's AI-powered handwriting to text conversion.
Quick Matrix
a year ago by Charlie Flowe
Plugin for Obsidian.md that allows for faster interactions with matrices in LaTeX
Inline TikZ
3 months ago by Lachlan Harris
Render seamless Tikz, CircuiTikz & other PGFPlots LaTeX diagrams directly in your notes.
Student Repo
2 years ago by Feirong.zfr
学生知识库助手(Student Repository Helper)是一个面向学生或学生家长的Obsidian 插件,这款插件旨在解决学生在学习阶段面临的资料管理难题,将学习过程中产生的各类重要资料,如试卷、笔记、关键文档、绘画手工作品等,进行系统性的数字化整合与管理,并利用 AI 助手定期进行学习分析总结。随着时间的推移,它将助力你逐步搭建起一座专属你自己的知识宝库,这座宝库将伴随你一生,成为你知识成长与积累的见证。
Project Euler Stats
2 years ago by Artem Korsakov
Get statistics from Project Euler.
Markdown Cleaner
6 months ago by gao-qian-long
Obsidian格式化markdown插件