York railway station: The proper arrival point: it sits immediately outside the western city walls. London King’s Cross is about 2 hours by LNER; Leeds about 25 minutes; Manchester Piccadilly about 1½ hours; Edinburgh Waverley about 2½ hours. Walk 10–20 minutes to almost any central hotel or sight—do not pay for a taxi unless you have heavy luggage. Advance rail fares can be much cheaper; walk-up fares are expensive.
Manchester Airport: Take the direct TransPennine Express train to York: roughly every 30 minutes and about 1 hour 45–50 minutes. This is markedly better than hiring a car for the cross-Pennines/M62 drive. Fares vary sharply with advance purchase; budget roughly £20–£50 one way.
Leeds Bradford Airport: There is no useful direct airport-to-York train. Take Flyer A1 to Leeds station, then any of the frequent LNER, TransPennine Express or CrossCountry trains to York (about 25 minutes from Leeds). Allow about 1¼–1¾ hours airport to York station including the connection; roughly £15–£25 total depending on rail fare. A taxi is only compelling for a group or an awkward late arrival.
London Heathrow Airport: For York, route via London King’s Cross: Elizabeth line to Farringdon and Thameslink one stop to St Pancras, or Heathrow Express/Underground into central London, then walk to King’s Cross for LNER. Allow around 3½–4½ hours airport to York station. The LNER leg takes about 2 hours; buy it in advance if possible.
London Gatwick Airport: Take Thameslink directly to St Pancras International, walk next door to King’s Cross, then LNER to York. Allow roughly 3½–4¼ hours in total. It is a sensible option only when the flight price or schedule beats Manchester; York has no airport of its own.