About this tool
The IP Address Extractor scans any block of text — server logs, config dumps, emails, packet captures — and pulls out every IPv4 and IPv6 address it contains. Finding IPs by hand is tedious and error-prone, so this tool does it with two validated regular expressions: a strict IPv4 matcher that rejects octets above 255, and a comprehensive IPv6 matcher that handles full, compressed (::), and IPv4-mapped forms. Matches are collected into a set so duplicates are removed, then counted and sorted.
Everything runs locally in your browser — the text you paste is parsed in-page with JavaScript and never uploaded, so you can safely process private logs and internal addresses. IPv4 results are sorted numerically by converting each address to its 32-bit integer value (o1·2^24 + o2·2^16 + o3·2^8 + o4), so 10.0.0.9 correctly precedes 10.0.0.10. IPv6 results are sorted by expanding the :: shorthand to the full eight-group form and comparing the zero-padded hextets lexicographically.
Use the four toggles to control the output: include IPv4, include IPv6, keep only unique addresses, and sort the results. The tool reports how many of each family it found plus a combined total, and lists them in separate IPv4 and IPv6 sections you can copy with one click. Empty arrays and malformed candidates are ignored rather than reported as false matches.