IDEAFACTORYS LAB · Random

Random Prime Generator

Sample primes from an interval — unique or with replacement — using a local CSPRNG.

Range

Draw random primes from the closed interval [min,max] (unique by default). Handy for teaching and test data.

Uses your browser’s Web Crypto CSPRNG (crypto.getRandomValues) — strong PRNG for games, picks, and development. Not atmospheric true-random like RANDOM.ORG.

Primes

Primes in range0

FAQ

How large can the range be?

Span is capped at 100,000 for browser performance.