IP Address Extractor

Paste any text or logs and extract every IPv4 and IPv6 address, fully in your browser.


    

ToolsSoup's IP Address Extractor is a free online tool that pulls every IP address out of any block of text or logs. Paste server logs, config files, firewall output, or any pasted text and instantly get a clean list of all the IPv4 and IPv6 addresses it contains. You can extract only IPv4, only IPv6, or both, remove duplicates, sort the results, and flag each address as public or private. Everything runs locally in your browser with regular expressions — nothing is uploaded to a server.

What does this IP address extractor do?

It scans the text you paste and finds every valid IP address using regular expressions. IPv4 addresses are matched with proper octet validation (each part must be 0–255) so version numbers and random number runs are not mistaken for IPs, and IPv6 addresses are matched with a standard well-formed-address pattern that handles compressed (::) notation. The result is a deduplicated, optionally sorted list you can copy or download. It is a pure text-extraction tool: it does not connect to the network or look up where the addresses are located.

How to extract IP addresses from text

Pulling addresses out of a log takes seconds:

  1. Paste your text or logs into the input box.
  2. Choose whether to extract IPv4, IPv6, or both, and toggle remove duplicates, sort, and public/private classification.
  3. Click Extract IPs and copy or download the resulting list.

Why use this IP extractor?

  • Finds both IPv4 and IPv6 addresses in one pass.
  • Validates IPv4 octets are in the 0–255 range to cut down on false positives.
  • Removes duplicates and can sort IPv4 addresses numerically instead of as plain text.
  • Optionally labels each address as public or private (RFC 1918 / unique-local).
  • Runs 100% in your browser, so your logs never leave your device.

Frequently asked questions

Does it find both IPv4 and IPv6 addresses?

Yes. By default it extracts both. Use the Extract dropdown to limit results to only IPv4 or only IPv6 if you want a cleaner list.

How does it avoid false positives like version numbers?

The IPv4 pattern validates each of the four octets is in the 0–255 range, not just any one-to-three-digit run, and it requires non-digit boundaries on both sides. That rules out most non-IP number sequences, though no regex is perfect.

Can it tell public from private addresses?

Turn on Show public/private and each address is labeled. Private covers the RFC 1918 IPv4 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback and link-local, and the IPv6 loopback, link-local (fe80::/10), and unique-local (fc00::/7) ranges.

Is my data uploaded anywhere?

No. All matching happens in your browser with JavaScript regular expressions. Your text and the extracted addresses never leave your device, so it is safe to paste sensitive logs.