Hi @vinaysingh-3672 ,
How are you going to deploy the migration? Using SharePoint Migration tool(SPMT) or any 3rd party tools? If you are going to use SPMT, please take a reference to the following artices to learn about web parts and features supported by SPMT.
As said in the article, Content Editor and Script Editor are supported by SPMT. Don't forget to Allow Custom Script in SharePoint admin center in advance before migration.
If you are going to use any 3rd party migration tools, I'm afraid it is not supported on Micorsoft Q&A. You can contact 3rd-party support.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.