ApplesauceOS
Read Markdown ↗Download .md

base64Encode

Convert text to Base64-encoded UTF-8 text.

js
base64Encode(text)

Arguments

ArgumentTypeMeaning
textstringInput text; Base64 text for base64Decode.

Returns

Base64-encoded UTF-8 text string, or null if conversion fails.

Example

js
console.log(base64Encode("Hello"));

Notes

Encoding is not encryption.

All JavaScript APIs · Automation playbook