Skip to main content
IP Range CalculatorPRO
IPv4 Subnetting & RangeInstant Client-Side Tool

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.

Quick presets:

Calculated Boundaries & ParametersReady

Network Address192.168.1.0
Broadcast Address192.168.1.255
First Usable Host192.168.1.1
Last Usable Host192.168.1.254
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
Total Addresses256
Usable Host Range254

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.

  1. Paste mixed input

    Lines can hold single addresses, CIDR blocks, address-mask pairs, full ranges, short ranges, or octet wildcards.

  2. Detect the pattern

    The parser tests each line in a fixed order: CIDR, mask pair, full range, short range, wildcard, then single address.

  3. Convert to an interval

    Every pattern becomes a start–end interval. 10.0.0.0 255.255.255.0 becomes 10.0.0.0 – 10.0.0.255.

  4. 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 255

Covers 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.

InputDetected TypeNormalizedAddresses
192.168.5.20Single address192.168.5.20/321
192.168.5.0/24CIDR block192.168.5.0/24256
192.168.5.0 255.255.255.192Address + mask192.168.5.0/2664
192.168.5.0/255.255.255.240Slash + mask192.168.5.0/2816
192.168.5.10 - 192.168.5.40Full range5 CIDR blocks31
192.168.5.100-150Short range192.168.5.100 – 192.168.5.15051
192.168.5.*Octet wildcard192.168.5.0/24256
192.168.*.*Octet wildcard192.168.0.0/1665,536
192.168.5.300RejectedOctet 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.