RandALL

Random country generator

Spin the globe. It lands on one of 195 countries, each as likely as the next.

Spin to a country

?

195 countries on 6 continents

Tap Spin or press Space. Drag the globe, tap a country.

Continent

Every spin draws the country first, then turns the globe to it. Tap any country on the globe to name it and see its capital.

What it does

Tap Spin and the globe turns to a random country, then shows its flag, capital and continent. It picks from 195 countries: the 193 UN member states, the Holy See and Palestine. Your device’s secure random generator draws the country before the globe moves, so every one has the same 1 in 195 chance.

How to use it

  1. Tap Spin, or press Space. The globe whirls, ticks at every border and lands on a country.
  2. Pick a continent to spin only within it.
  3. Turn on No repeats to cross off each country until every one has come up.
  4. Drag the globe to turn it, and tap any country to see its name and capital.
Put this country on your own site

Paste this where you want it to appear: a class page, a blog post, a stream overlay. It is free to use, with the link under it left in place.

What people use it for

Geography quizzes

Spin, cover the name, and ask for the capital. Or let the globe stop and name the country before the answer comes up.

Where to travel next

Set the filter to the continents you can reach and start reading about wherever the globe lands.

A country to cook from

Spin for a cuisine and cook one dish from it this week. With No repeats on, no country comes up twice until you have cooked them all.

Reading around the world

Read one book from every country. No repeats remembers the ones you have had, in this browser.

Classroom projects

Give each student a country for a report or a poster. With No repeats on, nobody gets the same one.

Which countries are on the list

195 countries: the 193 member states of the United Nations and its two observer states, the Holy See (Vatican City) and Palestine. It is the list the Globe in the RandALL app uses. Places outside it, such as Taiwan, Kosovo, Western Sahara, Greenland or Puerto Rico, are drawn on the globe, but a spin never lands on them.

Africa has the most countries and South America the fewest. Russia counts as Europe and Türkiye as Asia, as in the list’s source, and Central America and the Caribbean count as North America.

ContinentCountriesChance with the filter onShare of all spins
Africa541 in 54 (1.85%)27.7%
Asia471 in 47 (2.1%)24.1%
Europe451 in 45 (2.2%)23.1%
North America231 in 23 (4.3%)11.8%
South America121 in 12 (8.3%)6.2%
Oceania141 in 14 (7.1%)7.2%
All1951 in 195 (0.51%)100%

Outlines: Natural Earth, public domain, simplified for the screen. Country names, capitals and continents: the world-countries dataset by Mohammed Le Doze (github.com/mledoze/countries), ODbL 1.0.

How it picks

The way the app does it: the country first, the spin after.

  1. The country is drawn first. One number from crypto.getRandomValues picks one of the countries the filter allows, each with the same chance. Rejection sampling throws away the few raw numbers that would give some countries an edge.
  2. Then the spin is worked out backwards. The globe winds up, turns east at least once all the way round, and slows down so the country stops in the middle. Then it pushes in until the whole country fills the glass: a big country gets a small zoom, a speck of an island the deepest one, with a ring round it.
  3. The ticks are only the show. Each border that crosses the sight in the middle ticks. The globe reads the borders as it turns and never steers by them.
  4. No repeats is a bag. With it on, every country that comes up is set aside until each one in the filter has had its turn. Then they all go back in.

Tested. In 195,000 test draws every country came up equally often (chi-square test), within each continent filter too. With No repeats, every country came up exactly once a round. And for all 195 countries, from random starting points, the spin always ended with the drawn country in the middle of the globe and all of its main body in view.

How every RandALL tool picks

All 19 web tools

Questions

How many countries are there in the world?

It depends on who is counting. This generator uses 195: the 193 UN member states and the two UN observer states, the Holy See and Palestine. It is the most common answer, and the same list as the RandALL app.

Is the random country generator really random?

Yes. The country is drawn with crypto.getRandomValues before the globe moves, and every country on the list has the same 1 in 195 chance. Where the globe happens to point makes no difference.

Can I get a random country from one continent?

Yes. Pick Africa, Asia, Europe, North America, South America or Oceania next to the globe, and it spins only within that continent. Each one has its own page too, like the random European country generator.

Can the same country come up twice?

Yes, every spin is a fresh draw. Turn on No repeats to cross off each country as it comes up. Once every country in your filter has had a turn, the list starts again.

Why are Taiwan, Kosovo or Greenland not on the list?

The list is the one the RandALL app uses: the UN member states plus the two observer states. Places outside it, such as Taiwan, Kosovo, Western Sahara and territories like Greenland or Puerto Rico, are drawn on the globe, but a spin never picks them.

Are the borders on the globe accurate?

They come from Natural Earth, a public domain world map, simplified to draw fast on a phone. Where a border is disputed, Natural Earth draws the line as it is held on the ground. Tiny countries such as the Vatican get a ring, since their outline is too small to see.

RandALL app icon

Take it with you

RandALL for iPhone has 25 tools in one app: wheels and teams, real 3D dice, random alarms, Finger Picker and more. It works offline.

Your first 24 hours are free, with every tool. After that, subscribe or buy the lifetime unlock once. Family Sharing included.

Get it on the App Store

iPhone only for now. These web tools are yours to keep using.

QR code that opens RandALL on the App Store
Scan with your iPhone
All tools

Lists

Spin the WheelYour list on a wheel Random Name PickerDraw a few names List RandomizerWho goes first? Bracket GeneratorLast one standing Team GeneratorSplit a list into groups

Games

Coin FlipHeads or tails? Dice RollerAny dice, any sides Random Number GeneratorPick a number, any range Random Card GeneratorDraw a card Lottery Number GeneratorPick X of Y Rock Paper ScissorsRock, paper or scissors Spin the BottleRandom direction Tarot Card ReadingOne card, or three

Generators

Random Country GeneratorSpin the globe Random Color GeneratorA color and its palette Random Date GeneratorRandom date and time Fortune CookieOpen a cookie Random TimerNobody knows when it ends Random Animal GeneratorRandom species
RandALL for iPhone25 tools in one app. Works offline.