Toolbench

Base64 Encoder & Decoder

Encode text to Base64 or decode it back, with a URL-safe option.

Runs entirely in your browser. Nothing you enter is uploaded.

How to use

  1. Choose Encode or Decode.
  2. Paste your text.
  3. Tick URL-safe if you need - and _ instead of + and /.
  4. Copy the result.

Example

The text "Hello, wörld" encodes to SGVsbG8sIHfDtnJsZA== and decodes back to the same text.

About this tool

Base64 turns bytes into plain text characters so they can travel through systems that only handle text. It is an encoding, not encryption: anyone can decode it.

Frequently asked questions

Is Base64 secure?

No. It hides nothing. Never use it to protect passwords or secrets.

What is URL-safe Base64?

It swaps + and / for - and _ and drops the = padding so the result can be used in URLs and filenames.

Does it handle emoji and accents?

Yes. Text is converted as UTF-8 before encoding.

Related tools