Brainfuck · online compiler

Run Brainfuck online

Run Brainfuck online — 8 commands, one tape, zero install.

Version
Firecracker microVM live per-test verdicts multi-file compile

Brainfuck is the minimalist Turing-complete language: eight commands, one memory tape, one instruction pointer. Educational for anyone building their first compiler, a beautiful hazing ritual for anyone else.

ls-judge runs a Brainfuck interpreter in a Firecracker microVM. Programs read stdin one byte at a time (`,`) and write output byte by byte (`.`).

Starter code

What you get in Brainfuck

Clicking "Run now" opens the playground with this exact code and a matching test case pre-loaded — passes on first Run.

brainfuck
Brainfuck 0
,.
stdin →A
expected →A
FAQ

Common questions about Brainfuck on ls-judge

What is the tape size?
30000 bytes — the canonical default. Cell values wrap on overflow.
Do you have a JIT?
No, an interpreter — fast enough for anything but the biggest programs.
Do I need an account?
No.
Any output limit?
Yes — 1 MB stdout per job to keep the browser tab responsive.
Further reading
Also try