Free Base64 Encoder and Decoder
Encode text to Base64 or decode Base64 back to text with full Unicode support. Data stays in your browser.
About this tool
Base64 turns bytes into plain text characters so they can travel safely in emails, URLs and JSON. This tool encodes text as UTF-8 first, so emoji and non-English characters round-trip correctly. Base64 is an encoding, not encryption.
How to use Base64 Encoder and Decoder in 3 Simple Steps
Paste your input
Enter plain text to encode or a Base64 string to decode.
Click Encode or Decode
The result appears instantly below.
Copy the output
Copy it into your code, email or document.
Why ForgePDF Base64 Encoder and Decoder is Completely Private
🔒 Encoding and decoding use your browser's built-in functions. Tokens, keys or text you paste never leave your device.
Frequently Asked Questions
Is Base64 a form of encryption?
No. Anyone can decode Base64, so never use it to protect secrets.
Why does decoding fail?
The input may contain characters outside the Base64 alphabet, be missing padding, or decode to bytes that are not valid UTF-8 text.