Sarmate.net Sarmate.net
Home Features Pricing Documentation Contact
Log in Sign up

Create LaTeX figures — drag & drop, not code

Draw your figure visually and export clean TikZ or PSTricks code. Ready to compile.

Open the editor Read the guide
Visual LaTeX graphics editor

What is the graphics editor?

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.

Who is this tool for?

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.

Step-by-step guide

1

Draw shapes

Select a tool from the sidebar: line, circle, rectangle, polygon, Bézier curve or freehand. Click and drag on the canvas.

2

Customize styles

Change colors, line width, dash patterns, arrow tips and fill. Add LaTeX labels at any position.

3

Choose output format

Switch between TikZ and PSTricks. The code is displayed live in the code panel.

4

Export and compile

Copy the code into your document or test it directly in the Sarmate.net integrated online compiler.

Supported output formats

TikZ

The most modern LaTeX graphics package. Works with pdfLaTeX, XeLaTeX and LuaLaTeX. Recommended for most use cases.

PSTricks

Classic PostScript-based graphics package. Ideal for precise mathematical figures. Requires LaTeX → DVI → PS → PDF compilation.

Features

Drawing tools

Style options

Editing features

Other visual editors

Discover our other free WYSIWYG editors for LaTeX:

Sign & variation tables Visual tkz-tab editor Colored boxes Visual tcolorbox editor Probability trees Visual TikZ editor LaTeX tables Visual tabular editor

See all editors: Visual LaTeX editors | Overleaf alternative

Ready to draw your LaTeX figures?

No download, no installation. Open the editor and start drawing right away.

Open the editor — Free

Frequently asked questions

How do I draw a TikZ figure without knowing the syntax?

Open 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.

Does the editor export to PSTricks too?

Yes. Draw your figure once and export as either TikZ or PSTricks. Useful if your professor or publisher requires a specific style.

Will the generated TikZ code work in any LaTeX document?

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.

What shapes can I draw with the editor?

Lines, arrows, circles, ellipses, polygons, Bézier curves, points, labels, angles, math formulas. Everything you need for a typical academic figure.