You don't have javascript enabled. Please enable javascript to use this website.

IP Address Extractor

Paste any text, log file, or document to extract all IPv4 and IPv6 addresses in one pass — deduplicated and ready to use.
Extract IP Addresses Clear
Copy Copied
More Tools

IP Address Extractor — Find All IPv4 and IPv6 Addresses in Any Text

IP address extractor is a client-side utility that scans any block of text — server logs, firewall rules, configuration files, or documents — and returns every IPv4 and IPv6 address it finds as a deduplicated, line-separated list. Paste text of any length: from a single line to a multi-thousand-line log file. All detection runs in your browser via JavaScript regex against RFC 791 (IPv4 dotted-decimal) and RFC 5952 (IPv6, all notation forms) — no input text is transmitted to any server.


How to Extract IP Addresses from Text

How to extract all IPv4 and IPv6 addresses from any text, log file, or document. Paste any content — server logs, firewall rules, or documents — and extract all IP addresses instantly.

1

Paste Your Text

Paste any text into the input area — server logs, firewall rules, configuration files, or any document containing IP addresses. Bulk input of any length is supported.
2

Click Extract IP Addresses

Click Extract IP Addresses. The tool scans your entire input for IPv4 and IPv6 addresses using JavaScript pattern matching — no data leaves your browser.
3

Review the Results

Extracted IP addresses appear in the output area, one address per line. Duplicate addresses are removed — each IP appears exactly once.
4

Copy and Investigate

Click Copy to send the extracted list to your clipboard, then investigate each address using IP WHOIS Lookup or IP Geolocation.

How the IP Address Extractor Works

  • IPv4 detection applies a dotted-decimal regex per RFC 791, then validates each octet within the 0–255 range — preventing false matches from sequences like 999.0.0.1. Both RFC 1918 private blocks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and publicly routable ranges are extracted without filtering.
  • IPv6 detection covers all standard notation forms defined in RFC 5952: full 8-group (2001:0db8:0000:0000:0000:0000:0000:0001), compressed (2001:db8::1), loopback (::1), link-local (fe80::1), and IPv4-mapped (::ffff:192.168.1.1). A multi-branch regex handles every valid compression pattern the RFC defines.
  • Deduplication — each unique IP address appears exactly once in the output. If the same address occurs 100 times across a log file, it returns once. Output order reflects first occurrence in the input text.
  • Processing model — all regex operations run synchronously in the browser's JavaScript engine. No HTTP request is made to any server during extraction. Input text and extracted addresses are never written to localStorage, sessionStorage, or any persistent storage.

Common Uses for IP Address Extraction

Server log triage. A SOC analyst receives a 12,000-line Nginx access log during an incident response. Pasting the entire log into the IP Address Extractor returns a deduplicated source IP list in seconds — immediately ready for investigation using the IP Blacklist Checker or IP WHOIS Lookup, without opening a spreadsheet or writing a grep command.

Threat intelligence parsing. A threat intelligence team receives an industry report containing 40+ indicators of compromise embedded in paragraphs of prose. Copying the report text into the extractor isolates all IP-format IOCs from surrounding narrative — delivering a clean list for SIEM ingestion or bulk WHOIS investigation in one pass.

Configuration file audit. A network engineer needs to document every IP referenced across three firewall ruleset exports before a datacenter migration. Concatenating the configs and running the extractor returns a single deduplicated address inventory — turning a multi-hour manual review into a five-second operation.


Frequently Asked Questions

What types of IP addresses does the extractor detect?
IP Address Extractor detects both IPv4 addresses (dotted-decimal notation per RFC 791, e.g. 192.168.1.1) and IPv6 addresses in all standard forms per RFC 5952 — including full 8-group notation (2001:0db8:0000:0000:0000:0000:0000:0001), compressed forms (2001:db8::1), and loopback (::1). Both public routable addresses and RFC 1918 private ranges are extracted without filtering.
How accurate is the IP address detection?
Detection uses regex pattern matching against RFC 791 (IPv4) and RFC 5952 (IPv6) notation rules. IPv4 results are filtered to exclude values with any octet outside the 0–255 range, preventing false matches from sequences like 999.0.0.1. The extractor cannot distinguish between real routable IPs and fictional addresses that happen to match the notation format — validate any extracted IP using the IP WHOIS Lookup or IP Geolocation tools.
Does the tool handle large log files?
Yes. There is no input size limit beyond your browser's available memory. The tool processes the entire textarea content — including multi-megabyte log files — client-side using JavaScript, with no server round-trip. Performance scales with the volume of text and the speed of the browser's JavaScript engine.
Do you store or log the text I paste?
No. All processing runs entirely in your browser using JavaScript. No text, IP addresses, or any other content is transmitted to or stored by WhatIsMyIPNow servers at any point. Input and output data exist only in your browser's memory for the duration of the session.
What is the difference between an IP extractor and an IP sorter?
IP Address Extractor scans unstructured text and pulls out all IP addresses it finds — useful when IPs are embedded in log lines, prose, or mixed content. IP Sorter takes an existing list of IP addresses and orders them numerically by octet. Use the extractor first to isolate IPs from raw text, then the IP Sorter to organize the resulting list for analysis or reporting.
Why are some IPv6 addresses not detected?
The extractor matches all standard IPv6 notation forms per RFC 5952, including compressed notation using the :: shorthand. If an address is still not detected, verify it is a syntactically valid IPv6 address — malformed or truncated addresses will not match. IPv4-mapped IPv6 addresses (::ffff:192.168.1.1) are also supported.

Related Guides

Guide What Is an IP Address
how IP addresses are structured, assigned, and used across IPv4 and IPv6, and why extracting them from text is a common network and security task.
Guide What Is IPv4
the 32-bit dotted-decimal format the extractor detects, including RFC 1918 private ranges, address classes, and the limits of pattern-based matching.
Guide What Is IPv6
the 128-bit address space, all notation forms per RFC 5952, and why compressed addresses like ::1 and 2001:db8::1 are now fully detected.