OSX Service: Base64 encode/decode text

A very quick set of Services for OSX. The service takes selected text and uses the Ruby Base64 library to encode or decode it:

  • 64encode (clip) – encodes selected text and puts the result on the clipboard
  • 64encode (inline) – encodes selected text and pastes the result inline, replacing the original text
  • 64decode (clip) – decodes selected text and puts the result on the clipboard
  • 64decode (inline) – decodes selected text and pastes the result inline, replacing the original text

Download, unzip, and copy to ~/Library/Services. Access through right-click menu after selecting text.