← All tools
Developer · Utility

Base64 Encoder & Decoder

Encode plain text into Base64, or decode a Base64 string back into readable text, with full Unicode support for non-English characters.

Something went wrong encoding this text.
Base64 output
That doesn't look like valid Base64, check for missing characters or extra spaces.
Decoded text

What is Base64?

Base64 is a way of representing binary or text data using only 64 printable characters (A–Z, a–z, 0–9, +, /). It's commonly used to embed data, images, files, credentials, inside formats that only support plain text, such as JSON, URLs, or email.

Why does encoding non-English text need special handling?

Base64 works on raw bytes, and characters outside basic ASCII (like Urdu, Arabic, or emoji) take up multiple bytes in UTF-8. This tool converts your text to UTF-8 bytes first, so accented letters and non-Latin scripts encode and decode correctly.

Frequently asked questions

Is Base64 encryption?+
No. Base64 is an encoding, not encryption, anyone can decode it instantly with no key or password. Don't use it to protect sensitive data.
Why does decoding fail on some strings?+
Valid Base64 only contains letters, numbers, +, /, and = padding at the end. Extra line breaks, spaces, or a copy-paste that dropped characters will cause a decode error.