IPv4 / IPv6 Converter
Convert IPv4 addresses between dotted-decimal, integer decimal, hexadecimal and binary — or expand and compress IPv6 addresses.
About this tool
This converter automatically detects what you enter — a dotted IPv4 address, a plain decimal integer, a hexadecimal value, or an IPv6 address in any valid form — and shows every relevant representation. It also serves as a validator: if the input isn't a recognisable address in any supported format, the tool explains why.
How to use this tool
- Enter an address or value, e.g.
192.168.1.1,3232235521,0xC0A80101, or2001:db8::1. - Select "Convert". Results update instantly as you type, and the URL updates so you can bookmark the result.
Frequently asked questions
Why would I need the decimal or hexadecimal form of an IPv4 address?
What is the difference between IPv6 compression and expansion?
How do I convert plain digits — is it read as decimal or hex?
Related tools
Subnet Calculator
Calculate network address, broadcast address, usable host range, subnet mask, wildcard mask and binary representation for any IPv4 subnet.
CIDR Calculator
Convert CIDR notation to an IP address range, get the address count, and check whether a given IP falls inside a CIDR block.
IP Lookup
Look up an IPv4 or IPv6 address: version, approximate location, ASN, network organisation, reverse hostname and RDAP registration data.