Encode and decode text, credentials, and data using Base64 encoding. Perfect for developers and security professionals.
Tip: Press Ctrl+Enter (Cmd+Enter on Mac) to encode
1. Choose Operation: Select whether you want to encode text to Base64 or decode Base64 to text
2. Enter Text: Input your text in the textarea (or use the example button)
3. Process: Click the encode/decode button or use Ctrl+Enter (Cmd+Enter on Mac)
4. Copy Result: Click the copy button to copy the result to your clipboard
5. Swap Operation: Use the swap button to quickly reverse the operation
• Definition: Base64 is a binary-to-text encoding scheme that represents binary data in ASCII string format
• Character Set: Uses 64 characters: A-Z, a-z, 0-9, +, and / (with = for padding)
• Purpose: Designed to carry data stored in binary formats across text-based protocols
• Size Overhead: Increases data size by approximately 33% due to 6-bit to 8-bit conversion
• Email Attachments: Encode binary files for email transmission
• Web Development: Embed images and other binary data in HTML/CSS
• API Credentials: Encode usernames and passwords for HTTP Basic Authentication
• Data Storage: Store binary data in text-based databases or configuration files
• URL Parameters: Encode binary data for use in URLs
• Cryptography: Encode keys, certificates, and encrypted data
• Padding: Uses = characters for padding to make the string length a multiple of 4
• Line Length: RFC 2045 recommends lines not exceed 76 characters
• Character Mapping: Each 6-bit group maps to one of 64 possible characters
• Efficiency: 3 bytes of binary data become 4 characters of Base64