mruby-compatible · In-browser · WebAssembly

Try Ruby at the edge.

Compile and run Ruby entirely in your browser with mruby/edge. Start from a preset, inspect the console, then save a shareable link.

ruby> [1, 2, 3].map { |n| n * 2 }
=> [2, 4, 6]

ruby> RUBY_ENGINE
=> "mruby/edge"

Browser playground

Write. Run.
Share.

The editor runs locally through WebAssembly. Saved snippets receive a shareable URL through the playground API.

mruby/edge Playground

Ruby editor

A small mruby environment, ready in your browser.
Console
Ready. Press “Run code” to execute your mruby script.