Base64 Encoder/Decoder
Encode and decode text, files, and images to Base64. Supports URL-safe encoding.
Options
Drop a file here or click to upload
Any file type supported (max 5MB for display)
Base64 length: characters ( KB encoded)
Common Use Cases
Embed Images
Convert images to data URIs for inline HTML/CSS
API Tokens
Encode/decode JWT tokens and API keys
Email Attachments
Encode files for MIME email format
Data Storage
Store binary data in text-based formats
What is Base64?
Base64 is a binary-to-text encoding scheme that converts binary data into ASCII characters. It's commonly used to transmit data over channels that only support text, such as email or URLs.
Standard Base64
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
Uses + and / as the last two characters
URL-safe Base64
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_
Uses - and _ for URL/filename compatibility
Encoding Examples
Plain Text
Hello, World!
Base64 Encoded
SGVsbG8sIFdvcmxkIQ==
Plain Text
user:password
Base64 Encoded
dXNlcjpwYXNzd29yZA==
Plain Text
{"key":"value"}
Base64 Encoded
eyJrZXkiOiJ2YWx1ZSJ9
Plain Text
https://example.com
Base64 Encoded
aHR0cHM6Ly9leGFtcGxlLmNvbQ==
Plain Text
API_KEY_12345
Base64 Encoded
QVBJX0tFWV8xMjM0NQ==
Plain Text
12345
Base64 Encoded
MTIzNDU=
Submit Your Tool to ufind.best
Join thousands of tools and gain exposure from our community.