Base64 Encoder & Decoder
Encode text into Base64, or decode Base64 back into readable text. Handles Unicode correctly (emoji, accents, non-Latin scripts).
About this tool
Base64 turns arbitrary bytes into plain ASCII text, which is why it's used to embed images in CSS/HTML, pass binary data through text-only fields like URLs or JSON, and store credentials in basic HTTP auth headers. It is not encryption — anyone can decode it back instantly, so it should never be used to protect sensitive data.
Is Base64 the same as encryption?
No. Base64 is an encoding, not encryption — it has no secret key and can be reversed by anyone. Use real encryption if you need to protect data.
Why did decoding fail?
The input isn't valid Base64 — it may contain characters outside the Base64 alphabet, or be missing padding. Double-check you copied the full string.