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
- Paste a log file, config or any text containing IP addresses.
- Read the separate lists of IPv4 and IPv6 addresses.
- 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
Extract URLs
Pull every URL and link out of pasted text online. Find http and https links plus bare www domains, de-duplicate, sort and copy. Free and private.
Extract Emails
Pull every email address out of pasted text online. Find, de-duplicate and sort emails from lists, logs or pages, then copy. Free and private.
Find and Replace
Find and replace text online with literal or regex search, case sensitivity, and replace first or all. See a live count of changes. Free and private.
Acronym Generator
Turn any phrase into an acronym from the first letter of each main word. Skip small words like the and of, keep them, or add dot separators.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
AI Sentiment Analyzer
Analyze the sentiment of any text with AI in your browser. Paste a review or comment, get a positive or negative score plus a per-sentence breakdown.