Prime Number Generator

Generate the first N prime numbers instantly.

This tool runs entirely in your browser. Your files are never uploaded to a server.

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71

Enter how many prime numbers you need and get an instant, accurate list starting from 2 — 2, 3, 5, 7, 11, and onward for as far as you want. Handy for students checking homework, teachers building worksheets, programmers testing algorithms, or anyone curious about number theory who wants a quick, reliable reference.

Frequently Asked Questions

How are the prime numbers calculated?
The generator tests each candidate number for divisibility using an efficient algorithm, so every number in the list is a verified true prime.
What is the largest number of primes I can generate?
You can generate between 1 and 500 prime numbers at a time. The calculation runs in your browser and the list always starts with 2.
Does the list always start at 2?
Yes, 2 is the first and only even prime number, so every generated list begins there before continuing with 3, 5, 7, and so on.