Geography · Reference dataset
National Flags
National flags described by their main colors, adoption years, countries, and continents, with ISO country codes, official aspect ratios, the date of the current design, and a link to each flag image.
$69 once covers this and 401 other datasets, plus 33 collections, for 365 days. No automatic renewal. Have a pass?

Preview the records
First 5 and last 5 of 193 records · Last changed November 16, 2026 · Select a row to read the whole record.
| Country | Main colors | Adopted | Continent | Iso2 | Aspect ratio | Latest adoption date | Flag image url |
|---|---|---|---|---|---|---|---|
| Albania | Red and black | 2002 | Europe | AL | 5:7 | 2002-07-22 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Albania.svg |
| Algeria | Green, white and red | 1962 | Africa | DZ | 2:3 | 1962-07-03 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Algeria.svg |
| Andorra | Blue, yellow and red | 1866 | Europe | AD | 7:10 | 1866-04-22 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Andorra_(civil).svg |
| Angola | Red, black and yellow | 1975 | Africa | AO | 2:3 | 1975-11-11 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Angola.svg |
| Antigua and Barbuda | Red, black, blue, white and yellow | 1981 | North America | AG | 2:3 | 1981-11-01 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Antigua_and_Barbuda.svg |
| 183 more records · Download options | |||||||
| Venezuela | Yellow, blue and red | 2006 | South America | VE | 2:3 | 2006-03-09 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Venezuela.svg |
| Vietnam | Red and yellow | 1976 | Asia | VN | 2:3 | 1976-07-02 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Vietnam.svg |
| Yemen | Red, white and black | 1990 | Asia | YE | 2:3 | 1990-05-22 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Yemen.svg |
| Zambia | Green, red, black and orange | 1964 | Africa | ZM | 2:3 | 1996-04-13 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Zambia.svg |
| Zimbabwe | Green, yellow, red and black | 1980 | Africa | ZW | 1:2 | 1980-04-18 | https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Zimbabwe.svg |
Free sample files (up to 10 rows): CSV JSON XML
Open the sample in a free tool: CSV to JSON · JSON formatter · SQL INSERT generator · CSV to XML
CSV / JSON / XML
Put this data to work.
All 193 records, in your choice of format.
The free sample stops at 10 rows. A Data Pass removes the limit here and across the site, so you can stop collecting data and start using it.
- Every record in 402 datasets, this one included
- All 33 collections in full: more than 4 million rows of ZIP codes, schools, occupations and more
- CSV, JSON and XML, whole-category ZIPs, and 2,500 API requests a day
$69 once, for 365 days. No subscription and no automatic renewal, and what you download is yours to keep using.
Your key arrives by email after payment. Use it here to download the complete file.
Or share what you build with it and, if approved, get 75% off a Data Pass. See the contributor program
Already have a pass?
Your key is used for this request and is not saved by this page.
Commercial use is allowed, free or paid.
Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.
Scope and sources
Last checked against sources: October 23, 2026.
Last changed: November 16, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.
- Wikipedia: List of national flags of sovereign states (used with permission)
- English Wikipedia, List of aspect ratios of national flags
- Wikimedia Commons flag image files named in that table (most flag images are pub
- Wikidata ISO 3166-1 alpha-2 codes (P297)
National Flags has 193 records and 8 fields: Country, Main colors, Adopted, Continent, Iso2, Aspect ratio, Latest adoption date, Flag image url.
A complete download includes all 193 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.
Use this dataset through the API
GET https://mysafeinfo.com/api/data/nationalflags
Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.
Without a pass, sorting and randomization apply only to the fixed 10-row sample.