How can I convert my record collection?

I’ve been collecting music for the last 30 years, but most of my collection is on vinyl, the best way to listen to music. The time has come, however, to transfer my collection to my computer. Is there any way to can digitise the music instead of buying it again?