What this tool does
Check that an IPv4 address contains four decimal numbers from 0 to 255. Special-use addresses such as loopback, multicast, and unspecified addresses can also have valid syntax. Passing this check does not mean an address is reachable or suitable for your network.
- Syntactically valid addresses such as 0.0.0.0, 127.0.0.1, 224.0.0.1, and 255.255.255.255 are accepted.
- Addresses with leading zeros, such as 192.168.01.1, are rejected to avoid ambiguity with historical octal interpretations.
- Hexadecimal, octal, and single-integer IPv4 notation are not accepted.
How to use it
- Enter an IPv4 address.
- Click Validate IPv4.
- View either Valid IPv4 or a clear explanation of the error.
- Copy the canonical address, binary form, and octet details as needed.
How it works
An IPv4 address has four parts, each from 0 to 255 and represented by 8 bits. Results show the four parts, the full 32-bit binary value, and the unsigned integer so you can compare the formats.
Examples
- 192.168.1.10 → Valid IPv4; its binary form is 11000000.10101000.00000001.00001010.
- 192.168.1.256 → Invalid because the final octet exceeds 255.
- 192.168.01.1 → Invalid because the second octet has a leading zero.
Common uses
- Check IPv4 strings in configuration files, logs, or forms.
- View the fixed-width 8-bit binary value for each octet.
- Confirm the input format before performing CIDR or subnet calculations.
Privacy
Your input and results stay in your browser and are not uploaded or saved automatically. Copy any results you want to keep and save them yourself before leaving the page.
IPv4 Validator Features
Strictly validate A.B.C.D notation, the 0 to 255 range, and leading-zero rules, then view each octet and the 32-bit binary representation. Useful for network planning, configuration checks, and troubleshooting; results can be reviewed and copied immediately.
FAQ
What makes an IPv4 address valid?
A valid IPv4 address uses four decimal octets in A.B.C.D notation. Each must be from 0 to 255 and cannot have leading zeros unless the octet is simply 0.
What is the maximum value of an IPv4 octet?
Each octet is 8 bits, with a minimum value of 0 and a maximum of 255.
Why is 192.168.1.256 invalid?
The value 256 exceeds the maximum value of 255 that an 8-bit octet can represent.
Is the IPv4 address uploaded to a server?
No. Your input is checked and converted only in your browser and is not uploaded.