Export local contacts from iPhone
You can do this with My Contacts Backup. This will allow you to export all your local contacts as vCard which can be imported into Gmail.





Remove your Gmail account from your device (so that only the local contacts are backed up), then backup your contacts. You can then import the .vcf into your Gmail.