You can go to https://www.recoveryfix.com/import-pst-to-office-365/ and download Recoveryfix PST to Office 365 tool to easily migrate your PST file to Office 365 format.
Supported Versions:
Windows Operating System: Windows 365, 11, 10, 8.1,8, 7, Vista, 2008, XP, 2002, and 2000 (both 32-bit and 64- bit), Windows Server 2022, 2019 & older versions
Microsoft Outlook: MS Outlook 97 to MS Outlook 2019 and Office 365