IP Address Converter (IPv4 ↔ IPv6)
Convert IPv4 to decimal, hex, and binary or to a mapped IPv6 address — and expand or compress IPv6
Convert an IPv4 address into its decimal, hexadecimal, and binary forms as well as IPv4-mapped and IPv4-compatible IPv6 notation. For IPv6, it expands shortened addresses back to their full form or compresses them again — handy for firewall rules, log parsing, and network config.
도구를 불러오는 중…
🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.
How to use
- Type the IP address you want to convert (e.g. 192.168.1.1 or 2001:db8::1).
- For IPv4: the decimal integer, hex, binary bit string, and IPv6 mapped/compatible forms appear instantly.
- For IPv6: you get both the fully expanded address (all eight 16-bit blocks written out) and the compressed form.
FAQ
- What are IPv4-mapped IPv6 addresses for?
- Modern IPv6-only network stacks use them to talk to legacy IPv4 hosts: internally the IPv4 address is wrapped in IPv6 notation as ::ffff:a.b.c.d.
- What are the IPv6 compression rules?
- One run of consecutive all-zero blocks (:0:0:) may be replaced with a double colon (::) — but only once per address. On top of that, leading zeros in each block are dropped (0db8 → db8) to shorten the notation.
- Can I convert private (internal network) IP addresses too?
- Yes, private ranges like 192.168.x.x or 10.x.x.x convert the same way public IPs do. Keep in mind, though, that private addresses aren't routable on the public internet, so the tool's output is purely a notation conversion — it says nothing about whether that address is actually reachable on a network.
