How to get music off of Iphone 5 on to my PC for free?

My computer hard drive failed and now iv lost everything but my music is still on my iPhone 5 how can i get my music off of the iphone on to my PC

When i try to syc with itunes it just wants to restore/delete everything
iv searched the web all day for some sort of software but it either you have to pay some dodgy website for the software or you get the software free but have to pay for the software after so may transfers

Any help much appreciated

Can't be done. It's only a one way thing.
Stuff can only be put on the ipod. If you're trying to get stuff you purchased put on Itunes, then just email them. I bought an album on my ipod and after emailing them they put it on my computer.

Follow the link

Download MediaMonkey software. You can sync from ipod and to pc. On any computer without restoring your ipod and without itunes.

Simple. Attach a 3.5mm cable to and from your iPhone 5 and computer's Aux/line-in port, thn run a program like Audacity and have your recording device selected in Audacity and possibly through the Audio Mixer. After that, play a song from your iPhone 5 and get Audacity to record it. Just make sure you have Lame.enc on Audacity t save it as an MP3.

Email all the music to yourself. Or turn of the sync option in iTunes.