Extract IP Address finds every IP address in your text and lists each one on its own line. Paste your text or log, click the button and copy the result. It is free and runs in your browser.
192.168.0.1 is the default gateway that is used by many routers. Another IP address is 192.168.0.101
192.168.0.1 192.168.0.101
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
This tool finds the IP addresses in your text and puts each one on its own line. Everything else is removed from the result.
It finds IPv4 addresses, which are four numbers from 0 to 255 separated by dots, like 192.168.0.1. Numbers above 255 and dotted numbers with too few or too many parts are skipped, and a port after an address, as in 192.168.1.10:8080, is left out.
Use it to list the addresses in a server log, a config file, an email header or a report. Repeated addresses can be listed once.
Each example shows the text before and after extracting. Duplicates are removed unless the option is off.
| Case | Before | After |
|---|---|---|
| Example sentence | 192.168.0.1 is the default gateway that is used by many routers. Another IP address is 192.168.0.101 | 192.168.0.1 192.168.0.101 |
| Several lines | Server A: 10.0.0.5 Server B: 10.0.0.6 | 10.0.0.5 10.0.0.6 |
| Log line | 203.0.113.7 - - [08/Nov/2026] "GET / HTTP/1.1" 200 | 203.0.113.7 |
| Port number is left out | Connect to 192.168.1.10:8080 | 192.168.1.10 |
| Invalid addresses are skipped | Bad: 256.1.1.1, 1.2.3 and 1.2.3.4.5. Good: 8.8.8.8 | 8.8.8.8 |
| Duplicates removed | 8.8.8.8, 1.1.1.1, 8.8.8.8 | 8.8.8.8 1.1.1.1 |
| Duplicates kept (option off) | 8.8.8.8, 1.1.1.1, 8.8.8.8 | 8.8.8.8 1.1.1.1 8.8.8.8 |
Listing the addresses in server logs, config files, email headers and reports, and building a clean list to check, block or count.
Only IPv4 addresses are found, so IPv6 addresses such as 2001:db8::1 are not included. Addresses are not checked to see if they are in use, and the result replaces your text, so use Undo if you need the original.
For IPv6 addresses try Ipv6 Address Extractor. To get web links try Extract Urls.
It finds every IP address in your text and puts each one on its own line. Everything else is removed from the result.
Paste your text or log, or import a text file, then click Extract IP Address. The addresses replace the text in the box. Click Copy to use them, or Undo to go back.
IPv4 addresses, which have four numbers from 0 to 255 separated by dots, such as 192.168.0.1 or 8.8.8.8. IPv6 addresses are not extracted.
Yes. A number above 255, such as 256.1.1.1, a group with fewer than four numbers, such as 1.2.3, and a longer dotted number, such as 1.2.3.4.5, are not returned.
It is not part of the result. In the text 192.168.1.10:8080 the tool returns 192.168.1.10.
Yes, by default. An address used more than once is listed once. Untick Remove duplicate addresses to keep every match, for example to count how often each address appears in a log.
The text is left as it is and you see the message No IP addresses found.
Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server.
Last updated: 8 November 2026