Category: Calculators

prime number generator

System ideaMissing a tool?

Generate range primes or the first N primes with a sieve

Generate primes in a range or the first N primes from 2 using a sieve of Eratosthenes. Local browser tool; huge lists are capped.

Uses a sieve of Eratosthenes; very wide ranges or large counts are capped so the tab stays responsive.

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

This prime number generator uses the sieve of Eratosthenes to list primes. Range mode sieves up to the upper bound and keeps primes at or above the lower bound; count mode estimates an upper bound for the Nth prime and expands if needed. You can copy or download the list. Very large ranges or counts are capped to keep the tab responsive. It does not provide large-integer primality proofs, factorization, distribution charts, random primes or cryptographic prime generation.

How to use it

  1. Choose range mode or first-N-primes mode.
  2. Enter the bounds or the number of primes to generate.
  3. Copy or download the generated list.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

What is the difference between a prime generator and a prime checker?
A generator lists many primes; a checker normally tests whether one number is prime.
How does the sieve of Eratosthenes list primes in a range?
The sieve marks multiples of known primes as composite and leaves the primes up to the requested limit.
Why are very large prime lists capped in a browser?
Huge lists can consume memory and CPU, so the browser tool caps very wide ranges or counts to keep the tab responsive.
Does this prime number generator upload my range or count?
No. The range, count and generated list stay in the browser and are not uploaded to LocalTools.
What large-integer proof, factorization or distribution-chart features does it not support?
It does not support large-integer primality proofs, factorization, prime distribution charts, infinite streaming, random primes or cryptographic prime generation.