Random US State Generator

Picks one of the 50 US states at random and shows its flag, postal abbreviation and capital city.

The Random US State Generator picks one of the 50 states with a single press and shows you its flag, its two-letter postal abbreviation and its capital. Every state has the same one-in-fifty chance, so you're as likely to get Wyoming as California. Press again and it draws fresh; previous picks are not excluded.

It exists for the moments when you need a state chosen for you: a geography drill, a road-trip argument, a classroom game, a "which state should my character be from" decision. It's also a decent way to learn the flags, since most people can name fewer than ten of them.

What the result shows

  • The state flag, drawn from a set of 50 SVG flag images stored on the site.
  • The state name with its USPS abbreviation, for example "Missouri (MO)".
  • The capital city, which is often not the biggest city. New York's capital is Albany, California's is Sacramento, and Nevada's is Carson City rather than Las Vegas.

The tool draws from a list that also stores each state's area, year of statehood, motto, state bird, tree and flower, but the card only displays the flag, abbreviation and capital. Washington, D.C. and the territories are not included; it's strictly the 50 states.

Ways to use a random state pick

  • Capitals and flags practice. Cover the card, generate, and name the capital before looking. Do the reverse with the flag hidden. The table below is the answer key.
  • Trip planning by chance. Groups that can't agree on a summer road trip sometimes let the state randomizer decide, then plan around what's there. Pair it with the US City Generator to narrow it further, or the Random Town Generator if you want somewhere small.
  • Classroom assignments. Teachers use it to hand out state report topics without anyone claiming favoritism when a student gets Rhode Island instead of Hawaii.
  • Writing and roleplay. A character's home state changes their accent, weather and background. Picking one at random avoids defaulting to the same three coastal states.
  • License plate and sports games. Any game that needs a state called out at random, from "spot the plate" on a long drive to a college-football bracket.

All 50 states at a glance

Land area is in square miles. The tourist places are a short prompt, not a ranking; every state has more than fits in a cell.

StateCapitalSize (sq mi)Top Tourist Places
AlabamaMontgomery50,645U.S. Space & Rocket Center, Gulf Shores
AlaskaJuneau570,641Denali National Park, Glacier Bay
ArizonaPhoenix113,990Grand Canyon, Sedona, Monument Valley
ArkansasLittle Rock52,035Hot Springs, Crystal Bridges Museum
CaliforniaSacramento155,779Yosemite, San Francisco, Los Angeles
ColoradoDenver103,642Rocky Mountain NP, Mesa Verde, Denver
ConnecticutHartford4,842Mystic Seaport, Yale University
DelawareDover1,954Rehoboth Beach, Winterthur
FloridaTallahassee53,625Disney World, Miami, Everglades
GeorgiaAtlanta57,513Savannah, Atlanta, Okefenokee Swamp
HawaiiHonolulu6,423Waikiki Beach, Volcanoes National Park
IdahoBoise82,643Sun Valley, Craters of the Moon
IllinoisSpringfield55,518Chicago, Galena, Starved Rock State Park
IndianaIndianapolis35,826Indianapolis Motor Speedway, Brown County
IowaDes Moines55,857Amana Colonies, Bridges of Madison County
KansasTopeka81,759Kansas Cosmosphere, Tallgrass Prairie
KentuckyFrankfort39,486Louisville, Mammoth Cave, Lexington
LouisianaBaton Rouge43,204New Orleans, Baton Rouge, Avery Island
MaineAugusta30,843Acadia National Park, Portland
MarylandAnnapolis9,707Baltimore, Annapolis, Assateague Island
MassachusettsBoston7,800Boston, Cape Cod, Salem
MichiganLansing56,539Detroit, Mackinac Island, Sleeping Bear Dunes
MinnesotaSt. Paul79,626Minneapolis, Duluth, Boundary Waters
MississippiJackson46,923Biloxi, Natchez, Vicksburg
MissouriJefferson City68,742St. Louis, Kansas City, Branson
MontanaHelena145,546Glacier National Park, Yellowstone
NebraskaLincoln76,824Omaha, Chimney Rock, Henry Doorly Zoo
NevadaCarson City109,781Las Vegas, Lake Tahoe, Great Basin NP
New HampshireConcord8,953White Mountains, Portsmouth
New JerseyTrenton7,354Atlantic City, Cape May, Princeton
New MexicoSanta Fe121,590Taos, Carlsbad Caverns, White Sands
New YorkAlbany47,126New York City, Niagara Falls, Adirondacks
North CarolinaRaleigh48,618Outer Banks, Asheville, Great Smoky Mountains
North DakotaBismarck69,001Theodore Roosevelt NP, Fargo
OhioColumbus40,861Cincinnati, Cleveland, Hocking Hills
OklahomaOklahoma City68,595Oklahoma City, Tulsa, Wichita Mountains
OregonSalem95,988Crater Lake, Portland, Columbia River Gorge
PennsylvaniaHarrisburg44,743Philadelphia, Pittsburgh, Gettysburg
Rhode IslandProvidence1,045Newport, Providence, Block Island
South CarolinaColumbia30,061Charleston, Myrtle Beach, Hilton Head Island
South DakotaPierre75,811Mount Rushmore, Badlands, Black Hills
TennesseeNashville41,235Nashville, Memphis, Great Smoky Mountains
TexasAustin261,232Austin, San Antonio, Big Bend National Park
UtahSalt Lake City82,170Salt Lake City, Zion NP, Arches NP
VermontMontpelier9,616Burlington, Stowe, Green Mountains
VirginiaRichmond39,490Williamsburg, Virginia Beach, Shenandoah NP
WashingtonOlympia66,456Seattle, Mount Rainier, Olympic NP
West VirginiaCharleston24,230Harpers Ferry, New River Gorge
WisconsinMadison54,158Milwaukee, Door County, Wisconsin Dells
WyomingCheyenne97,093Yellowstone, Grand Teton, Jackson Hole

Beyond states

If you want a city rather than a state, the Random City Generator picks from cities worldwide, and the Random Capital City Generator covers national capitals. For a random point on the globe, use the Random Location Generator, and for a whole country at a time, the Random Country Generator. You can browse all country, city and place generators in one place.

Frequently asked questions

Does the random state generator include Washington, D.C. or Puerto Rico?

No. It draws only from the 50 states. The District of Columbia and the territories (Puerto Rico, Guam, the U.S. Virgin Islands, American Samoa and the Northern Mariana Islands) are not in the list.

Can I pick several states at once, or avoid repeats?

Not on this page. Each press picks one state independently, so the same state can come up twice in a row. To work through all 50 without repeats, use the table on this page and cross them off.

What does the abbreviation in parentheses mean?

It's the two-letter USPS postal code for the state, the same one used on mailing addresses: TX for Texas, ME for Maine, and so on. A few are easy to mix up, such as MI (Michigan) versus MN (Minnesota) versus MS (Mississippi).

Is the flag image accurate?

Each flag is a vector image of the state's current official flag. Note that Utah, Minnesota, Mississippi and Illinois have all adopted or redesigned their flags in the last few years, so an older textbook may show a different version.

Why isn't the capital the largest city?

In most states it isn't. Capitals were often chosen in the 1800s for central location or political compromise, before the big cities grew. Only about a third of state capitals are also the state's most populous city, among them Phoenix, Denver, Boston, Atlanta, Honolulu, Indianapolis, Nashville, Salt Lake City and Oklahoma City.