Draw your figure visually and export clean TikZ or PSTricks code. Ready to compile.
The Sarmate.net LaTeX graphics editor is a visual WYSIWYG online editor that lets you create mathematical and scientific figures directly on a canvas. Lines, circles, polygons, Bézier curves, arrows, labels — all with your mouse. The corresponding code is generated as TikZ or PSTricks, two of the most widely used LaTeX graphics packages.
Teachers creating geometric figures for worksheets, researchers drawing diagrams for papers, students adding illustrations to their thesis — everyone benefits from a visual editor. TikZ and PSTricks are extremely powerful, but their syntax is complex. Instead of memorizing coordinates, styles and options, just draw.
Select a tool from the sidebar: line, circle, rectangle, polygon, Bézier curve or freehand. Click and drag on the canvas.
Change colors, line width, dash patterns, arrow tips and fill. Add LaTeX labels at any position.
Switch between TikZ and PSTricks. The code is displayed live in the code panel.
Copy the code into your document or test it directly in the Sarmate.net integrated online compiler.
The most modern LaTeX graphics package. Works with pdfLaTeX, XeLaTeX and LuaLaTeX. Recommended for most use cases.
Classic PostScript-based graphics package. Ideal for precise mathematical figures. Requires LaTeX → DVI → PS → PDF compilation.
Discover our other free WYSIWYG editors for LaTeX:
See all editors: Visual LaTeX editors | Overleaf alternative
No download, no installation. Open the editor and start drawing right away.
Open the editor — FreeOpen Sarmate's online TikZ editor, click to add lines, circles, polygons, and labels — the LaTeX code is generated behind the scenes. You preview the figure and copy the code in one click.
Yes. Draw your figure once and export as either TikZ or PSTricks. Useful if your professor or publisher requires a specific style.
Yes. The code is standard TikZ — paste it into your document, make sure \usepackage{tikz} is in your preamble, then compile. No specific class required.
Lines, arrows, circles, ellipses, polygons, Bézier curves, points, labels, angles, math formulas. Everything you need for a typical academic figure.