Encode text to Base64 or decode Base64 back to text instantly, with full Unicode (UTF-8) support. Free, fast, and client-side.
Last updated 23 June 2026 · Built and maintained by Mustafa Bilgic
Base64 is an encoding that represents binary or text data using 64 printable ASCII characters. It is widely used in data URLs, email attachments, JSON Web Tokens, and APIs. This tool encodes text to Base64 and decodes Base64 back to text, with full Unicode support so emoji and accented characters survive the round trip.
| Context | Why Base64 |
|---|---|
| Data URLs | Embed images or fonts directly in HTML/CSS |
| Email (MIME) | Send binary attachments over text-only channels |
| JWT tokens | Encode header and payload segments |
| Basic Auth | Encode username:password in HTTP headers |
No. Base64 is an encoding, not encryption. Anyone can decode it. Never use Base64 alone to protect passwords or sensitive data.
Yes. The tool encodes using UTF-8 before Base64, so accented characters, non-Latin scripts, and emoji encode and decode correctly without corruption.
Decoding fails if the input is not valid Base64, for example if it contains spaces, line breaks, or characters outside the Base64 alphabet. Check that you pasted the complete, unbroken string.
Standard Base64 uses A-Z, a-z, 0-9, plus (+), and slash (/), with equals signs (=) for padding at the end.
No. Encoding and decoding happen entirely in your browser, so your text never leaves your device, which is safe for tokens and private content.