Flag Assets Library
Free, public domain flag images for developers and designers. Served via flags.telco.dev












What's Included

World Flags
271 flags
- All UN member states
- Territories and dependencies
- Regional flags (England, Scotland, Wales, etc.)
- International organizations (EU, UN, ASEAN)

US State Flags
56 flags
- All 50 US states
- District of Columbia
- 5 US territories (PR, GU, VI, AS, MP)
Available Formats
Each flag is available in 6 formats to suit any use case:
| Format | Dimensions | Use Case |
|---|---|---|
| SVG | Vector | Scalable graphics, web |
| PNG 48x32 | 48 × 32 px | Icons, favicons |
| PNG 120x80 | 120 × 80 px | Small thumbnails |
| PNG 240x160 | 240 × 160 px | Thumbnails |
| PNG 480x320 | 480 × 320 px | Medium display |
| PNG 960x640 | 960 × 640 px | Large display, print |
All PNG files have transparent backgrounds with flags proportionally scaled and centered.
Usage
URL Pattern
https://flags.telco.dev/{type}/{code}/{code}.{format}HTML Example
<!-- World flag (Germany) -->
<img src="https://flags.telco.dev/world/de/de_240x160.png" alt="Germany">
<!-- US state flag (California) -->
<img src="https://flags.telco.dev/us/ca/ca_240x160.png" alt="California">Fetch Metadata
Each flag includes a JSON file with metadata and all URLs:
const response = await fetch('https://flags.telco.dev/world/jp/jp.json');
const flag = await response.json();
console.log(flag.name); // "Japan"
console.log(flag.abbreviation); // "JP"
console.log(flag.files.svg); // Full SVG URLUsed in Our API
These flags are automatically included in our Phone Number Format API. When you look up a phone number, you get country and state flag URLs in the response:
{
"country": "US",
"location": {
"state": "FL",
"stateName": "Florida"
},
"flags": {
"country": {
"name": "United States",
"svg": "https://flags.telco.dev/world/us/us.svg",
"png": {
"small": "https://flags.telco.dev/world/us/us_48x32.png",
"medium": "https://flags.telco.dev/world/us/us_240x160.png"
}
},
"state": {
"name": "Florida",
"svg": "https://flags.telco.dev/us/fl/fl.svg",
"png": { ... }
}
}
}GitHub Repository
The complete flag library is available on GitHub. Browse the source, download individual flags, or contribute corrections:
View on GitHubLicense & Disclaimer
This flag library is a free, public resource for developers and designers. You may use these assets in personal and commercial projects.
Disclaimer: While we strive to keep all flag data accurate and up-to-date, we cannot guarantee its accuracy or completeness. Flags and their designs may change over time. Use of these assets is at your own risk.