Highlight some text, convert it to hex, highlight it again, convert it to ASCII. It's as simple as that.
Small and written using Javascript and JSON so can be used as a template if you don't want to use Coffeescript and CSON