About this tool: Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 back to text. The tool handles UTF-8 characters correctly, and a swap button turns the output into the next input.
How to use it
- Choose Encode or Decode.
- Paste your text or Base64 string into the input box.
- Read the result in the output box.
- Copy the result, or use Swap to feed it back in the other direction.
Frequently asked questions
- What is Base64 used for?
- Base64 represents binary or special-character data using plain text characters, so it can travel safely in URLs, JSON, emails and data URIs.
- Is Base64 encryption?
- No. It is only an encoding that anyone can reverse, so never use it to protect secrets.
- Why does decoding say my input is invalid?
- The input is not valid Base64. Check for missing padding characters, extra symbols or text that was truncated when copied.