Extract IP Addresses

Paste text or a log and pull out every valid IPv4 and IPv6 address — deduplicated and grouped by version. Runs in your browser; nothing is uploaded.

IP addresses

About this tool

Extract IP Addresses scans pasted text or a log file and pulls out every IPv4 and IPv6 address it contains — validated, deduplicated, and grouped by version.

Everything runs locally in your browser via WebAssembly — your logs are never uploaded.

Handy for

FAQ

Why doesn't 999.1.1.1 or a timestamp like 12:34:56 show up?

Because every candidate is validated by a real IP parser, not just a regex. 999.1.1.1 fails because an IPv4 octet can't exceed 255, and 12:34:56 is rejected because an IPv6 candidate must contain at least two colons and parse as a genuine address.

The same IPv6 address appears twice in my log but only once here — why?

IPv6 addresses are normalized to their canonical compressed form before deduplication, so 2001:0db8:0000:0000:0000:0000:0000:0001 and 2001:db8::1 are recognized as the same address and counted once.

Does it handle addresses with ports or inside URLs?

Yes. 203.0.113.7:8080 yields 203.0.113.7, and a bracketed IPv6 in a URL like http://[2001:db8::a]:443/ yields 2001:db8::a — the port and surrounding punctuation are stripped.

What order are the results in?

First-seen order within each group: all unique IPv4 addresses first, then all unique IPv6 addresses, plus a total count. There's no sorting — the order mirrors your log.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool extract-ip-addresses "Paste log lines or text containing IP addresses…"

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/extract-ip-addresses/?text=Paste%20log%20lines%20or%20text%20containing%20IP%20addresses%E2%80%A6

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.