IPv4 Address Converter
NetworkConvert IPv4 between dotted, decimal, hex and binary formats with reverse DNS for network debugging, protocol analysis and subnet calculations.
192.168.1.132322357770xC0A8010111000000.10101000.00000001.00000001::ffff:192.168.1.1About 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. All conversion runs on your machine and the address never leaves it. Tip: Bookmark this tool for quick access during network troubleshooting. All queries are made directly from your browser — no command-line tools required.
How to Use
- Open the IPv4 Address Converter tool page
- Enter or paste your data into the input area
- View the real-time results and use the copy button to get the output
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.
Any browser compatibility requirements?
This tool works in all modern browsers (Chrome, Firefox, Edge, Safari). No plugins or extensions required.
Can I use it offline?
After initial load, most features work offline. The core logic runs entirely in your browser with no network dependency.
Comments
Comments are stored locally in your browser. Configure Giscus for cloud-based comments.