Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to text. Supports the URL-safe variant. Runs 100% in your browser.
What is Base64?
Base64 is an encoding scheme that represents binary data using 64 printable ASCII characters. It's commonly used to transmit binary data over text-only channels like email, JSON payloads, or URLs. Base64 encoding is not encryption — it's trivially reversible.
When to use Base64
Embedding images in CSS/HTML (data URIs), sending binary in JSON APIs, storing small binary blobs in text-based databases, and basic HTTP authentication headers. For URLs, use the URL-safe variant to avoid conflicts with + and / characters.