Diagnostic suite · live

IP Converter

Convert IPv4 to decimal/hex/binary and expand or compress IPv6 addresses.

IPv4
Dotted-quad to numeric forms
Decimal
134744072
Hex
0x8080808
Binary
00001000 00001000 00001000 00001000
Octal
0o1002004010
IPv4-mapped IPv6
::ffff:8.8.8.8
6to4 prefix
2002:808:808::/48
IPv6
Expand & compress
Expanded
2001:0db8:0000:0000:0000:0000:0000:0001
Compressed
2001:db8::1

About the IP Converter

The IP Converter transforms IPv4 addresses between dotted-decimal (192.168.1.1), decimal integer (3232235777), binary, hexadecimal (0xC0A80101) and octal representations. It also handles IPv6 conversion between full and shortened notation, hexadecimal, and binary. These conversions matter in log analysis, database storage, malware analysis, packet inspection, and any code that stores IPs as integers.

Storing IPs as integers rather than strings saves database space and enables range queries — 'find all IPs between X and Y' becomes a simple `BETWEEN` clause instead of complex string comparisons. Many high-performance systems (Redis geo-IP lookups, ClickHouse network analytics, WAF rules) use integer-encoded IPs internally, so understanding the encoding is essential when integrating with them.

The tool also decodes shortened or unusual IP encodings you might encounter in phishing URLs, malware C2 addresses or CTF challenges — like `http://3232235777/` which resolves to 192.168.1.1 in most browsers. Attackers use these obfuscated forms to bypass URL filters that only look for standard dotted-decimal IPs.

How to use this tool

  1. 1Enter the required value in the input field above (domain, IP, URL, or text depending on the tool).
  2. 2Click the action button to run the check — results are computed instantly from our edge network.
  3. 3Review the parsed output, key fields and any warnings shown in the result card.
  4. 4Copy the result, share the page URL, or jump to a related tool from the sidebar to continue debugging.

Key features

  • IPv4 ↔ decimal, binary, hex, octal
  • IPv6 full and shortened notation
  • Detects obfuscated IP encodings
  • One-click copy for each format
Related searches: ip to decimal · ipv4 to int · ipv6 shortener · ip address converter · hex ip converter · binary ip converter

Frequently asked questions

It's 4 bytes vs 15 chars, enables fast BETWEEN queries for CIDR ranges, and is the native format for many networking APIs. Redis, ClickHouse, and MySQL's INET_ATON all prefer integer IPs internally.