Base64 Encoder and Decoder
Encode text for transport or decode an existing Base64 value, with Unicode-aware handling.
Popular in this group
Switch tools without re-entering your text.
About this tool
Base64 Encoder and Decoder — Base64 represents bytes with a restricted text alphabet, making data easier to carry through text-based systems. It is commonly seen in data URLs, headers, configuration, and tokens.
Base64 is reversible encoding, not encryption. Anyone with a decoder can recover the original data, so it should never be used to protect secrets.
How to use it
- Paste plain text to encode, or a Base64 string to decode.
- Choose Encode or Decode.
- Check the result and copy it; padding characters such as = may be valid.
Example
FoundSchool ✓
Rm91bmRTY2hvb2wg4pyT
The output depends on the UTF-8 bytes of the input, not just the number of visible characters.
Common uses
- Prepare small text values for text-only channels.
- Inspect Base64 fields in development data.
- Decode values while debugging integrations.
What to know
- Base64 increases data size and does not compress it.
- Invalid alphabet characters, missing padding, or Base64URL variants can cause decode errors.
Privacy: Encoding and decoding run locally in your browser. Do not paste secrets into untrusted devices.
Frequently Asked Questions
Is Base64 encryption?+
No. It provides no confidentiality and is designed only to represent bytes as text.
Why does Base64 sometimes end with =?+
The equals signs are padding used when the input byte length does not fit complete encoding groups.
What is Base64URL?+
It uses URL-safe characters, commonly replacing + and / with - and _, and may omit padding.