Number Primality Test
Test one or many numbers for primality at once. Enter numbers separated by commas, spaces, or newlines.
About Primality Testing
Paste a list of numbers — commas, spaces, newlines, whatever — and get back which ones are prime. The check runs Miller-Rabin with deterministic witnesses up to 3.3×10²⁴, so results in that range are exact rather than probabilistic. And everything runs in your browser. Nothing gets uploaded.
FAQ
How many numbers can I test at once?
There is no hard limit, but testing thousands of very large numbers may take a moment. For typical use, it's instant.
What separators can I use?
Commas, spaces, tabs, or newlines. The tool extracts all integers from the input.
Does it support large numbers?
Yes. The tool uses BigInt arithmetic for numbers of any size.
What's the difference between this and "Test Prime Number"?
This tool is optimized for batch testing multiple numbers at once, while the other focuses on a single number with more detail.