Home Tools Blog About

Filter Numbers

In short

Filter a list of numbers - gt, lt, eq, even/odd, positive/negative, integer/decimal, unique, between, outside. Free, offline, client-side, instant, secure.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

Paste a list of numbers (any mix of commas, spaces, newlines, semicolons, pipes). Pick a filter mode - comparisons (>, , <, , =, ), sign (positive / negative), parity (even / odd, integers only), type (integer / decimal), uniqueness, or range (between / outside). Non-numeric tokens are silently skipped and reported in stats.

- paste numbers and click Filter
🛡
100% PrivateNo server uploads, ever
InstantRuns in your browser
💧
No WatermarksClean output, always
🆓
Free ForeverNo accounts, no limits

How to Use Filter Numbers

Filter Numbers · free online tool · All Tools Verse
Filter Numbers. Free online tool that runs in your browser.
  1. Paste your numbers into the textarea. The parser is permissive - items can be separated by commas, spaces, newlines, semicolons, or pipes (or any mix). Non-numeric tokens are silently skipped; the count surfaces in the stats line.
  2. Pick a filter mode. Comparison modes use the threshold field; sign/parity/type/unique modes ignore it. Range modes ("between" and "outside") use both thresholds (min and max are auto-swapped if out of order).
  3. Set the threshold(s). Decimal-aware (3.14, -2.5, scientific notation like 1e-3). The threshold field hides automatically for modes that don't need it.
  4. Pick an output separator. Default is comma+space; switch to newline for spreadsheets, tab for TSV-style pastes, pipe for visual scanning.
  5. Click Filter numbers (or press Ctrl/Cmd + Enter). The stats line shows parsed count, kept count, removed count, and any non-numeric tokens skipped.
  6. Compare the stat cards. Side-by-side Input vs Output: count, min, max, sum, mean, median. Quick sanity check before copying.
  7. Copy or download. Copy uses the Clipboard API with an execCommand fallback. Download TXT saves filtered-numbers.txt.

Frequently Asked Questions

What does “Remove Duplicates” do?

The “Remove Duplicates” mode keeps only unique numbers from your list. If you enter “5, 10, 5, 20, 10”, the output will be “5, 10, 20” – each number appears only once, in the order it first appeared.

Can I filter negative numbers?

Yes. The tool fully supports negative numbers, decimals, and zero. You can filter by “Positive Only” to get numbers greater than zero, or “Negative Only” to get numbers less than zero.

What’s the difference between “Greater Than” and “Greater or Equal”?

“Greater Than” (>) excludes the threshold value itself. If your threshold is 10, you’ll get 11, 12, 13, etc. “Greater or Equal” (≥) includes the threshold, so you’ll get 10, 11, 12, 13, etc.

Does “Even Only” work with negative numbers?

Yes. Even and odd filters work correctly with negative integers. -4 and -2 are even; -3 and -1 are odd. Zero is even. Decimals like 4.0 are excluded from both – only integers qualify.

What happens if I enter non-numeric values?

The tool automatically skips any non-numeric values and processes only valid numbers. The stats line reports how many tokens were skipped so you can verify nothing unexpected was dropped. If no valid numbers are found at all, you’ll see an error message asking you to enter at least one valid number.

Can I use decimal numbers?

Yes. Decimals like 3.14 or -2.5 work for all comparison and sign modes, and for between/outside. Even/odd modes require integers (decimals are excluded – see “Does Even Only work with negative numbers?” above). Scientific notation like 1e-3 also parses.

What’s the “between” mode?

Keeps numbers where min ≤ x ≤ max (both ends inclusive). Set both threshold fields. If you swap them by mistake (max less than min), the tool auto-swaps them. “Outside” is the inverse – keeps numbers below min OR above max.

How many numbers can I filter at once?

The tool can efficiently handle thousands of numbers instantly since all processing happens in your browser’s memory. Performance depends on your device, but most operations complete in milliseconds.

Is my data uploaded to a server?

No. The page is three static files (HTML, CSS, JS) and runs entirely in your browser using plain string and number operations. No fetch, no XHR, no analytics, no cookies. You can disconnect from the internet after the page loads and the tool still works.

Keep going

Related Tools

All Number tools →
Share

Embed this tool

Add this free tool to your website. Copy and paste the code: