Skip to content
Back to all articles

US state abbreviations and when to use them

4 min read · 2026-03-03

Two codes, two jobs

The United States runs on two abbreviation systems: the two-letter USPS codes (CA, TX, NY) built for mail sorting, and the older AP/compact styles used in prose. For address lines and form fields, USPS codes are the default — they are unambiguous, fixed-width and machine-friendly.

Full state names still matter in UI: dropdowns, invoices and confirmation emails usually spell out "California" because humans read those surfaces, not sorting machines.

Practical rules for forms

Store the code, display the name. A

Generated Result

Pick a state and hit generate, your sample addresses will appear here.

Ready to build your test data?

Free, instant and unlimited, start generating formatted addresses right away.