Free tools · LaTeX
LaTeX to SVG
Type LaTeX math and get a self-contained SVG with the glyphs embedded as paths, so it renders identically anywhere, at any size, without fonts.
How to use it
- Type or paste the LaTeX (math mode; use \text{} for words).
- Set the font size and colour.
- Download the .svg file, copy the SVG code to paste into a web page or a design tool, or copy it as a PNG image for slides and documents.
Why you'd use it
A PNG has one resolution; an SVG has none. For a web page, a figure that will be resized, or a design tool such as Figma or Inkscape, vector output is what you want, and it stays crisp when the poster is printed at A0.
The SVG embeds the glyph outlines it uses, so it does not depend on any font being installed where it is opened.
FAQ
Will the SVG look the same everywhere?
Yes. Glyphs are embedded as paths (MathJax's local font cache), so a browser, Inkscape, Illustrator or a PDF converter all draw the same shapes.
Can I change the colour later?
Yes. The SVG uses currentColor for its fills, so a CSS color rule, or a fill edit in a vector editor, recolours the whole equation.
How do I put it in a web page?
Paste the SVG code inline where the equation goes, or save the file and use it in an img tag. Inline SVG follows the surrounding text colour.
Can I copy the SVG to the clipboard as an image?
Browsers do not accept SVG on the clipboard as an image, so Copy SVG code copies the markup, which design tools such as Figma and Inkscape paste as vector graphics. For slides and documents, Copy as PNG puts a bitmap on the clipboard instead.
Which LaTeX is supported?
The TeX input MathJax understands: AMS math, matrices, alignments, \text, colours, and the common packages. Not full documents.