Ask most developers to design an address form and the country field shows up last โ a dropdown under city, state and ZIP, mostly there to satisfy a data model. That ordering quietly bakes in an assumption: the form is American, and everything else is an exception.
Flip it. Put country first, and let it drive the rest of the form. The difference is not cosmetic.
Country determines the shape of the address
A US address wants a five-digit ZIP and a two-letter state. A UK address wants a postcode with letters and a county that may not exist. A Japanese address wants a prefecture and often no street number at all. When country is an afterthought, you end up with one rigid form and a pile of conditional validation that special-cases every nation that does not fit โ and a validator that is wrong more often than it is right.
Put country first and the field labels, the required flags, the postcode pattern and the state/region selector can all be derived from that one choice. The form stops lying to international users.
Postcodes are identifiers, not numbers
The moment you support more than the US, "postal code as integer" becomes indefensible. UK postcodes contain letters and spaces. Canadian ones have a space in the middle. Dutch and Portuguese codes have their own shapes. Store and validate postal codes as strings, always, and resist every urge to trim, uppercase or parse them into something tidier.
The state field is not universal
Plenty of countries have no equivalent of a US state. Some have regions, some have provinces, some have nothing the form needs. If your schema marks state as required globally, you have already decided that users from those countries cannot check out. Make the state/region field conditional on country, and provide fixtures that exercise the no-state path.
Test the branching, not just the default
A country-first form has more branches, which means more places to get it wrong. Your test data needs to cover them deliberately: a US address with a leading-zero ZIP, a UK address with an alphanumeric postcode, a Canadian address with a spaced postal code, a country with no state field. A single Springfield, IL 62704 fixture tests one branch out of many.
AddressLab is a free, no-sign-up generator that produces synthetic addresses across multiple countries, with state, ZIP/postcode, phone and formatted full-address fields, and exports the selected fields as CSV or JSON. Check a set into your repo and every CI run exercises the international branches, not just the domestic happy path. Generated addresses are meant for development, testing, education and prototypes โ they are not real identities and will not receive mail.
Country-first is not a bigger form. It is an honest one. Build the form around the data you are actually going to receive, and validation stops being a source of bugs and starts being a description of reality.

