Base64 Encode / Decode
Works locally in your browser. Beware of binary → UTF‑8 pitfalls; use the Unicode mode below.
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme used to safely transmit data over channels that only support text. It is commonly used for encoding images, files, JSON objects, and authentication tokens into plain text.
How to use this Base64 tool
- Encode: Paste text and click Encode to get Base64 output.
- Decode: Insert Base64 data to get back the original text.
- URL-safe: Use the variant with
-
and_
for URLs and filenames. - Unicode-safe: Correctly handles emojis and non-ASCII characters.
This Base64 encoder/decoder runs fully in your browser — no data is sent to any server. It is ideal for developers, testers, and anyone working with encoded text.