Skip to main content

Base64 encode

Encode text as Base64.

Command in the Hash and encrypt toolkit · id ooa.crypto/base64_encode · 3 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
TextStringYesText to encode.
URL-safe alphabetBooleanNofalseUse the URL-safe alphabet (- and _ instead of + and /) without padding.
EncodingStringNoutf-8Character encoding used to turn the text into bytes, e.g. utf-8, utf-16le, windows-1252.

Outputs​

OutputTypeWhat it is
resultStringBase64 text.