Go to the iCloud website and sign in to your account. Go to Contacts to check all iPhone contacts that are synced to iCloud. Choose the contacts you like to export, click the gear button, then select the Export vCard option.