Base64 Encode / Decode
Original Text
Base64 Result
HOSTS FILE MANAGER
Try Helm for macOS
Helm is a native macOS app for managing your hosts file. Organize project-based rules, run built-in diagnostics, sync remote sources, and switch environments fast — all with a clean visual interface.
Learn More about HelmHow Base64 Encoding Works
Base64 encoding converts binary data (8-bit bytes) into ASCII characters (6-bit bytes). It is commonly used to transfer data over media that are designed to deal with textual data, ensuring that the data remains intact without modification during transport.
Example: Converting "Man" to Base64
| Text | M | a | n | |||||||||||||||||||||
| ASCII | 77 | 97 | 110 | |||||||||||||||||||||
| Bits | 01 | 00 | 11 | 01 | 01 | 10 | 00 | 01 | 01 | 10 | 11 | 10 | ||||||||||||
| Index | 19 (T) | 22 (W) | 5 (F) | 46 (u) | ||||||||||||||||||||
| Base64 | T | W | F | u | ||||||||||||||||||||