cd ../tools

$ Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 strings back to plain text. Supports UTF-8 encoding.

100% Client-Side - Your data never leaves your browser

encode.sh
decode.sh

$ cat base64_info.md

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for embedding binary data in text-based formats like JSON, XML, or HTML.

Common Uses
  • • Data URLs for embedding images in HTML/CSS
  • • Email attachments (MIME encoding)
  • • JWT tokens and API authentication
  • • Storing binary data in JSON/XML
Security Note

Base64 is NOT encryption. It's an encoding scheme that can be easily decoded. Never use Base64 to "hide" sensitive data.

$ quick_reference

Input:

Hello, World!

Output:

SGVsbG8sIFdvcmxkIQ==

Character Set:

A-Z, a-z, 0-9, +, /

Padding:

= (at end, if needed)

Disclaimer

This tool is for educational and development purposes. Never use Base64 encoding as a security measure - it is easily reversible.