IP Address Converter
Runs in your browser — your data is never uploaded.
Convert an IPv4 address between every notation it gets stored in: the dotted quad, the 32-bit integer a database column holds, hex, octal, binary, and the reverse-DNS name. It works in both directions, because the usual reason to look this up is a log or a table full of numbers like 3232235777 and no memory of which address that was.
How to use IP Address Converter
- 1
Enter a dotted address like 192.168.1.1, or the integer form.
- 2
Read the decimal, hex, octal and binary values.
- 3
Copy the reverse-DNS name if you need a PTR lookup.
Share
Embed this tool on your site
Paste this where you want the tool to appear. It runs entirely in your visitor's browser — no uploads, no account, no tracking.
Please keep the attribution line — it's what keeps these tools free.
Need a different size, a dark theme, or a different tool? Build an embed lets you preview it first.
Frequently asked questions
How is an IP address stored as a number?+
The four octets are the four bytes of one 32-bit unsigned integer, most significant first: 192.168.1.1 is 192×2²⁴ + 168×2¹⁶ + 1×2⁸ + 1 = 3232235777. Storing it that way makes range queries a simple integer comparison, which is why databases do it.
Why does my stored IP come out negative?+
Because the column is signed. IPv4 needs all 32 bits, so anything from 128.0.0.0 upward exceeds a signed 32-bit maximum and wraps negative. Use an unsigned integer, or a 64-bit one — this is the single most common bug in home-grown IP storage.
Is 010.1.1.1 the same as 10.1.1.1?+
Not reliably, and that ambiguity has been the basis of real security bypasses. Some parsers read a leading zero as octal — making 010 into 8 — and others read it as decimal. This tool refuses an address with a leading zero rather than guessing, because there is no safe guess.
What is the in-addr.arpa form?+
The name a reverse DNS lookup actually queries: the octets in reverse order followed by in-addr.arpa, so 192.168.1.1 becomes 1.1.168.192.in-addr.arpa. It is what you put in a PTR record and what a dig -x command builds for you behind the scenes.