Filter Numbers by Digit Count

Paste your numbers, then set a digit-count rule: exactly, a range, at least or at most. Choose whether the matching numbers should be kept or removed.
Length Rule:   Rule Value:
Measure By:   Action:
Separator:   
Recognition Options:
Calculation Result Download CSV
Count Original Digits

Introduction to the tool and how to use it

The digit-length filter picks numbers whose digit count meets your requirement, for example pulling out all 3-digit numbers from a list of codes or removing codes with 5 or more digits.
Note: results keep the input order and are not sorted automatically; leading zeros do not change the digit count, so 007 still counts as 3 digits.

How to use

  1. Paste numbers into the input box; commas, spaces, line breaks, or any symbol work as separators.
  2. Choose the digit condition: equal to (for example 3), a range (for example 3-5), at least N digits, or at most N digits, and enter the matching value on the right.
  3. Choose how digits are counted: plain digit count ignores the sign and decimal point (007 counts as 3 digits), while character length counts signs as well.
  4. Choose the filter action: keep matching numbers or remove matching numbers to exclude certain lengths.
  5. Click Start; the text box on the right outputs results using your separator, the table below lists each item as index / number / digit count (copyable in place), and a CSV download is available.

Message board

All messages →
0/200

  • No one has spoken up yet — want to go first?