Home

Secure browser-local randomizer

Random country picker

Use a factual country-code inventory for geography practice, travel inspiration, writing prompts, or balanced regional draws. Names are localized by your browser and each result includes its alpha-2 code.

Tool controls

Eligible regions

Set the options, then generate a result.

How it works

  1. Select any combination of broad geographic regions.
  2. Optionally enter alpha-2 codes to exclude and choose 1–20 results.
  3. The tool samples without replacement and shows localized names, flags, regions, and codes.

Worked example

Selecting Asia and Oceania, excluding JP and AU, and requesting three results draws three distinct eligible ISO entries.

Limits and checks

  • The inventory has 249 ISO 3166 alpha-2 country or area codes, including territories.
  • Flags are Unicode symbols and may appear as letters on some systems.
  • A random result is not travel, safety, visa, sovereignty, or political advice.

Privacy

Your entries and results stay in this browser tab. This tool does not put them in the URL, browser storage, analytics events, or a server request. Regular site analytics may still load without receiving these values.

Data sources

The alpha-2 inventory and broad geographic regions were independently transcribed and checked against these factual standards on 2026-08-22. Country names are rendered locally with Intl.DisplayNames.

Frequently asked questions

Why are territories included?
ISO 3166 assigns alpha-2 codes to countries and certain dependent or special areas. The tool describes entries rather than making sovereignty claims.
How are country names translated?
The code list stays factual and the browser's Intl.DisplayNames API supplies a local display name when available.
Do my entries leave this device?
No tool value is sent, stored, logged, or placed in the URL. Closing or refreshing the tab clears the current work. Regular site analytics may still load without receiving the values.
What makes the selection random?
The tool uses the browser's Web Crypto getRandomValues source and unbiased integer selection. Filters and constraints change the eligible set, not the chance among remaining valid choices.