About Base64 Encode & Decode
What It Does
Encode text or images to Base64 and decode Base64 back to text. Useful for embedding images in HTML/CSS, sending binary data in JSON or URLs, and working with APIs that require Base64 encoding.
Features
- Text encode/decode — full Unicode support (emoji, accented characters, CJK) via UTF-8
- Image to Base64 — drag and drop or browse to convert any image to a data URI
- Ready-to-use snippets — HTML img tag and CSS background-image output
- Real-time — results update as you type
- Size comparison — see original vs Base64 size for images
Privacy
All encoding and decoding happens in your browser. No data is uploaded to any server.