Base 64 Decode & Encode Tool
Decode from Base64 or Encode to Base64 with advanced formatting options. Use this free tool to convert your data.
How to use it
Type or paste text, then Encode or Decode. UTF-8 characters such as emoji are supported. Use Swap to feed the result back in.
What is Base64?
Base64 encoding allows you to represent (binary) data using only a limited, common subset of the available characters, far more efficiently than writing a string of 1s and 0s as ASCII.
Why use Base64?
Base64 is used when binary data needs to be stored or transferred over media designed to deal with text. It ensures the data remains intact without modification during transport.
Frequently asked questions
- How do I encode text to Base64?
- Type or paste the text and press Encode. To go back, paste the Base64 and press Decode.
- Does it handle UTF-8 and emoji?
- Yes. Text is converted to UTF-8 bytes before encoding, so accented characters and emoji decode back to the same text.
- Is Base64 encryption?
- No. Base64 is an encoding that anyone can reverse. It makes binary data safe to carry in text, and does not protect it.
- Why is the Base64 output longer than the input?
- Every 3 bytes become 4 characters, so the output is about a third longer, plus padding with = signs.