Recode UTF-8 and Base64

The Base64 encoder and decoder moves text into a transport-safe form and back. You will use it for attachments, data URIs, and headers that carry binary payloads as text. Encoding and decoding stay on the client.

Source string

The left panel holds plain text or an existing Base64 string. Toggle direction when you need decode instead of encode.

Expect roughly thirty percent growth after encoding—that is normal for binary-safe text protocols.

Recoded output

The right panel shows the result ready for curl, Postman, or href attributes. Invalid symbols trigger a clear error.

No server round trip means tokens in the payload stay in your browser.

Plain textUTF-8
Base64btoa
Result will appear here
Input chars:0Output chars:0
Base64 Encoder & Decoder — UTF-8 ↔ Base64