← Back to blog

Welcome to RubyHash

If you’ve ever worked with Minitest (or any Ruby testing framework), you’ve probably seen hash diffs in your terminal that look something like this:

-{"uid"=>"darrick@dickens.test", "allow_password_change"=>true}
+{"uid"=>"darrick@dickens.test", "allow_password_change"=>false}

Spotting the actual difference in a wall of text is painful — especially when the hashes are large and the keys are in different orders.

What RubyHash does

RubyHash takes those two lines (prefixed with - and +), converts the Ruby hash syntax into valid JSON, sorts the keys alphabetically, and renders a clean side-by-side diff so you can instantly see what changed.

How to use it

  1. Copy the diff output straight from your console (keep the - and + prefixes).
  2. Paste it into the text area on the home page.
  3. Click Compare.

That’s it. No sign-up, no installation — just paste and compare.

Happy hashing!