Kyoto Station (JR Kyoto): Take the JR Nara Line to JR Uji: about 20 minutes, roughly ¥240. This is the cleanest transfer from central Kyoto; JR Uji is an easy walk to the river and Byōdō-in. Do not take a taxi from Kyoto unless mobility or luggage makes it necessary.
Nara Station (JR Nara): Take the JR Nara Line to JR Uji: about 35 minutes, roughly ¥500. It is a straightforward add-on if you are moving between Kyoto and Nara, but Uji deserves a stop rather than being crammed into a Kyoto–Nara mega-day.
Osaka / Keihan Yodoyabashi area: Use Keihan Railway toward Uji, changing at Chūshojima; allow about 55 minutes and roughly ¥410. Keihan Uji is across the river from JR Uji and slightly closer to the principal sights. It is the better rail approach from Osaka if you are not using a JR pass.
Kansai International Airport: Take the JR Haruka limited express to Kyoto Station, then the JR Nara Line to JR Uji. Allow roughly 1 hour 45 minutes to 2 hours after the airport train departure, plus connection time; expect a few thousand yen depending on the Haruka fare/product. It is faster and saner than an airport taxi or trying to force a bus connection to Uji.
Osaka Itami Airport: Take the Airport Limousine Bus to Kyoto Station, then the JR Nara Line to JR Uji. Allow about 1 hour 30 minutes to 2 hours door to door, depending on road traffic and the rail connection. The bus-to-Kyoto-station combination is simpler than stitching together Osaka suburban rail lines with bags.