Format Code Now
/

Random US State Generator

RG-106

Press Generate to pick random US states from the 50. Add the capital or the 2020 Census population, or sort by population.

Runs in your browser. Nothing is uploaded.

Not used. Press the button to generate.

States

How to use it

  1. Choose how many states you want, from 1 to 50.
  2. Tick Show capital or Show population if you want them.
  3. Press Generate.
  4. Copy the list, or press Generate again.

What each line shows

A line looks like Texas (TX), capital: Austin, population: 29,145,505 (2020 Census). The capital and population parts appear only when you tick them. States do not repeat within one result, so choosing 50 gives every state once in random order. Sorting by population lists the states you drew with the largest first.

About the numbers

Populations are the April 1, 2020 resident counts from the US Census Bureau. They are a snapshot from the census and not current estimates, so they will differ from newer figures. Washington, D.C. and the territories are not in the list. The capital of each state is the seat of its state government.

Questions people ask

How do I pick a random state?

Press Generate with the count set to 1. You get the state name and its two-letter code. Choose a higher count for a list, and tick the capital or population box if you want that detail next to each name.

Does the generator show capitals?

Yes. Tick Show capital and each line adds the state capital, such as capital: Sacramento for California. The capital is the seat of the state government, so Texas shows Austin and not Houston, the biggest city.

Where do the population figures come from?

They are the 2020 Census resident counts from the US Census Bureau, taken on April 1, 2020. They are not updated yearly estimates.

Can I get all 50 states in random order?

Yes. Choose 50. Each state appears once. With Sort by population ticked, the same 50 appear from largest to smallest. Sorting applies only to the states drawn, so choosing 5 sorts those 5 by size and does not rank all fifty states.

Does it include Washington, D.C.?

No. D.C. is not a state, so the list holds only the 50 states. The list also leaves out the territories. If you need the District of Columbia, add it to your own list after you copy the states.

About this tool

Picks among the 50 states with no repeats in one result. Populations are the April 1, 2020 resident counts from the US Census Bureau, so they are not current estimates. Washington, D.C. and the territories are not included. Sorting by population applies to the states you drew, not to all fifty. Picks are made in your browser with crypto.getRandomValues, nothing is stored or sent, and each click gives a new result.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.