Encode and decode Base64 and URL strings in one place.
Pick Base64 or URL, then choose whether to encode or decode.
Paste your text. The result appears as you type.
Copy the output, or swap it back into the input to reverse it.
Base64 turns binary data into plain text, and URL encoding makes text safe to put inside a web address. Developers meet both constantly, in headers, tokens, query strings and data URIs.
This tool handles Unicode correctly, supports the URL safe Base64 variant, and can encode a file for you. All of it happens in your browser.