Random country generator

Press the button for a random country from a list of 194. Each has a 1 in 194 chance.

The full list (194)

How the randomness works

Every result comes from your browser’s cryptographic random number generator (crypto.getRandomValues), the same source used for encryption keys. To turn random bits into a number in a range without bias, values that would make some outcomes slightly more likely are thrown away and redrawn (rejection sampling). Nothing is sent to a server.