Tools Encoding

Base64 Encode & Decode

Convert text to Base64 and back, including the URL-safe alphabet.

๐Ÿ”’ Runs in your browser. Nothing is uploaded.
Base64

How to use it

  1. Choose Encode or Decode.
  2. Paste your text or Base64 string into the input box. The result updates as you type.
  3. Turn on URL-safe to use - and _ instead of + and /, without = padding, as in JWTs and URLs.
  4. Copy the result.

Questions

Does this handle emoji and non-English text?

Yes. Text is converted to UTF-8 bytes before encoding, so any character survives the round trip.

What is URL-safe Base64?

A variant (base64url) that replaces + with - and / with _, and drops the = padding, so the result can go in URLs, filenames and JWTs without escaping. The decoder accepts both alphabets.

Is Base64 encryption?

No. Base64 is an encoding that anyone can reverse. Never use it to hide passwords or secrets.