Type or paste text above to encode it as Base64.
Encode, Decode & Convert Base64 Data Online
A comprehensive toolkit for working with Base64 encoding. Encode text to Base64, decode Base64 strings back to text, convert images to data URLs for embedding in HTML/CSS, and decode JWT (JSON Web Token) payloads to inspect their claims and expiration dates.
Base64 encoding is essential for embedding binary data in text-based formats like JSON, XML, HTML, and email. Developers frequently need to encode API credentials, decode webhook payloads, convert small images to inline data URLs, or debug JWT tokens during authentication development.
All encoding and decoding runs entirely in your browser using native Web APIs. Your sensitive data — API keys, tokens, credentials — never leaves your device. Supports standard Base64 and URL-safe Base64 variants.