Base64 Encode & Decode
Encode or decode Base64 as you type, with full Unicode support, URL-safe mode, and file-to-Base64 conversion.
Runs on your device
Works offline
Base640 chars
Output appears as you type.
What is Base64 used for?
Base64 represents binary data using 64 printable characters, so it can travel safely through systems built for text — email attachments, data URLs in CSS and HTML, HTTP Basic auth headers, JSON Web Tokens and configuration files.
This tool handles full Unicode (emoji and Arabic included) by encoding to UTF-8 bytes first, which the browser’s built-in btoa can’t do on its own.
More tools