Velto
Converters

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

Text to binary

01001000 01101001

First byte, bit by bit

1280
641
320
160
81
40
20
10

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. 1

    Type text, a number or a binary string: the converter detects the direction automatically.

  2. 2

    Pick a specific mode in the dropdown if you want to force a direction, for example number to binary.

  3. 3

    Read the result instantly, with each UTF-8 byte separated by a space.

  4. 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

CharDecimalHexBinaryName
NUL00000000000Null
SOH10100000001Start of Heading
STX20200000010Start of Text
ETX30300000011End of Text
EOT40400000100End of Transmission
ENQ50500000101Enquiry
ACK60600000110Acknowledge
BEL70700000111Bell
BS80800001000Backspace
HT90900001001Horizontal Tab
LF100A00001010Line Feed
VT110B00001011Vertical Tab
FF120C00001100Form Feed
CR130D00001101Carriage Return
SO140E00001110Shift Out
SI150F00001111Shift In
DLE161000010000Data Link Escape
DC1171100010001Device Control 1 (XON)
DC2181200010010Device Control 2
DC3191300010011Device Control 3 (XOFF)
DC4201400010100Device Control 4
NAK211500010101Negative Acknowledge
SYN221600010110Synchronous Idle
ETB231700010111End of Transmission Block

Parameters

Every field of this tool can be prefilled from the URL. Use these query parameters:

ParameterTypeDefault
inputstringHi
modeauto | textToBinary | binaryToText | numberToBinary | binaryToNumberauto

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.

GET https://www.veltotools.com/api/v1/conversion/binary-converter?input=Hi
$ curl "https://www.veltotools.com/api/v1/conversion/binary-converter?input=Hi"