DFA Simulator

Design, Visualize, and Simulate Deterministic Finite Automata

1. Define DFA

Transitions

2. Simulate



Step 0 of 0

Current: -

Input Progress:

Remaining: -

Path Taken

Start State Current State Accept State

About DFA

A Deterministic Finite Automaton (DFA) is a finite state machine that accepts or rejects strings of symbols. For each state and input symbol, there is exactly one next state.

How to Use

  1. Define states and mark start/accepting states
  2. Add transitions between states
  3. Enter an input string and simulate

Default Example

The default DFA accepts all strings over {0,1} that end with "01". Try inputs like "1101", "01", "1010" to see the simulation.