About this tool
Ruby runs as CRuby compiled to WebAssembly. The first Run fetches the VM; your program is evaluated locally afterwards.
This is a real interpreter, not a syntax highlighter. Native gems and network installs are out of scope.
How to use this tool
First Run
Wait for ruby.wasm to download (~12 MB, then cached).
puts
Standard output is captured into Output.
Stay in stdlib
Do not expect bundler or native extensions.
Frequently asked questions
How does Ruby run in a browser?
CRuby compiled to WebAssembly (ruby.wasm). First Run downloads the VM (~12 MB); later runs use the browser cache.
Is my Ruby uploaded?
No. The CDN fetch is the interpreter binary. Your source stays in this tab.
Can I gem install?
No. Only what the stdlib WASM build includes. Nokogiri and native gems will not load.
Why is the first Run slow?
The WASM module has to download and compile once. After that, eval is typically well under a second.
Related tools
Bill Tracker
Track subscriptions, memberships and recurring bills on a private paid/skipped calendar.
Pill Tracker
Track supplements by meal, empty or with food, and mark taken or skipped on a private calendar.
JavaScript Playground
Write JavaScript, press Run, and read console output in your browser.
TypeScript Playground
Compile TypeScript to JavaScript in your tab and inspect console output.
Dart Playground
Write Dart, press Run, and see print output in your browser.
Numerology Analyzer
Life Path, Destiny, Soul Urge and Personality numbers from a birth name and date.