Encode and decode Base64.
Base64 encoding represents arbitrary text or binary data using only 64 printable ASCII characters (A–Z, a–z, 0–9, + and /). It is how binary content is safely carried through systems that expect text, such as email, JSON, data URLs and HTTP headers.
This tool encodes text to Base64 and decodes Base64 back to text, handling full Unicode correctly by encoding through UTF-8 first.
No. It is an encoding, fully reversible by anyone. It hides nothing and adds no security — use it for safe transport of data, never to protect secrets.
Base64 uses 4 output characters for every 3 input bytes, a roughly 33% size increase, plus '=' padding to align to a multiple of four characters.
The input must be valid Base64: correct alphabet, correct length and padding. Extra spaces, line breaks in the wrong place, or URL-safe characters (- and _) can cause errors.