Base64 encoding turns text into a safe ASCII string used in data URIs, tokens and APIs. This tool encodes text to Base64 and decodes it back just as easily.
Everything runs in your browser, so your text is never uploaded.
How to use the Base64 Encoder / Decoder
- Paste your text or Base64 string.
- Choose encode or decode.
- Copy the result.
What Base64 is, and what it is not
Base64 represents binary data using 64 safe text characters, so files and bytes can travel through systems built for text: JSON, XML, URLs, email and environment variables. Encoded data is about 33 percent larger than the original. One thing Base64 is not: encryption. Anyone can decode it instantly, so it hides nothing and must never be used to protect passwords or secrets.
Where you meet Base64 daily
API keys and JWT tokens, data URIs that embed images in web pages, email attachments, basic authentication headers and values in configuration files are all Base64. When debugging, decoding a mystery string is often the fastest way to see what a system is actually passing around. Encoding and decoding here run in your browser, so tokens and credentials are never transmitted.
Common uses
- Decoding tokens and headers while debugging
- Encoding binary data for JSON and XML transport
- Creating data URIs for embedded resources
- Reading values from config files and API payloads
Frequently asked questions
Is it free?
Yes, free with no signup.
Is my text uploaded?
No. Encoding and decoding happen locally in your browser.
What is Base64 used for?
It safely represents binary or text data in places that only allow ASCII, such as data URIs and tokens.
Does it support Unicode?
Yes, it handles Unicode text correctly.