Encoding formula
UTF-8 bytes are grouped into 24-bit chunks and emitted as four 6-bit Base64 characters.
Convert UTF-8 text to Base64 or decode Base64 back to readable text without leaving the browser.
Use it for API payload inspection, quick debugging, or preparing copy-safe encoded snippets.
Encoding handles Unicode text safely. Decoding validates input and reports malformed Base64 instead of failing silently.
Base64 represents binary data using 64 safe ASCII characters. This page first converts your text to UTF-8 bytes, then encodes those bytes into Base64. Decoding performs the reverse process back into readable text.
UTF-8 bytes are grouped into 24-bit chunks and emitted as four 6-bit Base64 characters.
Whitespace is trimmed and invalid characters or malformed padding trigger a visible error instead of broken output.
Handy for debugging headers, quick test payloads, or verifying how Unicode text behaves after encoding.