Skip to main content
Home

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

  1. Choose encode or decode mode.
  2. Paste your text (to encode) or Base64 string (to decode).
  3. Optionally enable URL-safe encoding (uses - and _ instead of + and /, with padding removed).
  4. 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.