Base64 Encoder Decoder

Base64 is a way to turn any text — including text with special characters, accents, or emoji — into plain letters, numbers, and a few symbols that can travel safely in a web address, an email, or a data file. It is not encryption: anyone can decode Base64, so it does not hide anything. It is encoding, for transport. This tool encodes text to Base64 and decodes Base64 back to text, both ways.

How to use it
Choose Encode to turn text into Base64, or Decode to turn Base64 back into text. Type or paste your text, press the button, and the result appears below, ready to copy. The tool handles Unicode properly, so “héllo 🌍 नमस्ते” encodes and decodes correctly instead of turning into broken characters. If you try to decode something that is not valid Base64, it will tell you instead of giving a wrong answer.

When is Base64 used?
In data URLs for small images, in API tokens and basic authentication headers, in email attachments, and in configuration files where a value must be plain text. Developers use it every day, often without noticing. If you see a long string ending in “=” signs, it is often Base64.

A warning
Because anyone can decode Base64 in seconds, never use it to hide a password, a secret, or private information. Use real encryption for secrets, and Base64 only for making text safe to transport.