Base64 Encode & Decode
Type text to encode it to Base64, or paste a Base64 string to decode it back to text. You can also drop a file to convert it to a Base64 data URL.
Drop a file here or click to upload
Any file type supported
Features
How to Use
1. Pick Encode or Decode at the top.
2. Type or paste your input on the left, OR drop a file into the upload zone.
3. Click Process — the result appears on the right.
4. Click Copy to copy the result.
About this tool
Base64 turns any bytes into 64 safe text characters so binary data can travel through places that only accept text: JSON payloads, email bodies, data URLs, or HTTP headers. Every three bytes become four characters, which is why encoded data is about a third larger than the original. This tool encodes text as UTF-8 first, so accented letters, Chinese, Arabic and emoji survive a round trip intact. Drop a file to get it as a Base64 data URL you can paste into CSS or HTML, and paste an encoded string to turn it back into readable text. If you paste something that already looks like Base64 while in Encode mode, the tool switches to Decode for you.