IPv4 Address Converter

Network

Convert IPv4 between dotted, decimal, hex and binary formats with reverse DNS, useful for network debugging, protocol analysis and subnet planning work.

Valid
DOTTED192.168.1.1
DECIMAL3232235777
HEX0xC0A80101
BINARY11000000.10101000.00000001.00000001
IPV4 IN IPV6::ffff:192.168.1.1

About IPv4 Address Converter

An IPv4 address is fundamentally a 32-bit integer that can be written as dotted decimal (192.168.0.1), a decimal integer (3232235521), hexadecimal (0xC0A80001), or binary. This tool converts an IPv4 address between these bases locally in your browser, handy for storing in integer columns, doing bitwise work, or checking low-level data. For example, it converts the private address 192.168.1.1 to hex C0A80101 or the integer 3232235777, handy for cross-checking numeric IP fields in packet captures.

How to Use

  1. Open the IPv4 Address Converter tool
  2. Enter the address or query parameters
  3. Adjust the output options as needed
  4. Click the Query button; results appear in real time
  5. Copy or export the result

Use Cases

  • Integer storage — Convert IPs to unsigned integers for a database INT column to speed range queries and indexing.
  • Bitwise debugging — View an IP in binary to understand intermediate results of masking and subnet math.
  • Hex cross-check — Reconcile with address representations in packet captures or hex logs.
  • Config compatibility — Produce integer or hex IP forms for legacy systems and firmware that expect them.
  • Reverse lookup — Turn an integer IP from a log back into readable dotted decimal for troubleshooting.
  • CIDR boundary — Convert a network address to its integer form to compute the range boundaries of a CIDR block.
  • Log analysis — Turn integer IPs from parsed logs back into dotted decimal for human-readable troubleshooting.

FAQ

How is dotted decimal converted to an integer?

For a.b.c.d compute a*256^3 + b*256^2 + c*256 + d. For example, 192.168.0.1 = 192*16777216 + 168*65536 + 0 + 1 = 3232235521.

Why is the integer range 0 to 4294967295?

IPv4 is 32-bit, representing 2^32 values, i.e., 0 to 4294967295 (2^32 - 1). Integers outside this range are not valid IPv4.

Why does hex often carry a 0x prefix?

0x is the conventional hexadecimal prefix for programs to recognize. 192.168.0.1 maps to 0xC0A80001, with each two hex digits forming one byte.

What if I need subnet calculations?

This tool only converts bases. For network/broadcast addresses or host counts, use our IPv4 Subnet Calculator.

Can it convert IPv6?

No, this tool targets 32-bit IPv4 only. IPv6 is 128-bit in colon-hex notation with different rules.

Advertisement