Base64 encoder and decoder for UTF-8 text
Convert readable text to Base64 or decode Base64 back to text. Unicode is handled as UTF-8, entirely in your browser.
Ready when you are.
Your input stays in this tab. DevBox does not upload or save it.
How to encode or decode Base64
Enter plain text and choose Encode to get a Base64 value. To reverse it, paste Base64 and choose Decode. Whitespace around or inside an encoded value is ignored, and missing trailing padding is accepted when the remaining value is otherwise valid.
Base64 makes bytes safe to store in text formats, but it makes data larger and does not hide it. Use encryption when confidentiality matters.
Base64 questions
What is Base64 encoding?
Base64 turns binary bytes into text using a 64-character alphabet. It is commonly used in API payloads, data URLs, email attachments and configuration values that need to carry bytes through text-only systems.
Is Base64 encryption?
No. Base64 provides no secrecy and needs no key. Anyone can decode it, so never use Base64 alone to protect passwords, access tokens or personal information.
Does this Base64 tool support Unicode?
Yes. DevBox converts text to UTF-8 bytes before encoding and converts decoded bytes back to UTF-8, so accented letters, emoji and non-Latin scripts round-trip correctly.
Why can Base64 decoding fail?
The value may contain characters outside the Base64 alphabet, have impossible padding, be truncated, or represent bytes that are not valid UTF-8 text. This tool reports those cases instead of displaying corrupted characters.