Base64 Encoder/Decoder
About this tool
Encode text to Base64 or decode Base64 back to text, with an optional URL-safe variant.
How to use it
- Choose encode or decode mode.
- Paste your text (to encode) or Base64 string (to decode).
- Optionally enable URL-safe encoding (uses - and _ instead of + and /, with padding removed).
- Get the result instantly.
Frequently asked questions
- What is URL-safe Base64?
- A variant that replaces the '+' and '/' characters (which have special meaning in URLs) with '-' and '_', and omits padding - useful when the encoded value needs to go directly into a URL.
- What happens if I try to decode invalid Base64?
- You'll get a clear validation error rather than garbled output.