64

Base64 Encoder/Decoder

Encode and decode Base64 strings

Convert text to Base64 encoding or decode Base64 back to text. Supports standard and URL-safe variants. Processing happens entirely in your browser.

Output will appear here...

What is Base64?

Base64 is a binary-to-text encoding scheme that converts binary data into ASCII characters. It's commonly used to encode data that needs to be stored or transferred over media designed to handle text.

Data URIs

Embed images, fonts, and other files directly in HTML, CSS, or JavaScript using Base64-encoded data URIs.

API Communication

Safely transmit binary data in JSON payloads, email attachments, and other text-based protocols.

URL-Safe Variant

Replace + and / with - and _ to use Base64 strings safely in URLs without encoding issues.

Common Use Cases

Encoding images for inline display in HTML/CSS
Transmitting binary data in JSON APIs
Encoding data for use in URLs
Basic obfuscation (not encryption!)
Storing binary data in text-only databases
Email attachments (MIME encoding)

Base64 is NOT encryption

Base64 encoding is reversible and provides no security. Never use Base64 alone to protect sensitive data. For security, use proper encryption algorithms.