How to transfer all Iphone contacts to google contacts?

I had an Iphone and I just bought a Windows phone. I need a way to transfer all my contacts. The only way i know is by transferring them to google contacts and then syncing my google account with my windows phone. I need help please?

You would need to enable iCloud and connect your Google account to your apple account. ICloud backs up your contacts and other files to the cloud which is connected to your apple account, by linking your Google account and your apple account, all contacts are synced between your Google and apple account. All this can be done from iTunes for Mac or PC when you connect your iPhone.

Usually your phone should have an option for that but if not google you can go to google.com/contacts

If you want there's also another better alternative to google contacts:
http://www.sootech.mobi

You can transfer all your contacts here with an import button and use it on any other phone. Useful thing about this is you can also get other features such as getting updated contact info from your contacts automatically.

This ensures that you don't lose touch with people on your contact list; they also can get your latest contact information. If you lose or break your phone, you can access the latest contact list on the new phone within minutes. Easy to get you back on your feet again.