IP Address Converter & Validator
Paste an IP address to check that it is valid and see it written every common way. For IPv4 you get the whole number, hexadecimal, dotted hexadecimal, binary, octal and the IPv6-mapped form. For IPv6 you get the shortest form, the full 32-digit form and any IPv4 address inside it. It also tells you what kind of address it is (private, loopback, link-local, multicast, documentation or public) and gives the reverse DNS name used for PTR lookups. It all runs in your browser.
Try:
How to use it
- Type or paste an address, for example 192.168.1.10 or 2001:db8::1. A whole number such as 3232235786 or a hex value such as 0xC0A8010A also works for IPv4.
- Read the forms shown: dotted decimal, whole number, hexadecimal, binary and octal for IPv4; shortest and full form for IPv6.
- Check the Type line to see whether the address is private, reserved or reachable on the internet.
- Copy any value with the Copy link next to it. Use the reverse DNS name in a PTR lookup.
Frequently asked questions
How is an IPv4 address a number?
An IPv4 address is a 32-bit number written as four bytes. 192.168.1.10 is the number 3,232,235,786. Databases and firewalls often store addresses as this whole number because it is easy to compare and sort.
How do I shorten an IPv6 address?
Drop leading zeros in each group, and replace the longest run of all-zero groups with a double colon, once. So 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1. This tool shows both forms.
Why is an address like 192.168.x.x called private?
The ranges 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are reserved for use inside home and company networks. They are not routed on the public internet, so many networks reuse them.
What is an IPv4-mapped IPv6 address?
A way of writing an IPv4 address inside the IPv6 format, as ::ffff:192.0.2.1. Software that handles both kinds of addresses uses it internally.
Why are leading zeros such as 010.001.001.001 rejected?
Some systems read a leading zero as octal, so 010 would mean 8, not 10. Because the meaning is ambiguous and has been used in attacks, this tool treats such addresses as invalid.
What is the reverse DNS name?
It is the name looked up to find the hostname of an address: the octets reversed under in-addr.arpa for IPv4, or the digits reversed under ip6.arpa for IPv6. Use it with the DNS checker's PTR type.
Related tools
Subnet Calculator (CIDR, IPv4 & IPv6)
Work out the network address, mask, usable range, broadcast and host count from a CIDR block, and convert an IP range to CIDR blocks.
DNS Checker (DNS Records & Propagation)
Look up a domain's DNS records and check how a DNS change has spread across more than 20 public resolvers worldwide.
What Is My IP Address?
See your public IP address (IPv4 or IPv6), country and hostname right away, copy it, and check who owns it or whether it is blacklisted.
WHOIS & IP Lookup (Domain, RDAP)
Look up when a domain was registered and when it expires, its registrar and name servers, or who an IP address block is assigned to.
These tools run entirely in your browser and are provided free, without warranty. Check important results before using them in production.