Base64 encoder / decoder
Base64 turns arbitrary data into 64 printable characters, commonly used to carry binary or special content where only text is allowed — email, JSON, data URIs, JWT. This online Base64 tool fully supports UTF-8, handles emoji and non-Latin text correctly, and offers a URL-safe mode.
How to use
- To encode: paste plain text and click Encode.
- To decode: paste a Base64 string and click Decode to recover the original.
- Tick URL-safe before encoding if the result goes into a URL or filename.
Common use cases
- Embed a small image as a data URI in HTML/CSS.
- Inspect the contents of a JWT.
- Pass binary data through an API.
- Put special characters safely into a URL parameter.