Image, File and Developer Tools
Base64 Encoder and Decoder
Encode text to Base64 or decode Base64 back to text, safely handling non-English characters.
Calculation History
Your recent calculations on this device. Stored only in your browser, never uploaded.
No calculations yet on this device.
How to Use
Paste your text, choose Encode or Decode, and press Convert. The result appears in the output box, ready to copy.
Formula and Methodology
Encoding converts text to bytes with UTF-8 first, then to Base64, so non-English characters survive the round trip. Decoding reverses the process, and invalid Base64 shows an error instead of a result.
Tips
Base64 is an encoding, not encryption. Anyone can decode Base64, so never use it to hide a password or secret.
Base64 makes the text about one third longer, because three bytes of text become four Base64 characters.
Frequently Asked Questions
No. Base64 only changes how bytes are represented as text, so that binary data can travel safely in text. Anyone can decode it, so it provides no secrecy.
The basic browser Base64 functions only handle Latin letters. This tool converts text to UTF-8 bytes first, so characters such as accented letters and other scripts encode and decode correctly.
The decoder shows a validation error instead of a result. Check for missing padding characters at the end, or characters that are not part of the Base64 alphabet.