Mixed IP Input Parser
Interpret addresses, prefixes, masks, and ranges.
Mixed IP Input Parser: inputs and results
Enter an IP address, CIDR prefix, or range. Then check its first and last address below.
Calculated Boundaries & ParametersReady
Key Capabilities
- •100% Client-Side: Zero telemetry or server latency.
- •RFC Compliant: Exact 32-bit and 128-bit integer precision.
- •Quick Copy: Instant access to CIDR, mask, and range bounds.
- •Cross-Platform: Works on desktop, tablet, and mobile browsers.
Related IPv4 Subnetting & RangeAll Tools
IPv4 Range Calculator
Find address boundaries from a prefix.
IPv4 Subnet Calculator
Calculate subnet details from address and mask.
Network Address Calculator
Find the subnet’s network address.
IPv4 Broadcast Address Calculator
Find broadcast addresses where applicable.
First and Last Address Calculator
Identify a range’s endpoints.
Usable IPv4 Host Range Calculator
Apply the selected subnet-use rules.
How Mixed IP Input Parser Works?
The Mixed IP Input Parser works by matching each line against 6 input patterns, then converting every match into a start address, end address, and size.
Paste mixed input
Lines can hold single addresses, CIDR blocks, address-mask pairs, full ranges, short ranges, or octet wildcards.
Detect the pattern
The parser tests each line in a fixed order: CIDR, mask pair, full range, short range, wildcard, then single address.
Convert to an interval
Every pattern becomes a start–end interval.
10.0.0.0 255.255.255.0becomes10.0.0.0 – 10.0.0.255.Report the result
The parser prints the detected type, the normalized CIDR or range, and the address count for each line.
Mixed IP Input Parser Formula
The Mixed IP Input Parser formula maps every supported input to one interval [Start, End], and the size of each interval equals End − Start + 1.
CIDR or mask pair
[IP AND Mask, (IP AND Mask) OR Wildcard]Covers a.b.c.d/p and a.b.c.d m.m.m.m.
Full range
[Start, End]Covers a.b.c.d – e.f.g.h.
Short range
[a.b.c.x, a.b.c.y]Covers a.b.c.x-y.
Octet wildcard
* → 0 to 255Covers a.b.c.* and a.b.*.*.
Worked example: 4 lines of mixed input
10.0.0.5 → single 10.0.0.5/32 1 10.0.1.0 255.255.255.128 → mask 10.0.1.0/25 128 10.0.2.10-20 → short 10.0.2.10–10.0.2.20 11 10.0.3.* → wildcard 10.0.3.0/24 256
Mixed IP Input Parser Conversion Table
The Mixed IP Input Parser conversion table lists 9 input formats with the detected type, the normalized result, and the address count.
| Input | Detected Type | Normalized | Addresses |
|---|---|---|---|
| 192.168.5.20 | Single address | 192.168.5.20/32 | 1 |
| 192.168.5.0/24 | CIDR block | 192.168.5.0/24 | 256 |
| 192.168.5.0 255.255.255.192 | Address + mask | 192.168.5.0/26 | 64 |
| 192.168.5.0/255.255.255.240 | Slash + mask | 192.168.5.0/28 | 16 |
| 192.168.5.10 - 192.168.5.40 | Full range | 5 CIDR blocks | 31 |
| 192.168.5.100-150 | Short range | 192.168.5.100 – 192.168.5.150 | 51 |
| 192.168.5.* | Octet wildcard | 192.168.5.0/24 | 256 |
| 192.168.*.* | Octet wildcard | 192.168.0.0/16 | 65,536 |
| 192.168.5.300 | Rejected | Octet above 255 | — |
What is Mixed IP Input Parser?
The Mixed IP Input Parser is a tool that reads addresses, CIDR prefixes, subnet masks, and ranges written in different notations and converts all of them into one consistent format.
Address data arrives in many shapes. Vendor documentation uses CIDR, older firewalls export address-and-mask pairs, and tickets contain short ranges such as 10.0.2.10-20. The Mixed IP Input Parser accepts 6 notations in a single paste and labels each line with its detected type.
Every parsed line becomes a start–end interval, which other tools such as the IP Range Merger, the Range Overlap Checker, and the Firewall CIDR List Optimizer accept directly.
What are the uses of Mixed IP Input Parser?
There are 5 main uses of the Mixed IP Input Parser, including migration prep, ticket processing, and data cleanup.
Preparing firewall migrations
Exports from one vendor use masks and the target vendor expects CIDR. The parser converts the full object list.
Processing access request tickets
Requests list addresses in free-form notation. The parser turns them into exact CIDR blocks.
Cleaning shared spreadsheets
Spreadsheets edited by many people mix notations in one column. The parser standardizes the column.
Feeding automation pipelines
Scripts expect one input format. The parser converts mixed input before the pipeline runs.
Reading vendor documentation
SaaS vendors publish allow-lists in mixed notation. The parser converts the list for import.