How to use the random state generator
- Choose how many states you need using the Number of states field (between 1 and 50).
- Click Generate to pick your random US states.
- Copy the results for your trivia game, lesson plan or travel itinerary.
- Click Generate again at any time to get a fresh set of states.
How the random selection works
The tool uses a Fisher-Yates shuffle to guarantee every state has an equal chance of appearing. It starts with an array of all fifty states and swaps elements using a cryptographically secure random number provided by crypto.getRandomValues. If you ask for three states, the algorithm shuffles the entire list and returns the first three entries. This means no state is ever picked twice in a single run, and every combination is equally likely.
For example, requesting two states might yield Montana, MT and Delaware, DE. Running it again could return Hawaii, HI and Ohio, OH. Because the source of randomness comes from the browser's built-in cryptographic API rather than a simple pseudo-random formula, the results are suitable for fair games and unbiased sampling.
The fifty US states and their abbreviations
Every random us state generator needs a reliable reference list. Below is the complete set of fifty states paired with their official two-letter USPS abbreviations. The tool draws exclusively from this list, meaning territories like Puerto Rico, Guam and Washington D.C. are not included since they are not states.
| State | Abbreviation | State | Abbreviation |
|---|---|---|---|
| Alabama | AL | Montana | MT |
| Alaska | AK | Nebraska | NE |
| Arizona | AZ | Nevada | NV |
| Arkansas | AR | New Hampshire | NH |
| California | CA | New Jersey | NJ |
| Colorado | CO | New Mexico | NM |
| Connecticut | CT | New York | NY |
| Delaware | DE | North Carolina | NC |
| Florida | FL | North Dakota | ND |
| Georgia | GA | Ohio | OH |
| Hawaii | HI | Oklahoma | OK |
| Idaho | ID | Oregon | OR |
| Illinois | IL | Pennsylvania | PA |
| Indiana | IN | Rhode Island | RI |
| Iowa | IA | South Carolina | SC |
| Kansas | KS | South Dakota | SD |
| Kentucky | KY | Tennessee | TN |
| Louisiana | LA | Texas | TX |
| Maine | ME | Utah | UT |
| Maryland | MD | Vermont | VT |
| Massachusetts | MA | Virginia | VA |
| Michigan | MI | Washington | WA |
| Minnesota | MN | West Virginia | WV |
| Mississippi | MS | Wisconsin | WI |
| Missouri | MO | Wyoming | WY |
Practical ways to use a random state picker
A random state picker is surprisingly versatile beyond simple curiosity. Teachers frequently use it to assign geography projects: each student receives a randomly selected state to research, ensuring an even distribution without arguments over who gets California or Texas. Trivia hosts rely on it to generate questions about capitals, flags or demographics without manually flipping through a list.
Travelers planning a road trip can use the tool to build an itinerary. By generating five or six states, you create a spontaneous route that pushes you outside your usual preferences. Game designers also use state randomizers for board games or digital prototypes where players need to claim territories. If you enjoy other types of randomization, tools like the random country generator or the random NFL team generator work on the same principle but with different datasets.
Common mistakes when picking random states
The most frequent error is including Washington D.C. or territories such as Puerto Rico, Guam, the U.S. Virgin Islands and American Samoa. While these are part of the United States, they are not states. A proper random us state generator must restrict its pool to exactly fifty entries. Another mistake is allowing duplicates when multiple states are requested. If you ask for three states and the algorithm picks independently each time, you might receive the same state twice. The Fisher-Yates approach used here prevents that by sampling without replacement.
People also sometimes confuse state names with postal abbreviations. For clarity, this tool outputs both the full name and the two-letter code, so there is no ambiguity between states like Mississippi (MS) and Missouri (MO).
Worked examples
Each result below was produced by the same code the tool runs, so you can check your own numbers against them.
| Example | Input | Result |
|---|---|---|
| Single state | Number of states: 1 | Rhode Island, RI |
| Three states for a road trip | Number of states: 3 | South Dakota, SD, Georgia, GA, Wyoming, WY |
| Ten states for trivia | Number of states: 10 | Rhode Island, RI, Maine, ME, Nevada, NV, Mississippi, MS, Florida, FL, Washington, WA, New Hampshire, NH, Maryland, MD, Virginia, VA, Delaware, DE |
| All fifty states shuffled | Number of states: 50 | Texas, TX, Virginia, VA, Idaho, ID, Colorado, CO, Connecticut, CT, Florida, FL, Georgia, GA, Minnesota, MN, New Mexico, NM, Ohio, OH, Michigan, MI, California, CA, Tennessee, TN, Wisconsin, WI, Missouri, MO, New Jersey, NJ, Arkansas, AR, South Dakota, SD, Pennsylvania, PA, North Carolina, NC, Indiana, IN, Arizona, AZ, West Virginia, WV, Maryland, MD, Massachusetts, MA, Montana, MT, Delaware, DE, Kentucky, KY, Oklahoma, OK, Iowa, IA, North Dakota, ND, Wyoming, WY, Washington, WA, Alaska, AK, Alabama, AL, Oregon, OR, Louisiana, LA, Illinois, IL, Utah, UT, Nebraska, NE, New York, NY, Rhode Island, RI, Mississippi, MS, Vermont, VT, Nevada, NV, New Hampshire, NH, Maine, ME, Hawaii, HI, Kansas, KS, South Carolina, SC |
FAQ
Does this include Washington D.C. or Puerto Rico?
No. The list contains exactly the fifty US states. Washington D.C. is a federal district, and Puerto Rico is a territory, so neither is included in the random us state generator.
Can I get duplicate states if I ask for more than one?
No. The tool samples without replacement, meaning every state in a single result set is unique. You can request up to all fifty states at once.
Is the selection truly random?
It uses the Web Crypto API, which provides cryptographically secure random numbers. This makes the selection far more uniform than basic math-based pseudo-random functions.
Why does it show two-letter abbreviations?
The USPS abbreviations are included alongside the full state names to prevent confusion between similar names and to make the output easy to use in forms or databases.
Can I use this for a classroom activity?
Yes. Teachers often use it to assign states for research projects or geography quizzes. Since it runs in the browser, students can use it on any device without installing software.
What is the maximum number of states I can generate at once?
You can generate up to fifty states at once, which effectively shuffles the entire list of US states into a random order.