Base64 Encode / Decode
Encode text to Base64 or decode it back. Supports UTF-8 and URL-safe Base64.
Output
How to use the Base64 Encode / Decode
-
Choose Encode or Decode.
-
Type or paste your text.
-
Copy the converted result.
What is Base64 encoding?
Base64 represents binary or text data using 64 ASCII characters, making it safe to embed in URLs, JSON, data URIs, emails and HTML. It's encoding, not encryption — anyone can decode it. This tool encodes and decodes correctly across Unicode (including emoji) and offers a URL-safe variant that swaps + and / for - and _.
Key features
- Encode and decode in one place
- Correct UTF-8 handling, including emoji
- URL-safe Base64 option
- Swap output to input for quick round-trips
Frequently asked questions
Is Base64 secure or encrypted?
No. Base64 is reversible encoding, not encryption — never use it to protect secrets.
What is URL-safe Base64?
A variant that replaces + and / with - and _ and drops padding, so the result is safe inside URLs.
Does it support emoji and accents?
Yes — text is encoded as UTF-8, so all Unicode characters round-trip correctly.