I have city names in my database and I'd like to get those city longitude / latitude in order to pin them in google map, my question is:

Is there any website/package that provides such service to convert city names into longitude and latitude?

If yes I'd be appropriate if you can share the link.


closed as off-topic by Stephen Ostermiller Feb 8 at 21:21

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking for recommended external websites, tools, resources, and software are off-topic as they tend to attract opinionated answers and spam. Recommendations for software are permitted on Software Recommendations, but be sure to read their quality guidelines before posting there." – Stephen Ostermiller
If this question can be reworded to fit the rules in the help center, please edit the question.


Yes, Google’s own Maps API will do that, and many more things besides.

Not the answer you're looking for? Browse other questions tagged or ask your own question.