Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text, with full UTF-8 support and a URL-safe option.
How to use
- 1Choose Encode or Decode.
- 2Paste your text or Base64 string — the result updates instantly.
Frequently asked questions
What is Base64 used for?
It represents binary data as plain text, so it can travel safely in JSON, email, URLs, data: URIs and HTTP headers.
Is Base64 encryption?
No. Anyone can decode it instantly. It's an encoding for transport, not a way to hide information.
What is URL-safe Base64?
A variant (Base64url) that uses - and _ instead of + and / and drops = padding, so it can go in URLs and JWTs.