📼
Turing Machine Simulator
Simulate Turing machines with an interactive visual tape, head pointer, state transitions, and a canvas-rendered state diagram. Includes 7 classic presets.
ReadyStep: 0
State: carryTape
5
Head starts at rightmost character (or position 0 if empty)
Increments a binary number by 1
State Diagram
Transition Table
| State | Read | Write | Move | Next | Actions |
|---|---|---|---|---|---|
| carry | 1 | 0 | L | carry | |
| carry | 0 | 1 | L | done | |
| carry | _ | 1 | R | halt | |
| done | 0 | 0 | L | done | |
| done | 1 | 1 | L | done | |
| done | _ | _ | R | halt | |
Step through execution or run at adjustable speed. Edit the transition table, configure states, or load a preset. All computation runs entirely in your browser. Step limit: 10,000 steps.