Developer and IT utilities
Base64 encoder & decoder
Encode text to Base64 or decode Base64 as UTF-8 text.
Loading the interactive tool…
When to use Base64
Use this tool when a system expects text represented as Base64, or when you need to read Base64 data that contains UTF-8 text.
How to use this tool
- Choose Encode text or Decode Base64.
- Enter the text or Base64 value, then run the tool and copy the result.
UTF-8 text example
Inputs
- Action
- Encode text
- Text
hello
Outputs
- Base64 output
aGVsbG8=
The result is a different representation of the same text, not a protected secret.
How encoding and decoding work
Encoding first converts text to UTF-8 bytes and then represents those bytes as Base64. Decoding converts Base64 back to bytes and requires valid UTF-8 text.
Important limitation
- Base64 is not encryption, password protection or access control; anyone with the value can decode it.
- The decoder expects valid Base64 whose decoded bytes form valid UTF-8 text.
Processing
Encoding and decoding run in this browser; the entered text is not sent to the site's server.