Skip to content
UniKit

Number range expander

Number range expander with local processing and strict input validation.

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

Text

Result

The result was generated locally.

Enter text to process

What this tool does

  • Transform text locally.
  • Process copied text without uploading data.
  • Compress consecutive number lists into compact ranges.

Example

Input

1 2 3 5

Output

1-3, 5

All processing runs locally and invalid input is rejected explicitly.

Frequently asked questions

Is empty input supported?

Yes, it returns an empty result.

How is invalid input handled?

It returns an explicit invalid-input error.

Which numbers are merged into ranges?

Consecutive numbers are compressed into a start-to-end range, while isolated numbers remain separate.

Keywords:数值范围展开Number range expanderno-range-parsetext encodinglocal tool

Related tools