Encode text to Base64 or decode Base64 back to readable text, with full Unicode support and a URL-safe variant. Useful for data URIs, basic auth headers and embedded payloads.
Getting started
Paste the text you want to encode, or the Base64 string you want to decode.
Switch between encode and decode modes.
Enable the URL-safe variant if the output will be used in a URL or filename.
Copy the result — conversion happens as you type.
Why it helps
Handles Unicode correctly, including emoji and non-Latin scripts that break naive implementations.
The URL-safe variant replaces the characters that would otherwise need percent-encoding.
Decodes as you type, so malformed input is obvious immediately.
Completely local, which matters because Base64 is frequently used to carry credentials.
In practice
Building or reading an HTTP Basic authentication header.
Creating a data URI to embed a small asset directly in CSS or HTML.
Inspecting a Base64-encoded payload found in a log or a query string.
Encoding binary-unsafe content for transport through a text-only channel.
Everything people ask most about the base64 encoder & decoder, answered plainly.
Keep exploring
More from Developer Tools and beyond — most people who use this one reach for these next.