onlinebinarytools logo

Zeros counter

World's simplest binary tool

Free online binary zeros counter. Just load your binary values and the number of unset bits will be automatically calculated. There are no ads, popups, or nonsense, just an awesome low bit counter. Load binary values – get the number of zeros. Created for developers by developers from team Browserling.
we wrote the curl cookbook!
Super exciting news – we just wrote the Curl Cookbook full of organic, nutritious, and completely irresistible curl recipes. Check it out!
Multi-line Mode
Individually find 0's in each line.
Zeros counter tool What is a zeros counter?
This utility counts the number of zeros in binary numbers. By default, it operates in multi-line mode, which allows you to enter binary numbers on each line and get the result for each value. If you want to get the total number of low bits in all numbers, simply turn off the multi-line option. The input binary values can contain any number of bits and they can also have base-2 prefixes "b", "B", "0b", "0B" or base-2 suffixes "b", "B", "₂". Simple and easy!
Zeros counter examples Click to use
Zeros for Multiple Binaries
In this example, we count the number of zeros of three binary values. Since the multi-line option is enabled, the number of unset bits in each number is printed next to it in the output.
100010110 01010000100 000000000000
5 8 12
Required options
These options will be used automatically if you select this example.
Individually find 0's in each line.
Total Number of Zeroes
In this example, we have loaded six binaries in the input and turned off the multi-line option. As a result, the output displays the total number of low bits in all numbers. The symbols '0' that is used in binary prefixes '0b' and '0B' is not counted in the total amount.
b010100111100 0B100101010000 010010010001B 010100100100b 0b100010100111 01000000110101₂
45
Required options
These options will be used automatically if you select this example.
Individually find 0's in each line.
Large Binary Value
In this example, the binary representation of the input number contains 512 characters. Our algorithm is instantly able to tell how many zero bits there are and it turns out there are 267 zero bits in this number.
11000101011011101111000010001100011010001001011100000010101110001101001000000101110010011111000101000110111110010100000100111010110010111100100001010011010000111011000110111010101001011101101110010110011110001000001111011101101001100100001010001110110000010000110110001100011101000111101011001001011101111011101010111010000100100000111110101111001100001000011101100110100001110100101100101110110001010100001011111110011100110000011010010100100000100101100100010100001110011100001000100001111001111100100100001110
267
Required options
These options will be used automatically if you select this example.
Individually find 0's in each line.
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/count-zero-bits?input=100010110%0A01010000100%0A000000000000&multiline=true
All binary tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
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 an IPv6 address to a binary IPv6 address.
Quickly convert a binary IPv6 address to a human readable IPv6.
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 difference of a bunch of binary values.
Quickly calculate the product of a bunch of binary values.
Quickly convert a negative number to a binary representation.
Quickly convert a negative binary number to a decimal number.
Quickly convert base 2 numbers to base -2.
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 find the number of high bits in binary values.
Quickly find the number of low bits in 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.
Quickly shift bits of a binary number to the left.
Quickly shift bits of a binary number to the 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.
Generate a Binary Sequence
Create a list of increasing of decreasing binary numbers.
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.
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.
Extract Bits from Binary Numbers
Extract n-th bit from 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.
Convert Binary Values to a Bitmap
Convert a binary string to a bitmap image.
Convert a Bitmap to Binary Numbers
Convert a bitmap image to zeros and ones.
Pad Binary Values
Add signed or unsigned padding to binary numbers.
Truncate Binary Values
Drop leading or trailing bits and make a binary value shorter.