Williams, 18, ends his scholarship at the EFL Championship club at the end of June, and has previously been with Burnley and Oldham.
He said: “I am delighted to sign with the club, I can’t wait to get started and get back on the pitch playing football under some great management and with some really talented players.”
Keep up-to-date with our exclusive email newsletters.
Subscribe