Batch extract valid IPv4 addresses from logs, code, or any text. Includes built-in counting statistics.
Enter text to start extraction

IPv4 / IPv6 Address Converter
A two-way IPv4 and IPv6 address converter for network configuration, debugging, and format validation.

IPv6 Address Compressor
Compress IPv6 addresses to their shortest RFC-compliant format by removing redundant zeros. Perfect for network configuration and address management.

IP to Number Converter
Convert IP addresses to decimal integers and vice versa. Supports both IPv4 and IPv6 formats. Ideal for development, debugging, and network analysis.

Random IP Address Generator
Generate IPv4 and IPv6 addresses on demand. Supports specific public/private networks and custom CIDR ranges. Ideal for testing, development, and learning.

RIPEMD Hash Generator
Generate RIPEMD-128, RIPEMD-160, RIPEMD-256, and RIPEMD-320 hashes online. Supports text, Hex, and Base64 inputs.
Manually filtering through large volumes of IP addresses mixed within server logs, code comments, or configuration documents is both time-consuming and error-prone. This tool uses a regular expression engine to automatically identify and batch extract addresses that match the standard IPv4 format from any text. An IPv4 address consists of four integers between 0 and 255 represented in dot-decimal notation, such as 192.168.1.1.
Q: How do I extract all IP addresses from a log file?
A: Just copy and paste the entire contents of your log file into the tool's input box. The tool will automatically scan it and output all valid IPv4 addresses, one per line.
Q: Does the tool support extracting IPv6 addresses?
A: No. This tool currently only extracts IPv4 address formats (e.g., 192.168.1.1). IPv6 addresses (e.g., 2001:0db8:85a3::8a2e:0370:7334) will not be recognized.
This tool is only designed to extract addresses from text that conform to the IPv4 specification (four integers from 0-255). It does not differentiate between private addresses (e.g., 10.x.x.x) and public addresses. When processing extremely long text, browser performance may affect response speed. All processing is done locally without uploading any data, so you can use it with confidence.
For network administrators or security analysts, we recommend doing a preliminary cleanup of log files to remove irrelevant characters before processing, which can improve the tool's efficiency. The core regular expression pattern used by this tool is: (?:[0-9]{1,3}\.){3}[0-9]{1,3}, with backend validation ensuring each numeric segment falls within the 0-255 range. As a typical example, inputting the text "Access from 192.168.1.1 and 10.0.0.1, invalid address 300.400.500.600 is ignored." will accurately output two lines: 192.168.1.1 and 10.0.0.1.