Country Dropdown HTML — Every Country as a Select List

Get a complete, up-to-date country <select> in one click: all 249 ISO 3166 countries and territories, ISO codes as values, optional flag emoji, continent groups and your most common countries pinned at the top — in English or any other language, as HTML, React, Vue or JSON.

Runs in your browserUpdated

Preview

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the Country Dropdown HTML

  1. The page starts with Countries selected; choose the label (name, flag + name, or name with code) and the value (ISO code or name).
  2. Pin your most common countries with Show first, for example US, GB, CA.
  3. Group by continent with <optgroup>, or pick a label language for a translated list.
  4. Copy the HTML, React, Vue or JSON.

A country list that stays correct

The list follows ISO 3166-1 — the standard used by payment providers, shipping APIs and browsers — and names are produced by your browser’s internationalization support, so they are spelled correctly in every language. Use the two-letter code (US, DE, JP) as the value: it is what Stripe, address APIs and databases expect. Flags are emoji built from the code, so they need no images; Windows shows them as letter pairs.

Also searched as: country select html, country list html, html country dropdown with flags, country drop down list, country select options, iso country list, list of countries dropdown.

Tools that pair well with the Country Dropdown HTML

  • Select Menu Generator — Stop typing out option lists by hand.
  • US States Dropdown — A ready-made US state <select>: all 50 states with their two-letter USPS codes as values, optional Washington DC and territories such as Puerto Rico and Guam, labels like “California” or “California (CA)”, as HTML, React, Vue or JSON.
  • Time Zone Dropdown — A complete time zone <select> with every IANA time zone (America/New_York, Europe/Berlin), labels showing the current UTC offset and city, optional region groups, sorted by offset or by name.
  • HTML Table Generator — Type your data into a spreadsheet-like editor — or paste from Excel or Google Sheets — and copy clean, semantic HTML table code with <thead>, <tbody> and alignment, ready for a website, CMS or email.

Frequently asked questions

How many countries are in the list?
All 249 ISO 3166-1 countries and territories. Untick Include territories to keep only independent countries (about 195) and leave out places like Puerto Rico, Greenland or Hong Kong.
Do the flags work everywhere?
Flag emoji show on macOS, iOS, Android and Linux. Windows displays them as two letters (like US), so choose “Name” as the label if most of your users are on Windows.
Can I get the list in another language?
Yes. Country, language, currency, month and weekday names come from your browser’s built-in translations — pick the label language and the whole list is translated and sorted for it.
Which formats can I export?
An HTML Esc
    ↑↓ navigate↵ openesc closeBrowse all tools →