Developer tools
Base64 Encoder and Decoder.
Convert Unicode text to standard Base64 and back, with strict validation.
Your text is processed in your browser.
- Input UTF-16 units
- —
- Output UTF-16 units
- —
- UTF-8 bytes
- —
Ready.
Exact rules, limits & privacy
Default: encode Unicode text as strict UTF-8 bytes, then standard padded Base64 using + and /. Decode accepts only the standard alphabet with canonical padding and zero unused pad bits; no URL-safe alphabet, arbitrary whitespace or omitted required padding. ASCII-whitespace removal is optional for decode only and removes space, tab, CR and LF, not other Unicode whitespace. Empty input produces empty output. Encoding rejects lone UTF-16 surrogates; decoding rejects invalid UTF-8, overlong byte sequences, surrogate encodings and binary data that is not UTF-8 text. BOM and composed/decomposed Unicode are preserved with no normalization. UTF-8 byte statistics count the original encoded or decoded bytes; text counts use UTF-16 units. Output cap 400,000 UTF-16 units, bounded by the input cap (at most 300,000 UTF-8 bytes when encoding). This is a text converter, not binary-file support, encryption or secret protection. Export .txt.
Input limit: 100,000 UTF-16 code units. Larger text remains intact and current results are cleared with an error. Counts use UTF-16 units, not visual characters. No uploads, input tracking, saved drafts or external text processing. Page delivery and Tailwind Play CDN styling make ordinary network requests; inline CSS keeps the page usable without the CDN. Copy requires browser support/permission. Downloads are UTF-8 text. Empty results cannot be copied or downloaded.