Calculate the network, broadcast, usable range, masks and host count for a CIDR block, with /31 and /32 handled correctly.
IPv4 Validator
Validate an IPv4 address and show its decimal, hexadecimal and binary forms with its RFC-defined scope.
- Free
- No sign-up
- Runs in your browser
Input
Fill in IPv4 address to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter an address. If it is valid, every representation is shown along with its scope.
- 2
The scope tells you whether it is routable, private, loopback, link-local or reserved - with the RFC that defines it.
Questions about IPv4 Validator
Why is 010.0.0.1 rejected?
Because it is genuinely ambiguous. Some resolvers and libraries read a leading zero as octal, making 010 equal 8 - so `010.0.0.1` may reach `8.0.0.1`. That discrepancy has been used to slip past address filters, so the tool refuses rather than picking an interpretation.
What does the classful range mean?
Class A, B and C were the pre-1993 scheme, where the first octet determined the network size. CIDR replaced it: today a subnet mask determines the network, and a "class C address" means nothing on its own. The label is shown because the terms persist, marked historical.
Is my data sent anywhere?
No. This tool runs as JavaScript inside your browser tab. There is no network request carrying your input, nothing is written to a server log, and it keeps working with your connection switched off. You can confirm it in the browser’s network panel. That matters more here than elsewhere on the site: developer tools handle tokens, keys and production data.
Does the IPv4 Validator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the IPv4 Validator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the IPv4 Validator uploaded or stored?
No. The IPv4 Validator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Related tools
Other tools you might reach for next.
Work out subnet boundaries, masks and host capacity from an address and prefix length.
Validate an IPv6 address and show its canonical RFC 5952 form, full expansion and scope.
Convert an IPv4 address between dotted decimal, 32-bit integer, hexadecimal, binary and IPv4-mapped IPv6.
Format and indent JSON, with optional alphabetical key sorting and a precise syntax error when it will not parse.
Strip every byte of insignificant whitespace from JSON and report the saving.
Check that JSON is syntactically valid, report its structure, and flag duplicate keys that JSON.parse accepts silently.
Compare two JSON documents structurally, by path, distinguishing a type change from a value change.