1. What does this tool do
This free online formula typer lets you type LaTeX math and see it rendered live—then download the formula as a PNG. Use it for LaTeX to image, math equation generator, or equation to PNG for homework, slides, and documents. No install, no sign-up; everything runs in your browser. Use the toolbar for fractions, roots, integrals, and Greek letters, or type notation like E = mc^2 and \frac{a}{b}. Ideal for documents, websites, homework, or STEM content.
2. How to use it
Quick start: Type or paste LaTeX in the left panel, use the toolbar to insert symbols if needed, check the live preview, then click Download PNG. Load sample for a quick example.
- Enter LaTeX — Type or paste your formula into the left textarea. Use the toolbar above to insert common LaTeX symbols (fractions, square roots, integrals, Greek letters, etc.) at the cursor, then modify the placeholders as needed.
- View preview — The right panel shows the rendered formula in real time. Invalid syntax is highlighted in red by KaTeX.
- Load sample — Click Load sample to fill in a simple example (
E = mc^2). - Download PNG — When the preview looks correct, click Download PNG to save the formula as an image file.
- Clear — Click Clear to reset the input and start over.
3. How it works
The tool uses KaTeX to render LaTeX math in the browser. KaTeX parses the input and produces HTML with styled math symbols. With throwOnError: false, invalid LaTeX is shown as red error text instead of breaking the page. The PNG export uses dom-to-image to capture the rendered DOM node as a raster image with a white background. All processing runs entirely in your browser. No data is sent to any server.
4. Use cases & examples
- Documents — Create equation images for Word, Google Docs, or slide decks.
- Websites — Generate PNG equations when LaTeX rendering is not available.
- Homework — Type formulas and export for submission or sharing.
- STEM content — Produce publication-quality math notation.
Example
E = mc^2→ Renders as Einstein's mass–energy equivalence.\frac{a}{b}→ Renders as a fraction a/b.\sqrt{x^2 + y^2}→ Renders as the square root of x² + y².
5. Limitations & known constraints
- Input limit — Maximum 2,000 characters per formula to prevent excessive processing.
- LaTeX subset — KaTeX supports most common math notation but not full LaTeX (e.g. no
\usepackage). - Display mode only — Formulas render in block/display mode (centered); inline mode is not offered.
- Client-side only — Very long or complex formulas may cause brief UI lag in the browser.