This work is sponsored by Simon Josefsson Datakonsult AB. If you need commercial help with utilizing this technology, or have a related project that you want help with, please feel free to contact me. If you find my work in this area useful, also please consider making a donation. No amount is too small!
I have put together a free base64 implementation in portable C available in gnulib from Savannah:
I have also created a free base64 command line tool, based on the previous library. Update! My tool has now been adopted by the GNU project, and integrated into GNU CoreUtils as 'base64'. It will be maintained there.
Emacs Lisp libraries for base16, base32 and base64 also exist:
Note that modern Emacs implementations include a native base64 function. However, it uses the same interface.
The following HTML form uses PHP to enable you to interactively base64 encode and decode any (reasonably short) string.