Base64 String Encoder/Decoder

This form converts Base64-encoded strings to their decoded form, and vice versa.

The form requires JavaScript, which does not appear to be enabled in this browser (either that, or there's a catastrophic failure with your browser's DOM).  You can still view the fully commented JavaScript source code here.

Base64 String Decoder

This form converts Base64-encoded strings to their decoded form.  Neither this form nor its underlying JavaScript are designed for decoding binary data.  This form does support UTF-8 "character byte" encoding, which is a way to Base64 encode Unicode characters not normally supported by the Base64 encoding/decoding library.

The Base64 encoding/decoding library used here is written in JavaScript and is based on (and generally compatible with) ActionScript 2.0 code.  The fully commented source is available here.

To encode Base64 strings, use this form.

Base64 Text

Enter the Base64-encoded string in the textarea below. 

Decoded Result

Base64 String Encoder

This form converts strings to a Base64 encoded form.  Neither this form nor its underlying JavaScript are designed for encoding binary data.  This form does support UTF-8 "character byte" encoding, which is a way to Base64 encode Unicode characters not normally supported by the Base64 encoding/decoding library.

The Base64 encoding/decoding library used here is written in JavaScript and is based on (and generally compatible with) ActionScript 2.0 code.  The fully commented source is available here.

To decode Base64 strings, use this form.

Source Text

Enter the string to Base64 encode in the textarea below. 

Base64 Encoded Result