IhateLaTeX Open Resume Builder

TikZ State Machine & Automata Generator — DFA, NFA & Markov Diagrams

Visual state and transition editor for theory of computation: configure initial states, accepting double-circles, loopbacks and stochastic Markov transitions.

What is the TikZ Automata Generator?

IhateLaTeX runs entirely in your browser via a WebAssembly pdfTeX engine — no servers, no sign-up, no uploads. Every tool below is 100% free with unlimited use. The Automata Generator provides a visual state machine designer that compiles to LaTeX \usetikzlibrary{automata} environments.

Key Features of the TikZ State Machine & Automata Generator

DFA & NFA Machines

Create finite automata with initial arrows, intermediate states, and accepting double-circle borders.

Curved & Loopback Transitions

Automatic arrow routing with bend-left, bend-right, and directional self-loops (loop above/below).

Markov Chains & MDPs

Transition probabilities and stochastic matrices rendered cleanly for statistical papers.

Vector Precision

Lossless SVG rendering and pure LaTeX compilation with TeX font matching.

How to Use It (Step by Step)

  1. Add your states and mark them as Initial, Accepting, or Normal.
  2. Define transitions between states with symbol labels.
  3. Adjust curvature and loopback directions visually.
  4. Copy the generated LaTeX TikZ source code.

Frequently Asked Questions

How do I draw a DFA in LaTeX?

Use the Automata generator: add states q0, q1, q2, set their initial/accepting properties, define transition characters (0, 1), and export the LaTeX snippet.

Which LaTeX packages are required?

The output uses \usepackage{tikz} with \usetikzlibrary{automata, positioning, arrows.meta}.

All Free IhateLaTeX Tools