Developer Tools
IP Address Validator
Check whether an IP address is valid IPv4 or IPv6 in your browser. Get the canonical form, reserved-range classification, and batch validate a list.
Quick samples
Result
Valid IPv4192.168.1.1
3232235777
0xc0a80101
11000000.10101000.00000001.00000001
::ffff:192.168.1.1
Use this form when an IPv4 address needs to appear in an IPv6 field.
1.1.168.192.in-addr.arpa
The PTR record name for reverse lookups.
Classification
- Private192.168.0.0/16 is the most common RFC 1918 private range, used by home routers worldwide.
Octet breakdown
| # | Decimal | Hex | Binary |
|---|---|---|---|
| 1 | 192 | 0xc0 | 11000000 |
| 2 | 168 | 0xa8 | 10101000 |
| 3 | 1 | 0x01 | 00000001 |
| 4 | 1 | 0x01 | 00000001 |
What this tool validates
IPv4 is validated under RFC 791 grammar: exactly four dotted octets in the 0-255 range, no leading zeros (so 010.0.0.1 is rejected because some parsers treat 010 as octal). Plain 32-bit integers and 0x-style numeric forms are accepted as alternate IPv4 inputs and normalized to the dotted form. IPv6 follows RFC 4291 and RFC 5952: any combination of the eight 16-bit groups, with at most one :: compression token, optional embedded IPv4 tail (::ffff:192.168.1.1) and an optional zone identifier separated by % (or URL-encoded %25). Bracketed URL syntax like [2001:db8::1] is unwrapped for you. Validation runs entirely in your browser, so the addresses you paste never leave your device.
How to use
- Pick Single address to validate one IPv4 or IPv6 value at a time, or Batch validate to paste a list (one address per line).
- Type or paste the address into the input box. IPv4 uses four dotted octets (192.168.1.1), IPv6 uses colon-separated hex groups (2001:db8::1), and bracketed URL forms like [2001:db8::1] are unwrapped for you.
- Read the verdict at the top of the result panel. A valid address is labelled with the detected version, the canonical form, every equivalent representation, and a per-octet or per-group breakdown.
- Check the classification chips for every reserved-range label the address touches (private, loopback, link-local, multicast, documentation, IPv6 unique local, and so on) along with the matching RFC note.
- If the address is invalid, read the reason line below the verdict to fix the input. In batch mode, the line-by-line table shows the status and reason for every entry and the Copy valid and Copy invalid buttons split the cleaned and rejected lists.
About this tool
IP Address Validator confirms whether an IPv4 or IPv6 address is well-formed and surfaces every piece of information a network engineer, security analyst, or developer typically needs about a single address: the version, the canonical form, every equivalent representation, and the reserved-range classifications that decide whether the address is routable on the public internet. IPv4 is parsed under the RFC 791 grammar (four dotted decimal octets in the 0-255 range, leading zeros rejected because some legacy parsers treat them as octal), with plain 32-bit integer inputs accepted as an alternate form and normalized back to the dotted view. IPv6 is parsed under RFC 4291 with RFC 5952 canonicalization: any combination of the eight 16-bit hex groups, at most one :: compression token, optional embedded IPv4 tail like ::ffff:192.168.1.1, an optional zone identifier separated by % (or URL-encoded %25), and bracketed URL syntax like [2001:db8::1] is unwrapped automatically. Successful results include the canonical compressed form, the fully expanded form, the 32-character hex form, the decimal integer for database storage, an IPv4-mapped IPv6 form for IPv4 inputs, and the ip6.arpa or in-addr.arpa reverse-DNS name for PTR record lookups. The classification panel labels the address with every reserved range it touches: private (RFC 1918 for IPv4, RFC 4193 unique local for IPv6), loopback (127.0.0.0/8 and ::1), link-local (169.254.0.0/16 and fe80::/10), carrier-grade NAT (100.64.0.0/10), multicast (224.0.0.0/4 and ff00::/8), broadcast (255.255.255.255), documentation (RFC 5737 TEST-NETs and RFC 3849 2001:db8::/32), benchmarking (198.18.0.0/15), reserved Class E (240.0.0.0/4), deprecated 6to4 relay anycast, the NAT64 well-known prefix, the IPv6 Teredo and discard ranges, IPv4-mapped IPv6, and the global unicast 2000::/3 block. A failure result names the offending segment, so a typo or a wrong-length octet is fixed without re-running. Batch validate mode takes a list of addresses (one per line) from logs, allowlists, or firewall configurations and shows pass and fail counts, a per-line status table with the reason on failure, and Copy buttons for the valid and invalid splits so the cleaned list pastes straight back into a config. Useful for vetting firewall rules, allow and deny lists, log lines, IOCs, security alerts, IPAM records, container network manifests, and any place where IP addresses arrive as text and need to be confirmed before they ship to production. All parsing runs locally in your browser. No address, no log line, and no allowlist is ever sent off your device.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
IP Address Converter
Convert IPv4 between dotted-decimal, decimal, hex, binary, and octal with per-octet breakdown.
Open tool
DeveloperSubnet Calculator
IPv4 CIDR network, broadcast, host range, mask, and binary view.
Open tool
DeveloperCIDR Range Calculator
Batch CIDR to IP range, range to CIDR, and contains test for IPv4 and IPv6.
Open tool
DeveloperRandom IP Address Generator
Bulk random IPv4 and IPv6 generator with scope filters, CIDR limits, and JSON, CSV, SQL output.
Open tool
DeveloperMAC Address Formatter
Convert and validate MAC addresses across IEEE, Cisco, decimal, EUI-64, and IPv6 forms.
Open tool
DeveloperUser Agent Parser
Decode any User-Agent into browser, engine, OS, device, and bot info.
Open tool