# String to binary converter

## World's simplest binary tool

World's simplest online string to binary values converter. Just paste your string in the form below and it will instantly get converted to binary numbers. Free, quick and very powerful. Paste a string, get a binary. Created by programmers for programmers.

love hex more than binary?
0xc0ffee

We just launched Online Hex Tools — utilities for all things hexadecimal. Check it out!

*fullscreen*

*fullscreen_exit*

A link to this tool, including input, options and all chained tools.

Can't convert.

String to binary converter tool
What is a string to binary converter?

This tool converts strings to binary bits. It breaks the string into individual characters and displays every character's binary value. Simple and powerful!

String to binary converter examples
Click to use

Convert a String to a Binary Blob

This example converts a string to a binary blob of 1s and 0s.

Jewels of Stringology is a fun book about string algorithms!

010010100110010101110111011001010110110001110011001000000110111101100110001000000101001101110100011100100110100101101110011001110110111101101100011011110110011101111001001000000110100101110011001000000110000100100000011001100111010101101110001000000110001001101111011011110110101100100000011000010110001001101111011101010111010000100000011100110111010001110010011010010110111001100111001000000110000101101100011001110110111101110010011010010111010001101000011011010111001100100001

**Required options**

This adds zeros at the start of every
to make them 8 bits long.

This adds spaces between bytes
to show individual bytes.

Convert Another String to a Binary

This example converts another string to binary values. This time option to make all bytes 8 bits long is disabled, so some bytes are 6 bits long, some 7 and some 8.

Algorithms on Strings is another fun book by the same author about string algorithms!

1001010 1100101 1110111 1100101 1101100 1110011 100000 1101111 1100110 100000 1010011 1110100 1110010 1101001 1101110 1100111 1101111 1101100 1101111 1100111 1111001 100000 1101001 1110011 100000 1100001 100000 1100110 1110101 1101110 100000 1100010 1101111 1101111 1101011 100000 1100001 1100010 1101111 1110101 1110100 100000 1110011 1110100 1110010 1101001 1101110 1100111 100000 1100001 1101100 1100111 1101111 1110010 1101001 1110100 1101000 1101101 1110011 100001

**Required options**

This adds zeros at the start of every
to make them 8 bits long.

This adds spaces between bytes
to show individual bytes.

Pro tips
Master online binary tools

You can pass input to this tool via

__?input__query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinebinarytools.com/convert-string-to-binary

__?input__=Jewels%20of%20Stringology%20is%20a%20fun%20book%20about%20string%20algorithms%21&padding=true&spacing=false
All binary tools

Quickly convert ASCII characters to binary numbers.

Quickly convert binary numbers to ASCII characters.

Quickly convert UTF8 characters to binary bits.

Quickly convert binary bits to UTF8 characters.

Quickly generate random binary values.

Quickly create an image from a binary number.

Quickly convert binary numbers to octal numbers.

Quickly convert octal numbers to binary numbers.

Quickly convert binary numbers to decimal numbers.

Quickly convert decimal numbers to binary numbers.

Quickly convert binary numbers to hexadecimal numbers.

Quickly convert hexadecimal numbers to binary numbers.

Quickly convert octal values to BCD values.

Quickly convert BCD values to octal values.

Quickly convert decimal values to BCD values.

Quickly convert BCD values to decimal values.

Quickly convert hex values to BCD values.

Quickly convert BCD values to hex values.

Quickly convert an IP address to a binary IP address.

Quickly convert a binary IP address to a human readable IP.

Quickly convert a string to binary values.

Quickly convert binary values to a string.

Quickly convert binary numbers to reflected binary numbers.

Quickly convert reflected binary numbers to binary numbers.

Quickly convert octal numbers to reflected binary numbers.

Quickly convert reflected binary numbers to octal numbers.

Quickly convert decimal numbers to reflected binary numbers.

Quickly convert reflected binary numbers to decimal numbers.

Quickly convert hexadecimal numbers to Gray code.

Quickly convert Gray code to hexadecimal numbers.

Quickly calculate the sum of a bunch of binary values.

Quickly calculate the product of a bunch of binary values.

Quickly calculate bitwise AND of a bunch of binary values.

Quickly calculate bitwise NAND of a bunch of binary values.

Quickly calculate bitwise OR of a bunch of binary values.

Quickly calculate bitwise NOR of a bunch of binary values.

Quickly calculate bitwise XOR of a bunch of binary values.

Quickly calculate bitwise XNOR of a bunch of binary values.

Quickly calculate bitwise NOT of a bunch of binary values.

Quickly invert bits of binary numbers.

Quickly reverse the order of bits in binary numbers.

Quickly convert plain text to binary values.

Quickly convert binary numbers to plain text.

Quickly randomize the order of bits in binary numbers.

Quickly rotate bits in binary numbers to the left or right.

Coming soon
These binary tools are on the way

Create a File from Binary Values

Convert binary numbers to a binary file.

Binary Dump a File

Create a binary dump of files in your browser.

Convert Binary to Arbitrary Base

Convert binary values to any base (up to base 64).

Convert Binary to Roman Number

Convert binary numbers to Roman numerals.

Convert Roman Number to Binary

Convert Roman numerals to binary values.

Binary Sheffer Stroke

Calculate bitwise sheffer stroke operator of binary values.

Convert Binary to BCD

Encode every binary bit as a binary coded decimal.

Convert BCD to Binary

Decode binary coded decimals to binary bits.

Convert IPv6 to Binary

Convert an IPv6 address to its binary form.

Convert Binary to IPv6

Convert an IPv6 address as a binary number to a human-readable IPv6 address.

Add Binary Numbers

Calculate the sum of several binary numbers.

Subtract Binary Numbers

Calculate the difference of several binary numbers.

Divide Binary Numbers

Perform division operation on several binary numbers.

Rotate a Binary Right

Rotate bits of a binary number to the right.

Rotate a Binary Left

Rotate bits of a binary number to the left.

Shift a Binary Right

Shift bits of a binary number to the right.

Shift a Binary Left

Shift bits of a binary number to the left.

Extract Bits from Binary Numbers

Extract n-th bit from a binary number.

Count Number of Zeroes

Count number of 0 bits in a binary number.

Count Number of Ones

Count number of 1 bits in a binary number.

Calculate Parity

Count parity of a binary number.

Convert EBCDIC to Binary

Convert EBCDIC characters to binary values.

Convert Binary to EBCDIC

Convert binary bits to EBCDIC symbols.

Swap Binary Endianness

Change endianness of a binary number.

Convert Little Endian Binary to Big Endian Binary

Convert a binary number from little endian to big endian.

Convert Big Endian Binary to Little Endian Binary

Convert a binary number from big endian to little endian.

Convert a Floating Point Number to Binary

Find the binary representation of a floating point number.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!