Erlang Online Compiler

About the Erlang compiler

Handles millions of concurrent connections. Compiled online. Run Erlang code in your browser with no install and no signup — the editor, the input and the output share one screen. Erlang is executed by a remote runtime: your code is submitted to it and the output is returned to this page.

Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.

A Erlang example

This is the program the Erlang editor opens with — run it as it is, then change it.

-module(prog).
-export([main/0, main/1]).
main() ->
    io:format("Hello, World!~n").
main(_) ->
    main().

More Functional compilers

Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.