Country List with Capitals and Flag You can easily re-generate the output file however you want You can also download Country list with capital and flag json from this repo