Country at Random

Random US State

Generate a random US state, with the option to include Washington, D.C., and see its abbreviation, capital, and the year that capital took on the role.

Pool: 50 entries.

Press Generate to draw.

Why US states get their own page and their own source

Every other tool on this site draws from one ISO-3166-referenced country dataset (see the About page). A US state is a subdivision of a single country, not a country of its own, so it has no entry in that dataset at all -- putting states in the same pool as countries would either silently drop them or misrepresent fifty subdivisions of one nation as fifty peer nations. This page instead draws from two separate, cited federal and reference sources: the U.S. Census Bureau's own state FIPS/abbreviation table for the abbreviation and code, and a sourced capitals reference for the capital city and the year it took on that role.

The full pool

All 50 states, alphabetically, with abbreviation and capital -- the exact list this page draws from (Washington, D.C. is a 51st, opt-in entry, not shown in this table):

StateAbbr.CapitalSince
AlabamaALMontgomery1846
AlaskaAKJuneau1906
ArizonaAZPhoenix1889
ArkansasARLittle Rock1821
CaliforniaCASacramento1854
ColoradoCODenver1867
ConnecticutCTHartford1875
DelawareDEDover1777
FloridaFLTallahassee1824
GeorgiaGAAtlanta1868
HawaiiHIHonolulu1845
IdahoIDBoise1865
IllinoisILSpringfield1837
IndianaINIndianapolis1825
IowaIADes Moines1857
KansasKSTopeka1856
KentuckyKYFrankfort1792
LouisianaLABaton Rouge1880
MaineMEAugusta1832
MarylandMDAnnapolis1694
MassachusettsMABoston1630
MichiganMILansing1847
MinnesotaMNSaint Paul1849
MississippiMSJackson1864
MissouriMOJefferson City1826
MontanaMTHelena1875
NebraskaNELincoln1867
NevadaNVCarson City1861
New HampshireNHConcord1808
New JerseyNJTrenton1784
New MexicoNMSanta Fe1610
New YorkNYAlbany1797
North CarolinaNCRaleigh1792
North DakotaNDBismarck1883
OhioOHColumbus1816
OklahomaOKOklahoma City1910
OregonORSalem1855
PennsylvaniaPAHarrisburg1812
Rhode IslandRIProvidence1900
South CarolinaSCColumbia1786
South DakotaSDPierre1889
TennesseeTNNashville1826
TexasTXAustin1836
UtahUTSalt Lake City1858
VermontVTMontpelier1805
VirginiaVARichmond1780
WashingtonWAOlympia1853
West VirginiaWVCharleston1885
WisconsinWIMadison1838
WyomingWYCheyenne1869

Sources and fetch date

State names, USPS abbreviations and FIPS codes: U.S. Census Bureau -- state FIPS codes and USPS abbreviations (fetched 2026-09-17). Capital cities and the year each took on the role: Wikipedia -- List of capitals in the United States (State capitals table) (Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0), fetched 2026-09-17).

Frequently Asked Questions

Why isn't this part of the main country generator?

Because a US state isn't a country. ISO 3166-1 -- the standard the rest of this site's country data follows -- has no entries for individual US states; they're a second-level ISO 3166-2 subdivision of one country (the United States), sourced here from a different reference entirely. Mixing the two pools would blur exactly the distinction this site is built to be precise about.

Is Washington, D.C. a state?

No -- it's the federal district that serves as the national capital, deliberately not part of any state (a design choice from the Constitution's drafting, so the seat of federal government wouldn't sit inside, and be politically entangled with, any one state). It's included here only as an opt-in toggle, and shown with a note rather than a "capital" field, since a district that is itself a capital doesn't have one of its own the way a state does.

What is the FIPS code shown for each state?

The Federal Information Processing Standard state code -- a two-digit numeric identifier the U.S. Census Bureau and other federal agencies use to reference a state in data systems, alongside (but separate from) the two-letter USPS postal abbreviation.

How old is the oldest state capital?

Santa Fe, New Mexico's capital, has held that role since 1610 -- the longest-standing state capital in the dataset. At the other end, Oklahoma's capital, Oklahoma City, has held the role since 1910, the most recent of the fifty.

Has every state always had the same capital?

No -- several states moved their capital city at least once before settling on the one shown here; the "capital since" year reflects when the current capital took on that role, not necessarily when the state itself was founded or admitted to the Union.

Every result here is drawn live in your browser with cryptographically-secure randomness -- nothing is predetermined, saved, or replayable. See the Terms.

Every tool

Reference