Welcome to HCODX Online Compiler
Quick Start:
Ctrl+Enter Run code
Ctrl+S Save / Download
Ctrl+L Clear output
Select a language and start coding.
Welcome to HCODX Online Compiler
Quick Start:
Ctrl+Enter Run code
Ctrl+S Save / Download
Ctrl+L Clear output
Select a language and start coding.
Compile and run Befunge 93 code online instantly with HCODX. Our free cloud-based Befunge 93 compiler supports real-time execution, standard input, syntax highlighting, and code download. No installation or configuration required. Start coding in Befunge 93 now.
Run Befunge 93 instantly without installing any IDEs or configuring environments. Our cloud-based Befunge 93 handles libraries, runtimes, and dependencies automatically so you can focus on writing code.
Whether you are studying algorithms in Befunge 93, practicing data structures in Befunge 93, or exploring functional programming, our tool provides real-time stdout/stderr feedback with interactive standard input support.
HCODX is a free online compiler and code runner: write code in your browser, execute it on a cloud sandbox, and interact with your program through a live terminal. Students use it for coursework and interview practice; developers use it to test snippets in 85+ languages without setting up a local environment.
Befunge-93 is a 2D stack-based esoteric programming language created by Chris Pressey in 1993 as a deliberate attempt to design a language as hard to compile as possible. Instead of executing top-to-bottom like a normal program, the instruction pointer moves in two dimensions across an 80×25 grid of characters, with each character being either a stack operation, an arithmetic op, or a direction-changing arrow (>, <, ^, v). Programs can also rewrite themselves at runtime via the 'p' (put) and 'g' (get) instructions, which is what makes Befunge famously uncompilable. Run Befunge programs in this online interpreter — no cfunge, fungify, or Funge-98 setup required.
"!dlroW ,olleH">:#,_@
How it executes:
"..." pushes characters onto the stack in REVERSE order
> turns the instruction pointer rightward
: duplicates the top of the stack
# skips the very next instruction
, pops and prints the top character
_ horizontal IF: pop, go LEFT if non-zero else RIGHT
@ end program
The loop prints each character of "Hello, World!\n" by
dupe-and-print, exiting the loop when the stack hits zero.
Use Befunge-93 for code-golf challenges, esolang competitions on sites like Code Golf Stack Exchange and anarchy golf, teaching unconventional control flow, mind-bending puzzle programming, and as a gateway to other 'fungeoid' languages (Funge-98, Befunge++, Cardinal, Trefunge). Befunge-93's 2D execution model is also a useful teaching tool for explaining why most modern languages chose 1D top-to-bottom execution — and what you give up by using a deliberately weird alternative. HCODX is a free online Befunge 93 editor, runner and interpreter — an IDE-grade compiler and playground to write and run code online, execute code with live output and live preview, no downloads or web server required.
It pioneered the 2D programming language concept and was specifically designed to be uncompilable — the 'p' instruction lets a program rewrite its own source mid-execution, so the only way to know what a program will do is to actually run it. This makes Befunge unusually loved by esoteric-language researchers, code golfers, and compiler-theory students who use it as a counter-example for static analysis.
Befunge-93 uses a fixed 80×25 character playfield (the same dimensions as a classic VT100 terminal screen). The instruction pointer wraps around when it falls off an edge. Befunge-98 (the later spec) lifted this to an arbitrary-sized grid, but Befunge-93 keeps the original constraint and is what most online interpreters implement by default.
> sends the pointer right, < left, ^ up, v down, and ? picks a random direction. _ is the horizontal IF: pop the stack, go right if zero else left. | is the vertical version. # skips the next instruction. @ ends the program. Everything else is either a digit (push 0-9), an arithmetic op (+ - * / %), or a stack manipulator (: dup, \ swap, $ pop, p put, g get).
Your current code will be replaced with the default sample. This cannot be undone — download your code first if you want to keep it.
You have unsaved changes. Do you want to save your code before continuing?