IP Address Converter
IPv4 to integer, hex & binary
Dotted Decimal
8.8.8.8
Integer (Long)
134744072
Hexadecimal
0x08080808
Binary
00001000.00001000.00001000.00001000
Conversions run entirely in your browser. Auto-detect inspects the value format; pick an explicit format if a value is ambiguous (e.g. a plain integer vs. binary digits).
What Is the IP Address Converter?
The IP Address Converter translates an IPv4 address between dotted-decimal, integer (long), hexadecimal, and binary notation, in both directions. Enter an address in any of these formats and instantly see all the others — a handy utility for developers working with databases, low-level networking, or any system that stores IPs as numbers.
Key Features
Why Convert IP Addresses to Numbers?
A dotted IPv4 address like 192.168.0.1 is really a 32-bit number displayed for human readability. Storing IPs as integers makes range comparisons, sorting, and database lookups far faster and more compact. Developers convert to integer or hex when building geolocation databases, firewall rules, or any system that does math on addresses.
How the Conversion Works
Each of the four octets in an IPv4 address represents 8 bits, combining into a single 32-bit value. The converter performs this bit math instantly, so you can move between the human-friendly dotted form and the integer, hex, or binary forms that code and databases prefer — in either direction, without manual calculation.
Common Use Cases
- Storing IP addresses as integers in a database
- Performing fast IP range comparisons in code
- Debugging low-level networking and firewall rules
- Building or reading geolocation databases
Frequently Asked Questions
Why would I store an IP as an integer?
Integers are compact and fast to index, sort, and compare. Storing IPs as integers makes range queries (such as finding which block an address falls in) far more efficient than comparing strings.
What is the integer form of an IP address?
An IPv4 address is a 32-bit number, so it can be written as a single integer between 0 and 4,294,967,295. For example, 192.168.0.1 becomes 3232235521.
Can I convert in both directions?
Yes. Enter an address in any supported format — dotted-decimal, integer, hex, or binary — and the tool shows all the other representations at once.
Does this support IPv6?
This converter handles IPv4, which uses a 32-bit space and is the common case for these conversions. IPv6 uses 128 bits and a different notation.
Is the converter free and private?
Yes. It is free, needs no account, and performs all conversions locally in your browser, so nothing you enter is transmitted.
Looking for proxies to use with this tool?
Browse the proxy directory