Home › Text Tools › LaTeX Equation Editor

LaTeX Equation Editor

Write math in LaTeX and see it typeset instantly. Click symbols and structures from the palette instead of memorising commands, then download a crisp PNG or SVG, copy the image, or copy MathML to paste an editable equation into Microsoft Word.

Last updated:

Live previewLoading KaTeX…

For Microsoft Word: Copy MathML, then paste into Word to get an editable equation (or paste the image). For Google Docs, Slides and email: Copy image or Download PNG.

Advertisement
Advertisement

How to use the LaTeX Equation Editor

  1. Type LaTeX in the editor, or pick a formula from Examples.
  2. Click palette buttons to insert symbols and structures; selected text is wrapped, e.g. select a+b then click √.
  3. Adjust the style: display or inline, size, color and background.
  4. Export with Download PNG, Download SVG or Copy image.
  5. For Word, press Copy MathML and paste into your document to get an editable equation.

LaTeX math cheat sheet

You wantTypeNotes
Fraction\frac{a}{b}\dfrac forces full size inline
Power, subscriptx^{2n}, a_{ij}Braces are needed for more than one character
Square / nth root\sqrt{x}, \sqrt[3]{x}
Sum, product\sum_{i=1}^{n} i, \prodLimits go above and below in display style
Integral\int_0^1 f(x)\,dx\, adds a thin space before dx
Limit\lim_{x \to \infty}
Growing brackets\left( \frac{a}{b} \right)Every \left needs a \right
Matrix\begin{pmatrix} a & b \\ c & d \end{pmatrix}& separates columns, \\ ends a row
Cases\begin{cases} 1 & x>0 \\ 0 & x\le 0 \end{cases}
Text inside math\text{if } x > 0Keeps normal spaces and upright letters
Number sets\mathbb{R}, \mathbb{Z}Blackboard bold
Vectors\vec{v}, \mathbf{v}Arrow or bold style

Which export to use

  • Microsoft Word: Copy MathML gives an editable Word equation. PNG works everywhere if you only need a picture.
  • Google Docs, Slides, Keynote, email: Copy image or a 2×–3× PNG. A transparent background blends with colored slides.
  • Websites and blogs: SVG stays sharp at any zoom; or copy the LaTeX and render it on the page with KaTeX or MathJax.
  • LaTeX documents, Overleaf, Markdown with math: Copy LaTeX and paste it between $ … $ (inline) or \[ … \] (display).

Common mistakes

Write \sin x, not sin x, so the function name is upright. Use \cdot or \times for visible multiplication. Group exponents with braces: e^{-x^2}, not e^-x^2. Spaces in math mode are ignored, so use \,, \quad or \text{ } when you need space.

Frequently asked questions

How do I put a LaTeX equation into Microsoft Word?

Press Copy MathML and paste into Word (Word 2013 and later, Microsoft 365). Word converts MathML into a native, editable equation. If your version pastes the code as text, use Copy image or Download PNG instead. Word's own equation editor also accepts much LaTeX-style input when you switch it to LaTeX mode.

How do I add an equation to Google Docs or Slides?

Press Copy image and paste into the document, or Download PNG and insert it with Insert > Image. Use a 2× or 3× PNG scale so the equation stays sharp when printed or zoomed.

What is the difference between display and inline style?

Display style is used for equations on their own line: fractions are full size and limits of sums and integrals go above and below the symbol. Inline style is the compact version used inside a sentence, with smaller fractions and limits placed to the side.

Which LaTeX commands are supported?

The editor uses KaTeX, which supports the common math commands of LaTeX and amsmath: fractions, roots, sums, integrals, limits, matrices (pmatrix, bmatrix, vmatrix), cases, aligned, Greek letters, accents, \mathbb, \mathbf, \text and many symbols. Document commands such as \documentclass or packages are not part of math mode.

Is the SVG a true vector file?

The SVG keeps the equation sharp at any zoom in web browsers, but it is built from the typeset HTML with embedded fonts, so some design programs and Office apps do not display it. For Word, PowerPoint and Docs use the PNG or MathML options.

