Raise the flag of a country that doesn't exist -- composed from real flag-design grammar, named, and reproducible from its seed.
Vexillology is the study of flags -- their history, symbolism, and design -- from the Latin vexillum, the standard carried by Roman cavalry. Good flag design follows a famously short rulebook: simple enough for a child to draw from memory, two or three basic colors, meaningful symbolism, no lettering, and distinctiveness -- principles most national flags follow and most city flags cheerfully violate. The classic layouts have names: tricolors and bicolors, the Nordic cross, the diagonal saltire, the Y-shaped pall, and the canton holding a field of stripes. This generator composes invented flags from exactly that grammar, which is why they look plausible rather than random.
Every press raises the flag of a country that doesn't exist -- the Republic of Kormia, the Grand Duchy of Valland -- composed from real vexillological grammar: tricolors, Nordic crosses, saltires, bends, cantons over stripes, and palls, in the palette real flags actually use, sometimes bearing a star, sun, crescent, or cross. Name and flag come from the same seed, so a nation can always be re-founded.
Every result here is drawn using crypto.getRandomValues() -- the Web Crypto API's cryptographically secure randomness -- instead of Math.random(), so it's genuinely unpredictable, not just statistically random. Learn more.
Worldbuilders flag their invented nations in one press (it pairs naturally with the Coat of Arms generator); game designers use them for factions; teachers use the layouts to introduce flag design. The SVG copy button takes a flag into any editor with every stripe as a clean shape.
Each press draws a 32-bit seed from the site's cryptographically secure randomness and composes from it: one of eight classic layouts, distinct colors drawn from the seven-color palette that dominates real flags, and -- where the layout suits it -- an emblem placed the way real flags place them, centred or in the canton. The country name is assembled by the same seed from plausible syllables under a random style of state, so the flag and its nation always match.
No -- every flag and nation is invented on the spot. The layouts and palette are borrowed from real vexillology, which is why one occasionally feels familiar, but the exact designs belong to nobody.
Yes -- layout, colors, emblem, and name are all determined by the seed stamped on the card.
Freely -- the SVG button in the card's corner copies the flag as a standalone vector file, with every stripe and emblem as an editable shape.
Coat of Arms · Mandala · Maze · Game of Life · Langton's Ant · Fractal