Base64 Encode/Decode

Encode and decode Base64 strings instantly.

URL-safe OFF
Plain Text
Base64
About Base64 Encoder/Decoder

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It is commonly used to embed binary data in JSON, HTML, email attachments, and data URIs.

URL-safe mode replaces + with - and / with _, and removes trailing = padding. This variant is used in JWTs, URL parameters, and filenames.

This tool fully supports Unicode text by using the TextEncoder/TextDecoder APIs. All processing happens locally in your browser.