Question: how to transfer contacts from iphone x to gmail?
Answer: Step 1: Go to Settings > [your name] > iCloud on your iPhone X/iPhone 8 in iOS 11 and then switch on Contacts.
Step 2: Visit iCloud.com from your computer and choose Contacts.
Step 3: Choose the contacts you'd like to sync from your iPhone to Gmail.