I want to know if I can search Stack Overflow users by their country. For example, I had, like, to see all users who live in the UK.
How do I do this?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
You can use SEDE to find the users which have a specific
Location set in their profile (note that this only uses public data, and doesn't use gathered information on usage locations).
You could try this query for example. If this doesn't meet your exact requirements, you could fork it and create your own.
There is no way to search for users' locations using the site directly and I think it is against the philosophy of SE to do so. It would emphasize too much the user's origin, while that doesn't matter for the Q/A site.
I wrote a SEDE query here that you might find helpful. As said in a comment, the data is input by the users, and may not be accurate, and some users (myself included) do not have location data set.