Base64 Encode/Decode
Result will appear here...
What is Base64 Encoding?
Base64 is a binary-to-text encoding scheme that converts binary data into an ASCII string using 64 printable characters. This tool lets you encode text to Base64 or decode Base64 back to text, with full UTF-8 support for international characters and emoji. All processing runs locally in your browser.
Common Use Cases
- Embedding Data in URLs and HTML — Convert images, fonts, or binary data to Base64 for use in data URIs (e.g.,
data:image/png;base64,...). Useful for inlining small assets to reduce HTTP requests. - Working with APIs and Authentication — Many APIs use Base64 encoding for credentials (HTTP Basic Auth), tokens, and binary payloads. Quickly encode or decode these values during development and debugging.
- Email and Data Transfer — Base64 is the standard encoding for email attachments (MIME) and is commonly used when transferring binary data through text-only channels like JSON, XML, or form fields.