Upstate New York is full of charming towns, bustling suburbs and friendly villages that all make for great places to buy a home and settle down.

The options are endless, but a new ranking from helps home-buyers zero in on the best places to shop for houses across the hundreds of towns, cities and villages in Upstate New York.

Niche aggregates factors like median home values, property taxes, crime rates and quality of local schools to rank every community in the state (full methodology).…