Williams was educated at Llandovery College and Brasenose College, Oxford University.
Both at Llandovery and Oxford, Williams came under Anglican influence and after leaving Oxford he was invited by a Welsh bishop to become a clergyman.