base64 is a command line utility which encodes and decodes files in this format. It can be used within a pipeline as an encoding or decoding filter, and is most commonly used in this manner as part of an automated mail processing system.
Extracted automatically from Base64 homepage
brew install base64
This formula has no dependencies.