Random State Generator
This random state generator picks one of the 50 U.S. states and shows its name with the two-letter postal code. There is nothing to fill in. Click Generate, read the result, then click again for a new pick. Every state carries the same 2% chance, and repeats are possible.
What is included?
The draw picks from a fixed list of 50 entries: one per U.S. state, in alphabetical order from Alabama to Wyoming, each stored with its two-letter postal code. Washington (WA) is in that list. Washington, D.C. is not, and neither are Puerto Rico, Guam, American Samoa, the Northern Mariana Islands, the U.S. Virgin Islands, or military postal codes. The data file holds 50 records and the code asks for an index between 0 and 49, so nothing outside those entries can appear. The names printed under the generator come from the same list, so that list is exactly what the tool can return.
Equal chances, and how a pick is made
Each click asks the browser for random bytes through crypto.getRandomValues, one byte per attempt. A byte is a number from 0 to 255. Because 256 does not divide evenly by 50, the six values 250 through 255 are thrown away and another byte is taken. Of the 250 accepted values, exactly five land on each state after dividing by 50 and keeping the remainder. For example 7, 57, 107, 157, and 207 all leave remainder 7, which is Delaware. Five accepted values out of 250 is 1 in 50, so every state sits at 2% and none is favored.
Step by step
Click Generate. That is the whole interaction, because this form has no fields to complete first. The answer appears in the result area as one line: the state name, a space, and the postal code in parentheses, for example Kansas (KS). The button label then changes to Generate again, and another click gives a new draw. The result area is a live region, so a screen reader announces each pick as it replaces the one before it. Nothing is added to a running list and nothing is kept, so the page shows only the latest state.
Limits worth knowing first
One click returns one state. There is no quantity field here, so you cannot ask for ten states in a single run the way the number generator can. Nothing carries over between clicks, which means the same state can repeat and a run of fifty clicks will not necessarily cover the whole list. The pool cannot be filtered: there is no way to drop a state, limit the draw to one region, or add the District of Columbia. The page does not copy, save, or export results, so select the text yourself if you need to keep it.
What 2% looks like over a few clicks
Equal odds are not the same as an even spread. Every draw offers all 50 entries at 2% each, independent of what came before, so short runs bunch up: two coastal picks in three clicks, and no landlocked state at all. If you need one distinct state per student, per team, or per question, treat the page as a checklist. Keep the names visible, cross each pick off as it appears, and keep clicking until you have the count you need. The number generator can also draw unique numbers from 1 to 50, and you can match each result to the corresponding line on the list.
Where this gets used
Classroom warm-ups, where one state per student becomes a capital, a border, or a history prompt. Table-game tie-breakers, where nobody wants to be seen choosing. Map and flag practice, since the result carries a postal code the reader has to place. A starting point for research or writing when any answer will do. Geography brackets, where each player draws a state and names one fact about it. All 50 entries stay in play on every click, so coastal, landlocked, and island picks are all possible.
Adjacent tools
The related links under this generator point to the other random tools in the same group. The random number generator returns one to a hundred numbers from a range or a digit count, with an option to rule out repeats. The random letter generator returns a single letter from A to Z. The number wheel is the one to use when the pool itself should change: it takes up to a hundred options, one per line, each up to sixty characters, with an optional weight after a pipe character, so you can add Washington, D.C. or remove states you do not want.
USPS state abbreviations: The list uses the current two-letter postal abbreviations, including Nebraska NE.
- Alabama (AL)
- Alaska (AK)
- Arizona (AZ)
- Arkansas (AR)
- California (CA)
- Colorado (CO)
- Connecticut (CT)
- Delaware (DE)
- Florida (FL)
- Georgia (GA)
- Hawaii (HI)
- Idaho (ID)
- Illinois (IL)
- Indiana (IN)
- Iowa (IA)
- Kansas (KS)
- Kentucky (KY)
- Louisiana (LA)
- Maine (ME)
- Maryland (MD)
- Massachusetts (MA)
- Michigan (MI)
- Minnesota (MN)
- Mississippi (MS)
- Missouri (MO)
- Montana (MT)
- Nebraska (NE)
- Nevada (NV)
- New Hampshire (NH)
- New Jersey (NJ)
- New Mexico (NM)
- New York (NY)
- North Carolina (NC)
- North Dakota (ND)
- Ohio (OH)
- Oklahoma (OK)
- Oregon (OR)
- Pennsylvania (PA)
- Rhode Island (RI)
- South Carolina (SC)
- South Dakota (SD)
- Tennessee (TN)
- Texas (TX)
- Utah (UT)
- Vermont (VT)
- Virginia (VA)
- Washington (WA)
- West Virginia (WV)
- Wisconsin (WI)
- Wyoming (WY)
Frequently asked questions
Does the list include Washington, D.C. or the territories?
No. The data behind the draw holds 50 records, one per state, and the code asks for an index from 0 to 49, so the District of Columbia, Puerto Rico, Guam, American Samoa, the Northern Mariana Islands, and the U.S. Virgin Islands can never appear. That is a fixed part of this tool rather than a setting you can change. If your pool needs districts or territories, type your own list into the number wheel instead.
Can the random state generator pick the same state twice?
Yes. Nothing is remembered between clicks, so every draw starts again with all 50 entries. Two identical results in a row are ordinary, and a longer run will leave some states unused. If you need distinct states, cross each name off the list on the page as it appears, or use the number generator with its No repeats checkbox set over the range 1 to 50 and match each number to a line on that list.
Is every state equally likely to come up?
Yes. Once the six rejected byte values are discarded, each of the 50 entries has exactly five accepted values behind it, which is 1 in 50, or 2%. The draw reads random bytes from the browser Web Crypto interface (crypto.getRandomValues) instead of a lighter counter, and it retries until a byte lands inside the accepted range, so no entry is weighted above another and none is skipped on purpose.
Why does it sometimes say it could not generate a state?
That message means the draw returned nothing. The usual cause is a browser that does not expose a random byte source at all; the rarer one is 128 retries in a row landing on a discarded value. Click again first. If it keeps appearing, reload the page or try another browser, because the bytes come from the browser itself and not from a service the page would have to reach.
Can I get several states in one click?
No. One click returns one line, and this form has no quantity field, unlike the number generator, where a run can return up to 100 values. For a batch of states, click repeatedly and note each result, or draw unique numbers from 1 to 50 and match each number to the alphabetical list printed under the generator.
What do the two letters after the state name mean?
They are the current USPS two-letter postal abbreviations, stored next to each name in the same data file, so the result reads Kansas (KS) or Nebraska (NE). The code arrives as part of the result text rather than as a second field, which means one selection copies name and abbreviation together. The USPS abbreviation table linked above the list gives every code in the same format.