Base64 Encode / Decode
Paste text or a Base64 string, choose Encode or Decode, and get the result instantly. Supports Unicode and URL-safe Base64 (RFC 4648 §5).
Advertisement
Frequently Asked Questions
What is Base64?
Base64 is an encoding scheme that converts binary data into a string of 64 ASCII characters (A–Z, a–z, 0–9, +, /). It is commonly used to safely transmit binary data — such as images or files — through text-based channels like email or JSON APIs.
Is Base64 the same as encryption?
No. Base64 is an encoding, not encryption. Anyone can decode a Base64 string without a key — it provides no security. Use it for encoding, not for hiding data.
What is URL-safe Base64?
Standard Base64 uses + and / characters which have special meaning in URLs. URL-safe Base64 (RFC 4648 §5) replaces + with - and / with _ so the encoded string can be used directly in URLs and filenames without percent-encoding.
Why does my decoded output look wrong?
The most common causes are: the input is not valid Base64 (check for characters outside A–Z, a–z, 0–9, +, /, =), the padding (trailing = signs) is missing or incorrect, or the string was encoded with URL-safe characters (- and _) but URL-safe mode is off.
Does this tool support Unicode and emoji?
Yes. The encoder converts your text to UTF-8 bytes before encoding, so any Unicode character — including emoji and non-Latin scripts — is handled correctly.