38
Views
5
Comments
Solved
Reading a Document of Format .docx or .doc

Hi all,

I need to read .docx or .doc file and get the text with the same punctuation and fomatting. Is there a way to execute it?

2024-07-12 05-57-50
Gourav Shrivastava
Champion
Solution

Hello @GVenkat 

You can use OfficeToHtml that give you your desired result

2026-03-12 06-20-48
KUNDAN CHAUHAN
Champion

Hi @GVenkat ,

Please take a look at this discussion,

Reading Pdf,Word

Kind Regards,

Kundan Chauhan

2024-09-09 11-16-05
GVenkat

Hi @KUNDAN CHAUHAN ,

I need to extract text from Word Document. As your answer redirects to viewing the word document online.

Thank you for your suggestion.

2019-01-07 16-04-16
Siya
 
MVP

You may use mammoth Js library to convert docx files to html while preserving basic text formatting.

2025-01-09 14-56-57
IQ78

Hi, i ever work with word and xls for a project, and it is using Aspose (must pay) and the free support person is very helpful when helping you to achieve the goal:

https://about.aspose.com/#:~:text=What%20is%20Aspose%3F,available%20for%20different%20platforms%2C%20including%20.

2024-07-12 05-57-50
Gourav Shrivastava
Champion
Solution

Hello @GVenkat 

You can use OfficeToHtml that give you your desired result

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.