We are using 3 infopath forms in SharePoint 2007. We would like to migrate all SharePoint 2007 sites to SharePoint Online by migration tooling. I expect the migration tooling will not migrate this infopath forms. So I would like to that by my self. Can I export an infopath form from SharePoint 2007 to SharePoint Online?
Here are main five steps for migrating on-premise infopath form to SharePoint online:
Get the form template from the originating list
Change the format to CAB file and extract the contents
Modify manifest file
Zip the file in the XSN format
Republish the resulting file to the new list
See below article for details: enter link description here
Besides,you could choose Microsoft PowerApps as alternative from this article.