JAVASCRIPT BASE64 ENCODE AND DECODE EXAMPLE Example: javascript base64 decode var decodedString = atob(encodedString);