Developer Tools
Base64 Encoder & Decoder
Encode or decode Unicode text safely.
How to Use Base64
- Enter plain text to encode or Base64 text to decode.
- Choose Encode or Decode.
- Copy the resulting text from the output field.
Working Code Example
Input
Hello
Code / Output
console.log(btoa('Hello'));Expected result: SGVsbG8=
Common Errors & Troubleshooting
- Remove non-Base64 characters from encoded input.
- Invalid UTF-8 data cannot be decoded as text by this tool.
Frequently Asked Questions
Is Base64 encryption?
No. Base64 is an encoding format, not encryption, and does not protect sensitive data.
Can it encode Unicode text?
Yes. The tool encodes UTF-8 text and decodes valid Base64 back to UTF-8.