Base64 Encoder & Decoder Online
Encode text to Base64 or decode Base64 back to readable text with this free tool. Unicode-safe and fully client-side — nothing is ever uploaded.
Something went wrong running this tool. Your inputs were kept.
What is Base64 encoder & decoder?
Base64 Encoder & Decoder — Encode text to Base64 or decode Base64 back to readable text with this free tool. Unicode-safe and fully client-side — nothing is ever uploaded.
Encoding and decoding are performed by js-base64 (vendored open-source library, BSD-3-Clause), which handles full Unicode correctly — native btoa/atob throw on non-Latin1 characters, js-base64 does not. Decode mode first validates the input with the library's own validity check, so malformed Base64 is rejected with a clear error instead of decoding to garbage. Whitespace and line breaks in pasted Base64 are tolerated. Everything runs in your browser; no text is sent to any server.
Why use this base64 encoder & decoder?
Built for base64 encoder & decoder
Encode text to Base64 or decode Base64 back to readable text with this free tool. Unicode-safe and fully client-side — nothing is ever uploaded.
Transparent & honest
Standard Base64 alphabet (A–Z, a–z, 0–9, +, /, = padding) — not the URL-safe variant that uses - and _ instead of + and /.
Private by design
Everything runs in your browser. Your inputs never leave your device.
Works everywhere
Fully responsive — perfect on desktop, tablet, and mobile. No app needed.
Regularly updated
Regularly maintained and reviewed to ensure accuracy.
Free forever
No accounts, no limits, no watermarks. Use Base64 Encoder & Decoder as much as you need.
How to use Base64 Encoder & Decoder
- 1Paste or type your content into the "Text" box.
- 2Pick "Encode" in the "Mode" dropdown to turn text into Base64, or "Decode" to turn Base64 back into readable text.
- 3Run the tool to get the result instantly.
- 4Copy the result — encoding is Unicode-safe, so emoji and non-Latin scripts survive the round trip.
- 5When decoding, make sure the input is valid Base64 — the tool flags anything it cannot decode instead of producing garbled text.
What can you do with Base64 Encoder & Decoder?
- Encode base64 online — Encode text to Base64 or decode Base64 back to readable text with this free tool.
- Decode base64 — Encode text to Base64 or decode Base64 back to readable text with this free tool.
- Convert text to base64 — Encode text to Base64 or decode Base64 back to readable text with this free tool.
- What is base64 converter used for — Encode text to Base64 or decode Base64 back to readable text with this free tool.
Good to know
- Standard Base64 alphabet (A–Z, a–z, 0–9, +, /, = padding) — not the URL-safe variant that uses - and _ instead of + and /.
- Decode mode validates first: input that fails the library's validity check is rejected with an error rather than decoded to garbage.
- Whitespace and line breaks inside pasted Base64 are tolerated; surrounding whitespace is trimmed before decoding.
How it works
Encoding and decoding are performed by js-base64 (vendored open-source library, BSD-3-Clause), which handles full Unicode correctly — native btoa/atob throw on non-Latin1 characters, js-base64 does not. Decode mode first validates the input with the library's own validity check, so malformed Base64 is rejected with a clear error instead of decoding to garbage. Whitespace and line breaks in pasted Base64 are tolerated. Everything runs in your browser; no text is sent to any server.
Examples
Status: ok — result "SGVsbG8sIHdvcmxkIQ==".
Status: ok — result "Hello, world!".
Status: ok — result "aGVsbG8gaHVzbmFpbiDinJM="; the ✓ survives because encoding is Unicode-safe.
Related searches
People also search for these — this tool handles them all: