libbase64 - base64 encoding and decoding

The libbase64 is a minimal C library to decode and encore base64 in pure C89. It does not depend on anything not portable except C standard library.

It consists of:



Official releases

Development version

You can install a development version using Mercurial

hg clone


The library is too small to be worth being installed system wide and as such there are no install target nor library generation. Instead, you should simply copy the files base64.c and base64.h to your project and start using the functions.

You can still run the test suite using make tests command.


Manual pages:

Also have a look into the official file in the repository which may contain additional information and a FAQ.