LaTeX to SVG Converter

Convert LaTeX to SVG in your browser and get a vector image that stays sharp at any size, for web pages, posters and design tools.

Image vector, scales without blur

Your equation image will appear here.

Made in your browser

Built by Cem Demir · renders with MathJax 3.2.2

How do you turn an equation into an SVG?

  1. Type the equation in LaTeX math mode.
  2. Pick the color. Size only sets the default width and height; an SVG can be scaled freely afterwards.
  3. Press Download SVG, or copy the SVG code to paste it straight into HTML.

Why does LaTeX to SVG output use paths instead of text?

Every letter and symbol is saved as an outline, so the file looks the same on every computer without the TeX fonts installed. The trade-off is that the text can't be selected or edited as letters; change the LaTeX here and export again instead.

How do you put the SVG on a web page?

Either reference the file with <img src="equation.svg" alt="…">, or paste the copied SVG code into the HTML. Pasting inline keeps it to one request and lets CSS resize it. Always describe the formula in the alt text or an aria-label for screen readers. To place it in a LaTeX document instead, see inserting an image in LaTeX.

Can you edit it in Inkscape, Illustrator or Figma?

Yes. Open or import the SVG and the equation arrives as vector shapes you can recolor, scale or group with the rest of a figure. Inkscape also has its own LaTeX extension, but it needs a TeX installation; this page doesn't. For a figure with several panels, combine the SVG with the subfigure layout.

Can you turn a small LaTeX table into an SVG?

Yes, as long as it is written in math mode with array, as in the example above: columns in {l|cc}, & between cells and \hline for a rule. Text-mode tabular tables are not supported here; for those, build the code with the table generator. Need a picture for slides instead? The LaTeX to PNG converter uses the same editor.

Text drafted with AI from the MathJax and SVG documentation; checked by Cem Demir. See the editorial policy.