You could export your contacts as a CSV file, transfer it into your iPhone using a file manager (for example, Xender), then open the exported file to save your contacts. Or, once exporting your contacts, you can upload them to your iCloud account using your desktop.