Decode and Encode Base64 (Using JavaScript)

Base64 (automatically decoded)

ASCII Plain Text (automatically encoded)


This is a simple online base 64 encoder and decoder. This page was designed to be helpful to developers and anyone doing programming work. Base64 is a common format used for the web and email. It allows binary data to be transmitted in plain text format without risk of the data being clobbered by an intermediate server that does not handle certain binary characters. The number system has a base of 64, which means that each character requires 6 bits of storage.

This page should be useful to anyone who occasionally comes across a base64 string that they want to decode. This includes things like HTTP basic authentication passwords. This app is helpful to PHP, Ruby on Rails, and other developers. It is also helpful for new programmers who are trying to understand base64 encoding. Please let us know if you have any ideas on how I can improve the functionality or usability of this page.