Base64 Encode & Decode Tool
Free · no signup · runs entirely in your browser
Open the tool →Base64 turns text into a string of letters, numbers, and a couple of symbols so it can travel safely through systems that only expect plain ASCII — email attachments, data URLs, API payloads, config files. It's not encryption. Anyone can decode it in two seconds. It's just a format shift.
This tool does exactly that shift, both directions, in your browser. Type or paste text into the TEXT box and hit ENCODE to get the Base64 version. Paste Base64 into the BASE64 box and hit DECODE to get the original text back. That's the whole tool: two boxes, two buttons.
It handles Unicode properly — emoji, accented characters, non-Latin scripts — by running text through UTF-8 encoding before the Base64 conversion, so round-tripping doesn't mangle special characters the way naive Base64 implementations sometimes do.
Everything happens client-side. Nothing you type gets sent anywhere, logged, or stored. Close the tab and it's gone. No account, no rate limit, no ads pretending to be the download button.
Use it for debugging a Base64-encoded JWT payload, decoding a data: URI someone pasted into a bug report, prepping a string for an API that wants Base64, or just checking what garbled text in a log file actually says. It's a utility, not a product — it does one small job and gets out of your way.
How to use it
- Paste or type your text into the TEXT box, then click ENCODE to get the Base64 string in the BASE64 box.
- Or paste an existing Base64 string into the BASE64 box and click DECODE to see the original text in the TEXT box.
- Copy the result out of whichever box has what you need. There's no save button because there's nothing to save — it's all local.
Worked example
Type "Hello World" into the TEXT box and click ENCODE. The BASE64 box fills with "SGVsbG8gV29ybGQ=". Paste that string back into the BASE64 box and click DECODE, and the TEXT box shows "Hello World" again. The trailing "=" is padding Base64 adds when the input length doesn't divide evenly into 3-byte chunks — that's normal, not an error.
FAQ
Is Base64 encryption?
No. It's a reversible encoding, not a cipher. Anyone with the string and a Base64 decoder — including this one — can get the original text back instantly. Don't use it to hide secrets.
Does this tool upload my text anywhere?
No. The encode and decode both happen in your browser using built-in JavaScript functions. Nothing is sent to a server.
Why did decoding give me garbled or broken text?
That usually means the pasted string isn't valid Base64 — missing characters, extra whitespace, or it was encoded by something using a different character set. Check the string is complete and try again.
Can it handle emoji and non-English text?
Yes. Text is passed through UTF-8 encoding before Base64 conversion, so accented letters, emoji, and non-Latin scripts encode and decode correctly.
Open the Base64 Encode & Decode Tool →