Free Online Base64 Encode / Decode
Base64 is how tokens, headers and inline assets travel safely through systems that only accept plain characters.
Loading tool…
How to use Base64 Encode / Decode
- Type or paste the input.
- Pick Encode or Decode.
- Choose the URL-safe alphabet if the value goes in a query string.
- Copy the result.
Questions about Base64 Encode / Decode
Is Base64 encryption?
No. It is reversible encoding with no secret, so never use it to protect a password.
Why does decoding fail?
Usually a stray character or a length that is not a multiple of four; the tool points at the position.
About Base64 Encode / Decode
Encode or decode text with Base64 with our free online Base64 Encode / Decode. 100% browser-based, fast, and private—no login or file uploads required.
These text and code tools clean and transform strings: count words, convert case, deduplicate lines, encode or decode Base64 and URLs, escape entities, hash, format JSON and compare two versions.
This tool runs in your browser. The file is not uploaded. Everything runs on the text you paste, so you can safely process snippets of code or logs; nothing is sent anywhere, and clearing the box removes it from memory.