Base64 Encode & Decode

Encode text to Base64 or decode it back online for free — UTF-8 safe, with a URL-safe option. Runs entirely in your browser.

100% private — runs entirely in your browser. Your files never leave your device.

100% private — runs in your browser

UTF-8 safe — handles emoji and accented characters correctly. Base64 is an encoding, not encryption; it hides nothing. Everything runs in your browser, so it’s fine for tokens and other sensitive strings.

How to use the Base64 Encode & Decode

  1. Choose Encode or Decode.
  2. Type or paste your text (or Base64).
  3. Toggle URL-safe if you need it.
  4. Copy the output.

What you can use it for

  • Encode text or tokens to Base64
  • Decode Base64 strings back to text
  • Create URL-safe Base64 for links
  • Inspect JWT-style payloads (UTF-8 safe)

More free tools

Wrangling code or data?

Format, encode, hash and minify with our free developer tools — 100% in your browser.

Browse all free developer tools →

Frequently asked questions

Does it handle emoji and accents?

Yes — encoding is UTF-8 safe, so emoji and accented characters round-trip correctly.

What is URL-safe Base64?

It swaps '+' and '/' for '-' and '_' and drops padding, so the result is safe to use in URLs and filenames.

Is Base64 encryption?

No — Base64 is an encoding, not encryption. It obscures nothing; anyone can decode it. Don't use it to protect secrets.

Is my text uploaded?

No — everything is processed locally in your browser.