Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text, with full UTF-8 support.
Tool
Was this tool useful?
About this tool
About Base64 Encode / Decode
Base64 is used in emails, data URIs and APIs. This tool converts in both directions and supports emoji and non-English text.
How it works
Text is converted to UTF-8 bytes, then every 3 bytes become 4 Base64 characters. URL-safe mode uses - and _ instead of + and /.
Example
“Hello” → “SGVsbG8=”.
How to use this tool
- Paste text or Base64.
- Click Encode or Decode.
- Copy the result.
Frequently asked questions
Is Base64 encryption?
No. It is just encoding; anyone can decode it.
Why does decoding fail?
The input may contain invalid characters or be cut off.
Does the Base64 Encode / Decode send my data to a server?
No. The Base64 Encode / Decode runs entirely in your browser using JavaScript, so tokens, code and data you paste stay on your device. You can even use it offline once the page has loaded.