What is Base64 Encoding and How Does It Work?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-64 representation. Each Base64 digit represents exactly 6 bits of data.
Base64 Character Set Reference Table
| Index Range | Binary Value | Represented Characters |
|---|---|---|
| 0 – 25 | 000000 – 011001 | Uppercase Letters: A – Z |
| 26 – 51 | 011010 – 110011 | Lowercase Letters: a – z |
| 52 – 61 | 110100 – 111101 | Digits: 0 – 9 |
| 62, 63 | 111110, 111111 | Standard: + / | URL-Safe: - _ |
Frequently Asked Questions
❓ What is the difference between Standard Base64 and URL-Safe Base64?
Standard Base64 uses '+' and '/' characters, which have special meanings in URLs. URL-Safe Base64 replaces '+' with '-' and '/' with '_', making the string safe to pass in query parameters without URL encoding.
❓ Does this tool support international Unicode characters and emojis?
Yes! Our converter encodes strings using full UTF-8 byte arrays before converting to Base64, preserving all non-Latin alphabets and emojis.