Drop any file to identify it
No upload. No signup. No sending your file halfway across the internet.
We tell you what it is, right here in your browser.
Drop it!
Let go to identify this file.
Couldn't identify this file
Need to convert it? fwip it →
You have a .rb file — Ruby source code. Ruby is the language behind Ruby on Rails, the web framework that taught the world that building web applications didn't have to be painful. GitHub, Shopify, Basecamp, Airbnb (early versions), and countless startups were built on Rails.
Yukihiro "Matz" Matsumoto created Ruby in 1995 with an explicit goal: programmer happiness. The language reads almost like English, has elegant syntax for blocks and iterators, and treats everything as an object (including numbers and nil). Ruby's philosophy is that there should be a beautiful way to express every idea. This made it a joy to write and, combined with Rails' "convention over configuration" approach, created a productivity boom in web development during the late 2000s.
Any text editor opens .rb files. VS Code with the Ruby extension provides syntax highlighting and debugging. RubyMine (JetBrains, paid) is the full-featured IDE. To run Ruby: install it from ruby-lang.org (or use rbenv/rvm for version management), then `ruby file.rb`. For Rails projects: `gem install rails && rails new myapp`.