IP Address to Binary Converter
Convert an IPv4 address to dotted binary, a 32-bit decimal integer and hexadecimal.
What this IP Address to Binary Converter does
Convert an IPv4 address to dotted binary, a 32-bit decimal integer and hexadecimal.
Each dotted part is a whole number from 0 to 255 and becomes eight binary digits; the four groups are the 32-bit address in dotted binary. The decimal form treats the address as one big-endian 32-bit integer, and the hex form is the same four bytes. IPv6 and host names are refused by name.
How to use it
Paste ipv4 address into the box above, then press Run. The page recalculates from the values on screen and prints the rule it applied.
Worked example
Input:
IPv4 address = 192.168.1.1
Output:
Binary = 11000000.10101000.00000001.00000001
Decimal = 3232235777
Hex = 0xC0A80101
Bits set = 7
Why it runs in your browser
This page runs entirely in this tab: no value is posted to a server, no cookie or storage entry is written, and reloading the page discards everything. Static HTML and JavaScript only — the same source served to every visitor, with no network call and no server-side executor.
IP Address to Binary Converter: Convert an IPv4 address to dotted binary, a 32-bit decimal integer and hexadecimal.
Each dotted part is a whole number from 0 to 255 and becomes eight binary digits; the four groups are the 32-bit address in dotted binary. The decimal form treats the address as one big-endian 32-bit integer, and the hex form is the same four bytes. IPv6 and host names are refused by name.
Worked example: IPv4 address = 192.168.1.1 gives Binary = 11000000.10101000.00000001.00000001; Decimal = 3232235777; Hex = 0xC0A80101; Bits set = 7.
How to use the IP Address to Binary Converter calculator
Paste ipv4 address into the box above then press Run. The page recalculates from the values on screen and prints the rule it applied.
This page runs entirely in this tab: no value is posted to a server, no cookie or storage entry is written, and reloading the page discards everything.
The rule this page applies
Each dotted part is a whole number from 0 to 255 and becomes eight binary digits; the four groups are the 32-bit address in dotted binary. The decimal form treats the address as one big-endian 32-bit integer, and the hex form is the same four bytes. IPv6 and host names are refused by name.
Static HTML and JavaScript only — the same source served to every visitor, with no network call and no server-side executor.
- Binary = 11000000.10101000.00000001.00000001
- Decimal = 3232235777
- Hex = 0xC0A80101
- Bits set = 7
What to Expect
Best for
- Getting the binary quickly
- Checked arithmetic, printed with its rule
- Comparing two sets of inputs
Not ideal for
- Data this page does not carry
- A guarantee about the physical world
- Locales other than English
What this tool keeps
- Your inputs in this tab
- The rule, printed in full
- The same answer on every run
What may need cleanup
- A value the page refuses, which names the field instead of guessing
- A number outside the stated range, which is refused by name
Common errors
- A blank field is refused rather than read as zero
- A zero denominator is refused rather than printed as infinity
- A value outside the formula’s range is refused with the range named
Example use cases
- Checking a figure before you rely on it
- Homework and exam checking
- Comparing two options side by side
Sample input
IPv4 address = 192.168.1.1
Sample output
Binary = 11000000.10101000.00000001.00000001; Decimal = 3232235777; Hex = 0xC0A80101; Bits set = 7
Who this is for
- Anyone checking this figure by hand
- Students and teachers
Frequently asked questions
What does the IP Address to Binary Converter calculator do?
Convert an IPv4 address to dotted binary, a 32-bit decimal integer and hexadecimal. It prints binary, decimal, hex, bits set.
How does this page work out the answer?
Each dotted part is a whole number from 0 to 255 and becomes eight binary digits; the four groups are the 32-bit address in dotted binary. The decimal form treats the address as one big-endian 32-bit integer, and the hex form is the same four bytes. IPv6 and host names are refused by name.
Is anything uploaded or stored?
This page runs entirely in this tab: no value is posted to a server, no cookie or storage entry is written, and reloading the page discards everything.
Which inputs does the page read?
It reads ipv4 address from the box above. Nothing else is consulted.
Does this resolve a host name?
No. There is no network call; only a literal dotted IPv4 address is read.
Why is a part above 255 refused?
Because an IPv4 octet holds eight bits, whose largest value is 255. A larger number has no honest binary spelling.
Is the decimal form signed?
No. It is the unsigned 32-bit value, which is why the largest addresses print above two billion.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.