Format Code Now
/

Random Flag Generator

RG-149

Press Generate to pick random country flags as emoji, shown with the country name. Hide the name for a guessing game.

Runs in your browser. Nothing is uploaded.

Not used. Press the button to generate.

Flags

How to use it

  1. Choose Flag and country name, Flag only, or Name only.
  2. Choose how many flags you want.
  3. Press Generate.
  4. For a quiz, use Flag only, guess the country, then check with another run.

What you get

The tool draws from 195 flags: the 193 UN member states plus the Holy See and the State of Palestine. Each flag is an emoji made of two regional indicator letters from the country ISO code, shown next to the English country name. The output is text only. Your device draws the picture, and no images are loaded or sent.

When the flag shows as letters

Some systems do not draw flag emoji. Windows desktop browsers commonly show the two letters of the country code, such as JP, in place of a flag. Phones, macOS and many Linux setups show the flag. If you see letters, the name next to them still tells you the country. Territories and regional flags are not included.

Questions people ask

How do I pick a random flag?

Press Generate. You get a flag emoji and the country name, such as a flag followed by Japan. Set the count to 1 for a single flag, or choose Flag only to hide the name.

Why do I see letters and not flags?

Your system does not draw flag emoji. Windows desktop browsers often show two letters, such as BR. The generator still outputs a valid flag character, which will show as a flag on phones and Macs.

How many flags are in the list?

There are 195: the 193 UN member states and the two observer states, the Holy See and the State of Palestine. Territories, regions and historical flags are not listed.

Can I use it for a flag quiz?

Yes. Choose Flag only, copy the list, and guess each country. To check, run the same tool with Flag and country name, or note the picks first and look them up.

Does it show the real flag image?

No. It outputs emoji text, which your device renders in its own style. The design of an emoji flag is simplified, so use an official source if you need an accurate image.

About this tool

Picks from 195 flags (the UN member states plus the Holy See and the State of Palestine) and shows each as a flag emoji with the country name. The output is text only: your device draws the flag, and some systems, such as Windows desktop browsers, show two letters instead of a picture. Choose Flag only for a guessing game, then check against the name. Picks are made in your browser with crypto.getRandomValues, nothing is stored or sent, and each click gives a new result.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.