Base64 Converter
Encode and decode Base64 text
Standard Base64 uses +, /, and = padding.
Base64 Encoder and Decoder
Use this tool to encode plain text as Base64 or decode a Base64 string back to readable UTF-8 text. Base64 is commonly used in API payloads, email attachments, data URLs, basic authentication headers, and systems that need to carry binary-safe data through text formats.
The converter runs locally in your browser and supports Unicode text, including Chinese and emoji. Base64 is an encoding format, not encryption, so it should not be used to protect passwords, private keys, or confidential data.
Choose URL-safe Base64 for URL parameters, filenames, and JWT segments. This variant replaces + and / with - and _, and commonly omits trailing = padding.
Frequently Asked Questions
Is Base64 secure or encrypted?
No. Anyone can decode Base64. Use established encryption and secure transport when information must remain confidential.
Why does Base64 decoding fail?
The input may contain invalid characters, damaged padding, or a string produced by a different encoding format. Confirm that the source is valid Base64.
Does this tool support Unicode?
Yes. Text is converted through UTF-8 before encoding and after decoding, so international characters are supported.
What is Base64URL?
Base64URL is the URL-safe alphabet defined by RFC 4648. It avoids characters with special meaning in URLs and is commonly used in JWTs and API tokens.