Base64 & URL Encoder / Decoder
Encode or decode text with Base64 and URL encoding, right in your browser.
What this tool does
This tool converts text to and from Base64 and URL (percent) encoding. Both are ways of representing text so it can travel safely through systems that only accept a limited set of characters — for example inside URLs, HTTP headers, e-mail or JSON. Everything runs locally in your browser, so your text is never uploaded.
Base64 vs URL encoding
Base64 rewrites any data using 64 safe characters (A–Z, a–z, 0–9, + and /), commonly used for embedding images, tokens or binary data in text. URL encoding replaces unsafe characters with a % followed by their hex code, such as turning a space into %20, so links stay valid. This tool handles full Unicode (UTF-8) correctly in both directions.
How to use it
Choose the operation — Base64 encode/decode or URL encode/decode — then type or paste your text. The result appears instantly below. Use Swap to move the output back into the input (and flip the operation) for quick round-trips, and Copy to grab the result.
Common uses and tips
Developers use Base64 for data URIs, API tokens and email attachments, and URL encoding for query strings and form data. If decoding fails, check that the input is complete and not already decoded — a common mistake is decoding text that was never encoded, which produces an error or garbled output.
Frequently Asked Questions
What is the Base64 & URL Encoder / Decoder?
Encode or decode text with Base64 and URL encoding, right in your browser. It runs instantly in your browser and is completely free.
Is the Base64 & URL Encoder / Decoder free and does it require signup?
Yes. Every calculator on Calculatis is 100% free with no registration, and the values you enter are never stored.
How accurate is the Base64 & URL Encoder / Decoder?
It uses standard, widely-accepted formulas. Results are reliable estimates for general use and are not a substitute for professional advice.