Why does my formula show an error?

Usually a brace is missing or a command is misspelled, for example \frac needs two groups like \frac{a}{b}, and every \left( needs a matching \right). The red message names the problem and the preview still shows the part that could be read.

Is my equation uploaded anywhere?

No. Typesetting and image export happen in your browser. Your last formula and settings are remembered only in this browser's local storage.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Markdown EditorWrite Markdown with a toolbar, live split preview, autosave and .md or HTML export.Unicode Character LookupFind Unicode characters by name or code point and copy them with UTF-8, HTML and code escapes.Algebra CalculatorSimplify, expand and factor algebraic expressions with exact answers and step-by-step working.Equation SolverSolve any equation for x: exact roots, complex roots, numeric answers, steps and a graph.LaTeX to PDFCompile LaTeX to PDF in your browser with a TeX engine, live preview, log and PDF download.Math Formulas Cheat SheetSearchable algebra, geometry, trig, calculus and statistics formulas with a printable sheet.Fancy Text GeneratorTurn text into cool Unicode fonts for bios.Reverse Text GeneratorWrite text backwards, reverse words or lines, mirror or flip it upside down.Upside Down Text GeneratorFlip text upside down with Unicode characters, or turn it back to normal.Emoji CounterCount every emoji in your text, including flags, skin tones and ZWJ sequences.Small Text GeneratorTurn text into tiny superscript, subscript and small caps letters you can copy and paste.Zalgo Text GeneratorMake creepy glitch text with separate up, middle and down sliders, or clean zalgo back to normal.Invisible CharacterCopy blank and invisible characters (ㅤ U+3164, U+2800, zero width space) for names and messages.Emoji PickerSearch 1,900+ emoji by name, pick skin tones and copy and paste them with one click.Special CharactersCopy and paste 1,500+ symbols: arrows, math, currency, stars, checkmarks, © ® ™ and more.Word UnscramblerUnscramble letters into every possible word, with blank tiles, length filters and Scrabble scores.Braille TranslatorTranslate English text to Grade 1 Unicode braille and back, with dot numbers and printing.ASCII Art GeneratorTurn text into big ASCII banners or convert any image into ASCII art you can copy.Bold Text GeneratorConvert text to bold Unicode letters you can copy and paste anywhere.Italic Text GeneratorConvert text to italic Unicode letters you can copy and paste anywhere.Cursive Text GeneratorConvert text to cursive Unicode letters you can copy and paste anywhere.Strikethrough Text GeneratorConvert text to strikethrough Unicode letters you can copy and paste anywhere.Underline Text GeneratorConvert text to underlined Unicode letters you can copy and paste anywhere.Bubble Text GeneratorConvert text to bubble Unicode letters you can copy and paste anywhere.Wide Text GeneratorConvert text to wide Unicode letters you can copy and paste anywhere.Old English Text GeneratorConvert text to Old English Unicode letters you can copy and paste anywhere.Superscript GeneratorConvert text to superscript Unicode letters you can copy and paste anywhere.Subscript GeneratorConvert text to subscript Unicode letters you can copy and paste anywhere.Remove Special CharactersStrip symbols, emoji and odd characters, keeping only letters, numbers, spaces and what you allow.Emoji TranslatorTranslate text to emoji: words like love, pizza and dog become ❤️ 🍕 🐶, with a density slider.Monospace Text GeneratorTurn text into 𝚖𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎 typewriter-style Unicode letters to copy and paste.Aesthetic Text GeneratorMake aesthetic text with vaporwave letters, sparkles, hearts and frames to copy.Emoji Letters GeneratorTurn words into 🇭 🇪 🇱 🇱 🇴 regional indicator, 🅰️ block and keycap 1️⃣ emoji letters.Discord Colored Text GeneratorColor, bold and underline text for Discord with ANSI code blocks and a live preview.Discord Font GeneratorFancy fonts for Discord names and bios, plus ready-made Discord markdown formatting.Remove Emojis from TextStrip every emoji, flag, skin tone and ZWJ sequence from text, with a count of what was removed.Fill in the Blank GeneratorTurn any text into a printable fill-in-the-blank worksheet with word bank and answer key.Instagram Font GeneratorMake bold, cursive and aesthetic fonts for your Instagram bio, name and captions.Text Pixel Width CalculatorMeasure how many pixels wide text renders in any font and size, and check it against a limit.Stylish Name GeneratorDecorate your name with ꧁ ꧂, ★彡, 亗 and other symbols for games and profiles.Tattoo Font GeneratorPreview a word or name in gothic, script and other tattoo-style fonts to copy.Alt Codes ListSearchable Windows Alt code chart (Alt+0176 °, Alt+0169 ©) with Mac shortcuts and one-click copy.Check Mark SymbolCopy and paste check marks and ballot boxes ✓ ✔ ☑ ✅ ☐ ✗ with Alt, Unicode and HTML codes.Degree SymbolCopy the degree sign ° (and °C, °F) in one click, with Alt code and how to type it anywhere.Kaomoji Copy and Paste2,000+ Japanese kaomoji text faces by emotion and animal. Search and copy with one click.Lenny Face GeneratorBuild your own ( ͡° ͜ʖ ͡°) by picking ears, eyes and mouth, or copy 60+ ready-made Lenny faces.Math Symbols Copy and PasteCopy math symbols like ∑ √ ∞ ≤ ∫ π ∈ with their Unicode, HTML entity and LaTeX command.Copy and Paste Text ArtCute one-line and multi-line text art (animals, hearts, faces, borders) to search and copy.Emoji MeaningsLook up what an emoji means: meaning, slang use, Unicode name, version and related emojis.Fancy Text to Normal Text ConverterTurn bold, cursive, bubble, small caps, fullwidth and zalgo Unicode text back into plain text.Mail Merge Text GeneratorFill a {placeholder} template with CSV rows to create a personalized message for each person.Mirror Text GeneratorCreate mirrored and reflected text with Unicode look-alike letters (ɘ, ꓘ, Я) and copy it.Shrug EmoticonCopy ¯\_(ツ)_/¯ in one click, plus Discord, Reddit and Markdown-safe versions and 30 shrug variants.Vertical Text GeneratorTurn text into vertical columns, one character per line, to copy into posts, bios and chats.Arrow SymbolsCopy and paste 600+ arrow symbols → ⇒ ➜ ↑ ↻ by direction and style, with Alt and HTML codes.Fraction SymbolsCopy fraction symbols ½ ¼ ¾ ⅓ ⅛ or build any fraction like ¹⁵⁄₁₆ with superscript digits.Heart SymbolsCopy and paste heart symbols ♥ ❤ ♡ ❥ 💕 and decorative hearts with Alt, Unicode and HTML codes.Star SymbolsCopy and paste star symbols ★ ☆ ✦ ✩ ✪ ⭐ ✨ and asterisms with Unicode, Alt and HTML codes.Unicode NormalizerNormalize text to NFC, NFD, NFKC or NFKD and see exactly which code points changed.Bullet Point SymbolsCopy and paste bullet symbols • ◦ ▪ ➤ ✓ ‣ for lists and resumes, plus a bulleted list maker.Copyright and Trademark SymbolsCopy © ® ™ ℠ ℗ with Alt and HTML codes, when to use each, and a copyright notice maker.Currency SymbolsCopy and paste $ € £ ¥ ₹ ₿ and 80+ world currency signs with ISO codes and Alt codes.Em Dash Copy and PasteCopy the em dash —, en dash – and every hyphen or minus sign, with when to use each.Emoji CipherTurn secret messages into emoji with a shared key, then decode them back to text.Text Border GeneratorWrap text in a copyable ASCII or Unicode box: single, double, rounded, heavy, stars and more.Text Divider GeneratorCopy aesthetic Unicode line dividers like ─── ⋆⋅☆⋅⋆ ─── or build your own symmetric divider.
See all 61 Fonts, Symbols & Emoji →