What is Base64?
Base64 is an encoding scheme that represents data using 64 printable ASCII characters (A-Z, a-z, 0-9, + and /). It's used whenever binary or special-character data needs to travel through systems that only handle text — embedding images in CSS or HTML, sending attachments in email, storing data in JSON or XML, and encoding values in URLs and tokens.
How to use this tool
- Encode — switch to Encode mode, type or paste your text, and click Encode to get the Base64 string
- Decode — switch to Decode mode, paste a Base64 string, and click Decode to recover the original text
- Copy — copy the output to your clipboard with one click
Your data stays private
This tool uses the browser's built-in encoding functions — nothing is uploaded. That's important when your text contains tokens, keys, or other sensitive values. Need to format data instead? Try the JSON formatter.