you can use the Manual process or any third-party software. But there are many third-parties available so I recommend you the best software which can easily
Convert PST to Office 365 Primary Mailboxes, Groups, Public Folder and Archive and Shared Mailboxes. Every user can easily use this tool on any Windows OS versions including Windows 10. A user can also import bulk PST file in O365 database at once with help of the Office 365 Restore software. With this application, you can easily convert your PST file data such as email, contacts, calendar, appointments, attachments, etc.