How To Transfer Music From iPhone to Laptop iTunes?

So I get a laptop for school, and on that laptop I download music into my iTunes library off of YouTube. I always sync the music from my laptop to my iPhone 5s so I can listen to music on my phone as well.

My laptop gets wiped every year, and now my 200 or more songs are gone from my laptop. I had no idea that I was supposed to back them up from iTunes as well.

They're still on my phone, but not my laptop. How can I transfer my music from my phone to my laptop?

Get a copy of the free version of Syncios.

That will allow you to copy things either way between the phone (or any other iOS device) and a computer.

http://www.syncios.com/download.html