Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text. Unicode is handled correctly through UTF-8, the URL safe alphabet is available for tokens and URLs, and undecodable input reports an error instead of producing garbage.
Text
Result
Result will appear hereReady. Press Run or Ctrl+Enter.
How to use the Base64 Encode / Decode
- Choose Encode or Decode.
- Paste your text or Base64.
- Run the tool and copy the result.
Example
Encode shows how the checkmark survives as UTF-8 bytes.
Hello, JSON ✓
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding anyone can reverse. Never use it to protect secrets.
What is URL safe Base64?
The same encoding with - and _ instead of + and /, and padding removed, so it can travel in URLs and filenames.