Base64 Encode/Decode
Encode text to Base64 or decode Base64 back to text.
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It uses 64 characters (A-Z, a-z, 0-9, +, /) to encode data, making it safe for transmission over text-based protocols like email and HTTP.
How to use this tool
Enter text in the input field and click 'Encode' to convert it to Base64, or paste a Base64 string and click 'Decode' to convert it back to plain text. The result can be copied to your clipboard with one click.
Common use cases
Embedding images in HTML or CSS using data URIs, encoding authentication credentials for HTTP Basic Auth headers, transmitting binary data in JSON payloads, and encoding email attachments in MIME format.