Random Flag Generator
Generate random country flags from 195+ nations. Perfect for quizzes, games, and geography learning.
Maximum 50 flags
No flags generated yet
Set your count and click Generate.
About Random Flag Generator
The Random Flag Generator picks country flags at random from a database of 195 sovereign states and displays each one alongside its country name. Every flag is rendered as a native Unicode emoji using ISO 3166-1 alpha-2 regional indicator pairs, which means no images, no CDN requests, and no waiting — the flags appear instantly at any screen size. You can request between 1 and 50 flags per generation, and the same country can appear more than once in a single draw, mimicking a true random draw with replacement.
The tool is aimed at anyone who needs a quick, visual way to encounter flags without choosing which country to look at. Geography students use it as a self-quizzing flashcard deck: generate a batch, cover the country label, name the flag, then reveal the answer. Pub quiz hosts use it to build rounds without hand-picking questions. Board-game designers use it to populate prototype cards. Teachers use it as a warm-up activity — project a set of flags and let students race to identify them. Because the tool generates a different set every click, repeated sessions naturally expose you to the full range of the world's flags over time.
Every generation happens entirely inside your browser. No flag data, no quiz answers, and no usage information is ever sent to a server. The tool is free to use with no account, no rate limit, and no ads — open it on any device and start exploring.
Key Features
195-country database
Covers all UN member states plus several additional territories, identified by ISO 3166-1 alpha-2 codes so every flag renders correctly on any Unicode-compliant device.
Adjustable batch size
Choose anywhere from 1 to 50 flags per generation. Small batches suit quick warm-ups; larger batches work for building quiz rounds or scanning unfamiliar flags.
Flag paired with country name
Each result card shows the flag emoji above the country name, so you can test yourself with the label hidden and then flip the answer — no separate answer sheet needed.
Native Unicode rendering
Flags are produced from Unicode regional indicator symbol letters, not images. They scale perfectly at any resolution, work offline, and load with zero network overhead.
100% client-side
All random selection runs in your browser with JavaScript. Nothing is uploaded or logged, making it safe to use in classrooms, on restricted networks, or without an internet connection after the page loads.
Instant re-generation
Click Generate again at any time to produce a completely fresh set. There is no cooldown, captcha, or submission step — each click is immediate.
How to Use
Set Count
Choose how many random flags you want to display (1 to 50).
Generate
Click the Generate button to produce a fresh set of random country flags.
Learn & Share
See each flag paired with its country name — great for quizzes, trivia, and geography practice.
Example
Click Generate with a count of 4 and the tool picks four countries at random, displaying the Unicode flag emoji and the country name for each.
Count: 4 🇧🇷 Brazil
🇯🇵 Japan
🇿🇦 South Africa
🇳🇴 Norway Common Use Cases
- arrow_circle_right
Self-paced flag flashcards
Generate a batch of flags, cover the country name, and try to identify each flag from memory. Unlike a static flashcard app, every session produces a different mix, so you naturally encounter the full world atlas over time rather than cycling through the same fixed deck.
- arrow_circle_right
Pub quiz and trivia round creation
Hosts can generate 10 or 20 random flags and use them directly as a visual round without pre-selecting countries. The random draw prevents favouritism toward well-known nations, so obscure flags from Kiribati or Eswatini appear alongside France and Brazil.
- arrow_circle_right
Classroom warm-up activities
Teachers project a grid of random flags at the start of a geography lesson and students race to name as many countries as possible in 60 seconds. The activity requires no materials, no printing, and resets in one click for the next class.
- arrow_circle_right
Board game and card game prototyping
Game designers who need a set of random countries for prototype cards can generate exactly the number they need and copy the flag-and-name pairs directly into a spreadsheet or design tool, skipping the manual country selection step.
- arrow_circle_right
Discovering unfamiliar flags
Most people can identify 30-40 flags confidently. Running repeated generations quickly surfaces countries like Comoros, Nauru, or Timor-Leste that rarely appear in everyday media, building broader geographic awareness without following a prescribed curriculum.