Another spelling of the same bytes
Show text as binary bytes
Each UTF-8 byte is printed as eight bits, separated by spaces.
Decoding needs groups of eight bits. A space between bytes is required.
The work stays in this tab.
This tool runs in your browser. Turn on JavaScript to use it.
Binary text
The sample is fixed. It uses the same rule as the form.
- Input
- Hi
- Result
- 01001000 01101001
How to use it
- 1Paste the text.
- 2Choose encode or decode.
- 3Copy the result.
Good to know
- This is the byte encoding, not a character code.
- This page does not upload the text.
- Text longer than one hundred thousand characters is rejected.
Questions
Does the result leave this browser?
No. The calculation finishes in the current tab.
What does this page leave out?
This is the byte encoding, not a character code.
What if the input is huge?
Past one hundred thousand characters, the page stops and asks you to shorten it.
Related tools
- Encode text as hexadecimal
Hex is a way to show raw bytes. This page encodes text as UTF-8 first, then prints each byte. Decoding accepts only an even number of digits and rejects bytes that are not UTF-8.
- Show text as octal bytes
Each UTF-8 byte is printed as three octal digits.
- List ASCII code numbers
Each character becomes its decimal code from 0 to 127.