Skip to content

Encode and Decode to Base64 in JavaScript

You can convert text to Base64 in JavaScript and vice versa:

[sc name=”src” url=”https://stackoverflow.com/questions/246801/how-can-you-encode-a-string-to-base64-in-javascript” ]

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.