Boneyard Tools

Extract IP Addresses From Text and Logs

Paste log output or any text and instantly pull out every IP address inside it. IPv4 octets are validated and common IPv6 forms are recognised, with duplicates removed.

How to extract IP addresses

  1. Paste a log file, config or any text containing IP addresses.
  2. Read the separate lists of IPv4 and IPv6 addresses.
  3. Copy the combined list with one click.

Examples

Pull IPs from a log line

accepted 10.0.0.5, denied 999.1.1.1, via 2001:db8::1
10.0.0.5
2001:db8::1

Frequently asked questions

How are invalid IPv4 addresses rejected?

Each of the four octets must be between 0 and 255, so an address like 999.1.1.1 or 256.0.0.1 is left out of the results.

Which IPv6 forms are detected?

Full eight-group addresses and the compressed double-colon forms, including the loopback ::1 and the all-zeros :: address.

Are duplicate addresses removed?

Yes. Each address is listed once, compared without case sensitivity, keeping the first spelling found in the text.

Will a timestamp like 08:00:01 be read as an IPv6 address?

No. A plain colon-separated time has no double colon or eight groups, so it does not match the IPv6 pattern.

Is my text private?

Yes. Everything runs in your browser and nothing is uploaded.

Related tools