Binary Converter
This free binary converter translates text to binary (UTF-8 bytes) and binary back to text, and also converts decimal numbers to base 2, with automatic detection of what you typed.
Result
01001000 01101001
First byte, bit by bit
Each cell shows a bit and its weight. Add the weights of the active bits to get the byte value.
Examples
How to use
- 1
Type text, a number or a binary string: the converter detects the direction automatically.
- 2
Pick a specific mode in the dropdown if you want to force a direction, for example number to binary.
- 3
Read the result instantly, with each UTF-8 byte separated by a space.
- 4
Use the bit table to see how the weights 128 to 1 build the first byte, then copy or download the result.
ASCII Table
| Char | Decimal | Hex | Binary | Name |
|---|---|---|---|---|
| NUL | 0 | 00 | 00000000 | Null |
| SOH | 1 | 01 | 00000001 | Start of Heading |
| STX | 2 | 02 | 00000010 | Start of Text |
| ETX | 3 | 03 | 00000011 | End of Text |
| EOT | 4 | 04 | 00000100 | End of Transmission |
| ENQ | 5 | 05 | 00000101 | Enquiry |
| ACK | 6 | 06 | 00000110 | Acknowledge |
| BEL | 7 | 07 | 00000111 | Bell |
| BS | 8 | 08 | 00001000 | Backspace |
| HT | 9 | 09 | 00001001 | Horizontal Tab |
| LF | 10 | 0A | 00001010 | Line Feed |
| VT | 11 | 0B | 00001011 | Vertical Tab |
| FF | 12 | 0C | 00001100 | Form Feed |
| CR | 13 | 0D | 00001101 | Carriage Return |
| SO | 14 | 0E | 00001110 | Shift Out |
| SI | 15 | 0F | 00001111 | Shift In |
| DLE | 16 | 10 | 00010000 | Data Link Escape |
| DC1 | 17 | 11 | 00010001 | Device Control 1 (XON) |
| DC2 | 18 | 12 | 00010010 | Device Control 2 |
| DC3 | 19 | 13 | 00010011 | Device Control 3 (XOFF) |
| DC4 | 20 | 14 | 00010100 | Device Control 4 |
| NAK | 21 | 15 | 00010101 | Negative Acknowledge |
| SYN | 22 | 16 | 00010110 | Synchronous Idle |
| ETB | 23 | 17 | 00010111 | End of Transmission Block |
Parameters
Every field of this tool can be prefilled from the URL. Use these query parameters:
| Parameter | Type | Default |
|---|---|---|
| input | string | Hi |
| mode | auto | textToBinary | binaryToText | numberToBinary | binaryToNumber | auto |
Example : https://www.veltotools.com/conversion/binary-converter?input=Hi
API
The same tool is available as a free JSON API, with the same parameters as above. No key, no sign-up.