IPv4 address converter
Converts an IPv4 address into decimal, binary and hexadecimal forms — useful when writing scripts or reading packet dumps.
Convert an IP address into decimal, binary, hexadecimal, or even an IPv6 representation of it.
Steps and notes
What is IPv4 address converter?
An IPv4 address is really just a 32-bit number, and the dotted form you know (192.168.1.1) is only one way to write it. This tool converts an address into its decimal integer, binary, hexadecimal and IPv6-mapped forms at once, which is exactly what you need when reading flags and masks in packet captures, building a reverse-DNS or PTR name, or debugging a parser that accepted one notation and rejected another. Input is validated as a dotted quad before anything is computed, so a typo produces a complaint rather than a plausible-looking wrong number.
- Enter the IPv4 address
- Read the results in each base
- Copy the format you need
- Validation is strict dotted-quad: partial forms like 10.1 or leading-zero octets are rejected rather than silently reinterpreted.
- The decimal form is the 32-bit integer, so 192.168.0.1 and 3232235521 are the same address written differently — some resolvers and browsers accept the numeric form.
- The IPv6 output is the IPv4-mapped representation, not a real IPv6 allocation.
Frequently asked questions
- Why does 192.168.0.1 equal 3232235521?
- The four octets are one 32-bit number: 192×256³ + 168×256² + 0×256 + 1 = 3232235521. Dotted notation is a convenience for humans; many systems store the plain integer.
- What is the IPv6 form of an IPv4 address?
- IPv4 addresses can be represented inside IPv6 as a mapped address like ::ffff:c0a8:1 (192.168.0.1). You will meet this form in dual-stack logs and transition mechanisms.
- Can I open a decimal IP in my browser?
- Often yes — http://3232235521 works in most browsers because the OS resolves it to 192.168.0.1. Some browsers restrict it, so treat it as a debugging trick, not a production pattern.
- Why does 10.0.0.256 fail instead of wrapping?
- Because each octet is range-checked before conversion. 256 does not fit in 8 bits, so the tool refuses the input rather than quietly producing a different address — a silent modulo would be far more dangerous than a rejection.
- Which forms do network tools actually accept?
- It varies, which is the reason the conversions exist. Command-line tools and resolvers commonly accept the decimal integer and the 0xAABBCCDD hexadecimal form; browsers have historically accepted several notations in the address bar. Application code and modern parsers usually insist on the dotted quad, so treat the other forms as debugging aids rather than as something to publish.
Category: Network
Network & IP workflow
IPv4 Subnet Calculator → IPv4 range expander → IPv4 address converter → IPv6 ULA generator → MAC address generator → MAC address lookup → WHOIS lookup