library to know base64 format js code example Example: javascript base64 decode var decodedString = atob(encodedString);