[{"data":1,"prerenderedAt":25},["ShallowReactive",2],{"content-ip-converter-en":3},{"about":4,"steps":7,"faq":12},[5,6],"At its core an IP address is just a number – 32 bits for IPv4, 128 bits for IPv6. Depending on the use case you need it in a different form: as a decimal number in databases, in hex in packet captures, in binary for subnetting or as a reverse DNS name for PTR records. The converter shows all notations at a glance.","For IPv6 you get the short standard notation according to RFC 5952 and the full form with all 32 digits. For IPv4 the tool also shows the IPv4-mapped IPv6 address, the 6to4 prefix and the NAT64 address. Calculate networks and ranges with the [[subnet-calculator]]; whole lists are merged by the [[ip-range-calculator]].",[8,9,10,11],"Enter an IPv4 or IPv6 address – or a number such as 3232235777 or 0xC0A80101.","Read the decimal, hex and binary forms as well as the standard and full notation.","Copy the form you need with the button in each row.","Switch to the subnet calculator directly if needed.",[13,16,19,22],{"q":14,"a":15},"How does an IPv4 address become a number?","Each of the four blocks is one byte. The number is first block × 256³ + second × 256² + third × 256 + fourth. For 192.168.1.1 that is 3232235777. Some programs even accept this form in URLs.",{"q":17,"a":18},"What does the short IPv6 notation mean?","Leading zeros of each group may be omitted, and the longest run of zero groups is replaced by “::” – but only once per address. 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1. RFC 5952 defines exactly how to shorten so that every address has just one standard form.",{"q":20,"a":21},"What is an IPv4-mapped IPv6 address?","A representation of an IPv4 address in the IPv6 address space: ::ffff:192.168.1.1. Operating systems use it when an IPv6 socket accepts connections over IPv4. NAT64 (64:ff9b::\u002F96) and 6to4 (2002::\u002F16), by contrast, are transition technologies that bridge IPv4 and IPv6 networks.",{"q":23,"a":24},"What do I need the reverse DNS name for?","For resolving an IP back to a host name (PTR record). For IPv4 the blocks are reversed and in-addr.arpa is appended; for IPv6 each of the 32 hex digits is reversed individually under ip6.arpa. You can query such records with the [[dns-lookup]].",1792173706885]