“Hi”
Binary 01001000 01101001, hex 48 69, decimal 72 105.
Convert text to binary, hex, decimal or octal bytes and back, using UTF-8.
Runs in your browser — nothing you enter is sent to a server.
Choose Text → codes to see each byte of your text in binary, hexadecimal, decimal or octal, or Codes → text to decode bytes back into text. Codes can be separated by spaces or commas; unseparated binary and hex are split into bytes automatically.
Text is encoded as UTF-8, the standard on the web. Plain English letters take one byte each (the same as ASCII), while accented letters, other scripts and emoji take two to four.
8 bits = 2 hex digits = a number from 0 to 255
H is byte 72: 01001000 in binary, 48 in hex, 110 in octal.
Binary 01001000 01101001, hex 48 69, decimal 72 105.
é is 2 bytes: 11000011 10101001. 👍 is 4 bytes: F0 9F 91 8D.
For English letters, digits and punctuation, yes — UTF-8 matches ASCII for those 128 characters. Other characters use more bytes.
A multi-byte character is incomplete, often because a byte was left out when copying. Check that you pasted every code.
Use the Number Base Converter — this tool converts characters, so “5” becomes the byte 00110101.
Convert whole numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36, of any size.
Converters
Encode text to Base64 or decode Base64 to text, with full Unicode support and URL-safe output.
Developer Tools
Translate text to Morse code and Morse code to text, and hear it played as sound.
Converters