Create data URLs from content with customizable MIME type and encoding
Enter input to see results instantly
MIME type (e.g., text/plain, text/html, application/json, image/svg+xml)
Encoding method: base64 or utf8 (percent-encoded)
Character set (e.g., utf-8, us-ascii)
Base64 Encode
Encode text to Base64 format
Base64 Decode
Decode Base64 encoded text
Base64URL Encode
Encode text to URL-safe Base64 format (RFC 4648)
Base64URL Decode
Decode URL-safe Base64 encoded text (RFC 4648)