# Base64 encoder and decoder online: Unicode-safe via UTF-8

> Base64 encode and decode in the browser. Handles umlauts, emojis and any Unicode character via UTF-8 and reports charset errors separately.

Address: https://marckimmel.de/en/informatik/zeichenkodierungen/base64
Deutsche Fassung: https://marckimmel.de/informatik/zeichenkodierungen/base64.md

Converts arbitrary text to Base64 and back. Unicode-safe via UTF-8.

Base64 encodes every 3 bytes as 4 ASCII characters. The padding "=" pads to a multiple of 4. Whitespace and line breaks in the input are stripped before decoding.

## Related

- [Character Encodings](https://marckimmel.de/en/informatik/zeichenkodierungen.md)
