IPv4 validator
Validate if an IP address follows the correct IPv4 format with four octets separated by dots.
This tool processes all data locally on your device.
Input
Output
Result
No value
Guide
What does a valid IPv4 address look like?
An IPv4 address is four numbers from 0 to 255 separated by dots, such as 192.168.1.1, the address many home routers use. Each number is one byte, so the whole address is 32 bits.
Tool description
Type or paste an address and the IPv4 validator tells you at once whether it's valid. Spaces or a line break around a pasted address are ignored. The check follows the strict dotted decimal form, so it rejects:
- numbers above 255, as in 256.1.1.1
- fewer or more than four parts, as in 192.168.1
- leading zeros, as in 192.168.01.1, because some programs read them as octal numbers
- a port or a network prefix, as in 192.168.1.1:80 or 10.0.0.0/8
- shorthand and hex forms such as 127.1 or 0x7f.0.0.1, which some programs accept
The tool checks IPv4 only. For IPv6 addresses, or to see an address's type and range, use the IP Address Parser.
Features
- Accepts exactly four decimal numbers from 0 to 255
- Rejects leading zeros, shorthand and hex forms that loose parsers let through
- Ignores spaces and line breaks around a pasted address
Comments
Tool info
Created
Last updated
Tags
validatorip
Similar Tools
Validate if a date is after another date or the current date using the validator.js isAfter function
Validate magnet links and parse their components. Check if a magnet URI is properly formatted and extract information like info hash, display name, and tracker URLs.
Validate and parse Estonian personal identification code.
Powered By
Embed
Embed this tool anywhere for free. Need help? Check out our guide.
Disclaimer
The tools provided on this website are designed to assist users in solving various problems. While we strive to ensure that the tools are accurate and effective, we do not guarantee or warrant that the output of any tool will be 100% accurate or error-free. The results generated by these tools are provided as-is and should be used with caution. We recommend that users verify any important information or results with additional resources or professional advice, as we cannot be held responsible for any consequences arising from the use of these tools. By using this website, you agree to assume all risks associated with the accuracy and use of the results provided.