Skip to the calculator
Rule Calculator

Convert text to binary

Hello in text

01001000 01100101 01101100 01101100 01101111

How it gets there

Each character has a code point
"H" → U+0048 → 01001000 "e" → U+0065 → 01100101 "l" → U+006C → 01101100 "l" → U+006C → 01101100 "o" → U+006F → 01101111
UTF-8, not ASCII
A character outside the ASCII range becomes two to four bytes, which is why the count of groups can exceed the count of characters.
Bytes
5 bytes from 5 characters

Why the working is here

Every other converter of this kind prints the answer and stops. A base is a positional system, so the answer is a sum you can check: each digit is multiplied by the base raised to its position, and the results are added. Going the other way is repeated division, reading the remainders upwards. Neither is a black box, and this page refuses to be one.

Other conversions