Simple JavaScript Base64 Encoder/Decoder

Clear Text

Base64 Encoded Text

There are several web-based Base64 encoders/decoders, and only a couple Javascript encoders/decoders. The Javascript ones were all rather complex (relatively speaking), and none used the functions for working with Base64 that are built into the JavaScript engine in Netscape Communicator 4,x and up, and Mozilla. This uses those built in functions, and so it doesn't work in Internet Explorer, or Opera.

This was mainly written as a fast and easy way to help people extract their passwords from Mozilla's Password Manager password storage file. As long as you're not using the Master Password feature, you can copy the login information from the file, and decode it here.