Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to readable text. Full UTF-8 support with URL-safe option. Runs entirely in your browser.
About this tool
Encode any text to Base64 or decode Base64 back to plain text with UTF-8-safe handling. Choose the URL-safe option to produce strings that work directly in URLs and JWT-like tokens.
Everything runs locally in your browser — nothing is uploaded. The tool is useful for embedding data in JSON, creating data URIs, hiding strings in configuration files, and working with API authentication payloads during development.
FAQ
What is Base64?
It is a text encoding that represents binary data using 64 printable characters. It makes data safe for transport in text-only systems like JSON and email.
Does this support Unicode?
Yes. Text is encoded as UTF-8 first, so Chinese, accented and emoji characters round-trip correctly.
What is URL-safe Base64?
It replaces + and / with - and _ so the result can be put directly in URLs and query strings without escaping.