Tools you might need next
Encode text to Base64 online with full Unicode support. Convert strings for APIs, data URLs, email attachments, and safe binary-to-text transport.
Decode Base64 to text. Supports Unicode. For APIs and data decoding. Free developer utility that runs locally in your browser — fast, private, and no server
Encode text for URLs. Percent encoding. For query strings and links. Free developer utility that runs locally in your browser — fast, private, and no server
Each character is converted to its binary (base-2) representation using its character encoding value. ASCII uses 7 bits (0-127). UTF-8 uses 8-32 bits depending on the code point range.
ASCII: char → decimal → 8-bit binary (zero-padded); e.g., A=65=01000001Binary output is typically grouped in 8-bit bytes separated by spaces. For readability, bits may also be grouped in nibbles (4 bits). The most significant bit (MSB) is leftmost.
Updated: July 2026
Encode the ASCII string "Hello" as space-separated binary bytes.
→ 01001000 01100101 01101100 01101100 01101111
Convert binary sequence back to readable text.
→ Text: "Test"
Non-ASCII characters (accented letters, CJK, emoji) require multi-byte encoding in UTF-8. A Chinese character may be 3 bytes (24 bits), an emoji 4 bytes (32 bits).
Standard binary representation is big-endian (MSB first). Network protocols use big-endian. Some hardware uses little-endian. Always specify endianness when working with raw binary data.
Convert text to binary and binary back to readable text. Encode ASCII and UTF-8 strings as bit strings for learning, debugging, and data encoding tasks. It applies the text to binary conversion (ASCII: char → decimal → 8-bit binary (zero-padded); e.g., A=65=01000001). For example: convert "hello" to binary — Encode the ASCII string "Hello" as space-separated binary bytes.