
Hi @Khushboo Kumari,
Thank you for posting in this community.
You can use text web part and directly copy the content form the word documents. Text web part can add images, text, indexes and tables. But text styling will be abandoned, because text font styles in the text web are not very rich. Text styles that are not supported will be set to "Normal text" by default. For more information about this text web part, you can read this article.
I understand from your previous question that you are looking to build a knowledge base and display the content from word documents on site pages. I eventually found a way to possibly meet your needs and reduce the manual effort. That's embedding Word files into site pages. The file is still opened in word but not in another web tag. I hope this will be of some help to you.
1.I created a team site and set this site to public (anyone in the organization can access this site). Other types of sites are fine.
2.Now we need a file library to hold all the word files. You can create and upload all the files yourself.
3.Go to your Page Library and new a site page. Add Embed Web parts.
4.Copy the link of the word file.
The default copied link will allow the user to edit the file, if you don't want that click on Settings and change it to View.
5.Copy the link to the embed and apply it.
6.Save and Publish this page.
7.Since SharePoint Online only allows the creation of one Page Library. All site pages must be saved in a library. So, I created a choice column called Library to indicate which Library it belongs to and categorized by that column. (You can right click the page ->Details->select choices.)
Edit current view->group by Library.
Here are the results in my side.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.