Filter Numbers

Filter a list of numbers: keep only the values between a minimum and a maximum, or only whole, even, odd, positive or negative numbers.

  • 100% free
  • No signup
  • Runs in your browser

Overview

Paste a list of numbers and set min/max or other conditions to keep only matching values.

How to use

  1. Paste your numbers into the box, one per line or separated by commas or spaces.
  2. Optionally enter a minimum and a maximum. Leave a field empty to skip that limit; both limits are included.
  3. Choose which numbers to keep: all numbers in the range, whole numbers, even, odd, positive or negative numbers.
  4. Copy the kept numbers from the Result box; the line below it shows how many were kept.

Filter rules

A number is kept only if it lies between the minimum and the maximum (both included) and matches the selected condition. Decimals and negative numbers are supported.

Even and odd apply only to whole numbers, so 2.5 is neither even nor odd. Zero is even, and it is neither positive nor negative.

Examples

Example Result
1, 5, 10, 15, 20 with minimum 5 and maximum 15 5, 10, 15
−3, −2, 0, 1, 2, 2.5, 7 – even numbers −2, 0, 2
3.5, 4, −1, 8 – whole numbers 4, −1, 8
Tips: Leave min or max empty to skip that bound.

FAQ

One number per line or comma- and space-separated. Decimals and negatives are allowed.

Yes. With a minimum of 5 and a maximum of 15, both 5 and 15 are kept.

Zero is even, because it can be divided by 2 without a remainder. It is neither positive nor negative.

Combine the range with one condition, for example even numbers between 10 and 50. For more complex filters, run the result through the tool again.

Need another tool?

Explore all 61 free tools: calculators, converters, date and time tools, random generators and text utilities.

Browse all tools