York took eighth spot in Moneysupermarket.com's UK Family Living Index of 35 cities behind Newcastle, which was named the country's most family-friendly large city.
Yet Bradford and Leeds were both near the bottom of the list, occupying 31st and 32nd place respectively.
The survey took into account factors such as crime rates, school rankings, property prices, green space, employment figures and average income.
Wakefield was 12th on the list and Hull came in at 28th. Sheffield was 30th.
Meanwhile London was bottom of the table thanks to its extremely high house prices, huge competition for school places and high rate of burglaries.
Kevin Pratt from MoneySuperMarket said: 'Parents naturally want the best for their children, whether it's a good school, a safe and leafy neighbourhood, or plenty of career opportunities when they grow up.'