Base64 Converter
Convert text or files to Base64 and vice versa.
How to Use
Choose conversion type (Encode or Decode).
Enter text or Base64 code.
Click "Convert" and copy the result.
Enter Data
About This Tool
What is Base64 Encoding?
Base64 is an encoding system that converts binary data to ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). It's widely used in email, APIs, and web to safely transfer data through text-based channels.
How Does the Encoding Work?
It splits text into groups of 3 bytes (24 bits), then re-divides them into 4 groups of 6 bits each. Each group is represented by a character from the Base64 table. If the length isn't a multiple of 3, padding '=' is added.
Practical Uses
- Embedding images in HTML/CSS as Data URIs
- Sending email attachments (MIME)
- Transferring data via APIs and JSON
- Storing binary data in text databases
- Encoding authentication tokens
Warning: Base64 is NOT encryption! Anyone can decode it. Don't use it to protect sensitive data. Use real encryption like AES for security. All processing happens in your browser.