Skip to content
UniKit

Range number excluder

Expand every integer in a range (1-100, 1-50 80-100, …) and remove the numbers or sub-ranges you list, so you get all remaining numbers with optional zero padding and line grouping.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Number range

Remaining numbers

Output is sorted ascending; ranges above the cap (5000 numbers by default) throw instead of rendering an enormous list.

Enter a number range to see the remaining numbers

What this tool does

  • Hand out the leftover numbers in a lottery, seating or serial range after skipping the ones already taken.
  • Re-issue student, desk or file numbers while excluding the reserved block, with zero padding for a uniform width.
  • Group the output five or ten per line so it pastes straight into a table or document.

Example

Input

Range 1-12 · Exclude 3, 7-9

Output

1
2
4
5
6
10
11
12

Ranges are de-duplicated and printed ascending; padding to 3 digits turns the same list into 001, 002, 004 …

Frequently asked questions

How is this different from deleting numbers from a list?

Here you give a range (1-100 …) and the numbers to skip; the range is expanded for you and the output is every remaining number. If you already have a list of numbers, a text-replacement tool fits better.

Which range syntax is supported, and can I use negatives or decimals?

Use 1-100, 1-50 80-100 or single points such as 7; ~ and the Chinese 至 work as separators too. Values must be integers between -1000000 and 1000000, and a negative range is written -5-5 (minus five to five). Decimals are not supported.

Why is the output capped at 5000 numbers?

The result is rendered straight into the page, so hundreds of thousands of lines would freeze the browser. The default cap is 5000 and the hard limit is 20000; going over raises an explicit error instead of silently truncating.

What happens to exclude entries that are outside the range?

The "Excluded" counter only counts numbers that really fall inside the range: with range 1-10 and exclude 3, 99 the counter is 1, because 99 is never part of the range.

Keywords:number excluderange pickerskip numberszero padding

Related tools