Base64 encoding is used to encode binary data which is stored and transferred over the transport layer ensuring no modification of data during transport. Base64 is commonly used in a number of applications, including email via MIME, and storing complex data in XML. Normally base64 encoded data takes about 32% more space than the original data.