Back to Tools

Equation to LaTeX Converter

Convert any math equation to LaTeX: type it, paste a screenshot, or upload a photo of a handwritten equation

INPUT

Equation Description or Image

Describe your equation in plain text or upload an image

0/2000
OR

Drop your equation image here

or browse files

JPEG, PNG, GIF, WebP
OUTPUT

Generated LaTeX

Ready to use in your LaTeX documents

Generated LaTeX will appear here...

Math poweredWrite LaTeX using AI

Best AI LaTeX Editor, Overleaf Alternative

Octree helps researchers from 15+ universities write research papers faster using AI

  • Generate beautiful TikZ diagrams using AI
  • Upload image and convert it to LaTeX seamlessly
  • Get instant assistance with writing and formatting research papers

How the equation to LaTeX converter works

Convert any math equation to LaTeX in three steps. The tool accepts typed equations, screenshots and handwritten equations, and produces LaTeX you can paste straight into a paper, homework or set of notes.

  1. Enter or upload your equation. Type the equation in plain language ("integral of x squared from 0 to 1"), paste it in any notation, or drop in an image: a screenshot of a textbook formula, a photo of a whiteboard, or a handwritten equation from your iPad or phone.
  2. Convert to LaTeX. Click Convert to LaTeX. The AI reads the equation, recognises fractions, roots, sums, integrals, matrices and Greek letters, and writes standard LaTeX using amsmath, so the output compiles in Overleaf, Octree or any TeX distribution.
  3. Check the preview and copy the code. The rendered equation appears next to the code so you can confirm every symbol. Copy the LaTeX, download it as a .tex file or PDF, or open it in Octree to keep editing.

What people use it for

Equation to LaTeX FAQ

How do I convert an equation to LaTeX?
Type the equation in plain text or math notation, or upload an image of it, then click Convert to LaTeX. The converter returns LaTeX code that uses amsmath and shows a rendered preview so you can check it before copying it into your document.
Can it convert a handwritten equation to LaTeX?
Yes. Upload a photo or scan of a handwritten equation as JPEG, PNG, GIF or WebP, including handwriting exported from an iPad or tablet app. Clear, high-contrast images with one equation per picture give the most accurate LaTeX.
Is the equation to LaTeX converter free?
Yes. The converter is free to use and does not require an account. You can copy the LaTeX, download a .tex file or a compiled PDF, or open the result in the Octree editor.
Which LaTeX packages does the output need?
The generated code uses standard math notation that compiles with the amsmath, amssymb and amsfonts packages. If you download the .tex file, the preamble already includes them, and the output works in Overleaf and every common TeX distribution.

Looking for the commands behind the output? Browse the LaTeX symbol reference. Plain-text math goes straight into the box above; to keep editing the result as a full document, use the online LaTeX editor.