IP Address Converter
Enter any IPv4 address to instantly see its decimal (32-bit integer), binary (dotted), and hexadecimal representations.
All conversions happen in your browser
How to use IP Address Converter
The IP to Decimal converter translates an IPv4 address between its familiar dotted-quad form and the single 32-bit integer that computers actually use internally, and back again. Storing IP addresses as integers makes database range queries fast and is how many geolocation and access-control systems represent them, so developers regularly need to move between the two notations. This tool also shows the binary and hexadecimal forms, making it a handy reference when you are debugging packet captures, writing firewall rules, or building software that handles addresses.
- Enter an IPv4 address in dotted form, or a 32-bit integer.
- Click Convert to translate between the two representations.
- Read the decimal, binary and hexadecimal equivalents.
- Copy whichever form your database or application expects.
- Reverse the process any time by entering the other notation.
Your data never leaves your device — 100% private processing.
How the conversion works
An IPv4 address is four 8-bit numbers, or octets, each ranging from 0 to 255. To form the single integer, each octet is weighted by its position: the first is multiplied by 256³, the second by 256², the third by 256, and the last added as-is. So 192.168.1.1 becomes 192×16777216 + 168×65536 + 1×256 + 1 = 3,232,235,777. The reverse simply peels the octets back out with division and remainder. Because the maths is exact, the round trip never loses information.
| Octet | Multiplier | Example (192.168.1.1) |
|---|---|---|
| 1st | 16,777,216 | 192 → 3,221,225,472 |
| 2nd | 65,536 | 168 → 11,010,048 |
| 3rd | 256 | 1 → 256 |
| 4th | 1 | 1 → 1 |
Why integer storage is useful
Representing addresses as integers lets databases compare and range-scan them efficiently, which is why IP-based geolocation tables store start and end of each block as integers and find a match with a single BETWEEN query. Integer form is also compact and avoids string-parsing overhead in high-throughput systems. When you import such a dataset or read a binary log, you will frequently meet addresses as bare numbers, and this converter turns them back into human-readable dotted form instantly.
Glossary
- Octet
- One of the four 8-bit numbers (0–255) that make up an IPv4 address.
- Dotted-quad
- The standard human-readable IPv4 form, such as 192.168.1.1.
- 32-bit integer
- The single numeric value an IPv4 address represents internally.
- Hexadecimal
- Base-16 notation often used to display addresses compactly.
- Endianness
- The byte order in which a multi-byte value such as an IP integer is stored.
Related reading
Frequently Asked Questions
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Why use IP Address Converter?
- Real-time DNS lookups using live resolver queries
- Supports IPv4 and IPv6 addresses
- No software to install — runs entirely in the browser
- Results include TTL values and record priority
Common use cases
- Verify DNS propagation after updating nameservers
- Check MX records when troubleshooting email delivery
- Look up SPF/DKIM/DMARC records for email security audits
- Test whether a SSL certificate is valid and up to date
- Find the IP address behind a domain name
Related Network & DNS
Subnet / CIDR Calculator
Calculate network address, broadcast address, usable IP range, and host count for any IPv4 subnet. Free CIDR calculator.
Punycode / IDN Converter
Convert international domain names (IDN) between Unicode and Punycode (ACE) format. Encode and decode xn-- labels instantly.
DNS Lookup Tool
Look up DNS records for any domain — A, AAAA, MX, NS, TXT, CNAME, SOA, and CAA records. Free, instant results pulled from authoritative nameservers.
DNS Propagation Checker
Check if your DNS changes have propagated worldwide. Test A, MX, and NS records across 8 global DNS servers to confirm updates are live everywhere.
What Is My IP Address?
Instantly find your public IP address. Shows your IPv4 address as seen by websites and servers, plus quick details about your connection.
HTTP Headers Checker
View HTTP response headers for any URL. Check status codes, security headers, caching, redirects, and server details instantly. Free and private.
Explore all Network & DNS.