Convert docx to txt

convert docx to .txt file.

  1. it will be same as .docx file
  2. it will maintain all numbering

@rabin.samanta

Thanks for your inquiry. You can convert DOCX to TXT using Aspose.Words. Please check the following code example.

Document doc = new Document(MyDir + "in.docx");
doc.Save(MyDir + "output.txt");

Please note that TXT and DOCX file formats are quite different. In MS Word document, you can insert images, tables etc. Could you please share your input and expected output documents? We will then provide you more information about your query.

Yes, Aspose.Words maintains the list numbers while saving DOCX to TXT.