Free online Base64 decoder and encoder directly in browser. View instant results, no data sending or form submissions are required.
How it works?
In Node.js the string conversions happen using the Buffer.from(string, encoding)
method and specifying the encoding to be base64 if converting from base64 to utf8. In browser, however, we use btoa
and atob
to convert to base64 and vice-versa.