← All Tools

Brainfuck Interpreter

Run, step, and debug Brainfuck programs with a live view of the 30,000-byte tape. Eight instructions, one pointer, infinite patience. Everything executes locally in your browser.

Code

Input (stdin)

Output

Tape

Language reference
>Move the data pointer one cell to the right.
<Move the data pointer one cell to the left.
+Increment the byte at the data pointer (wraps at 256).
Decrement the byte at the data pointer (wraps at 0).
.Output the byte at the data pointer as an ASCII character.
,Read one byte of input and store it at the data pointer.
[If the current cell is 0, jump forward to the matching ].
]If the current cell is not 0, jump back to the matching [.

Tape size: 30,000 cells, 8-bit wrap-around. Non-instruction characters are treated as comments.