We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert .txt file to .doc format

We would like to know whether we can convert a .txt file to .doc file using Aspose words

Yes you can convert .txt files to .doc using Aspose.Words. Please feel free to contact us in case you have further comments or questions.
Best Regards,


We are using an old version of Aspose Words (9.0.0) and also we are trying to convert a memory stream (created from a txt file ) to a stream of .docx format.

Is it possible? when I try to do it programmatically, Aspose throws UnSuportedFileFormat exception.

Please let me know asap.


Thanks for your inquiry. You’re using a very old version of Aspose.Words that is why Document constructor throws exception as TXT format was not supported at that time. However, the latest version of Aspose.Words 14.11.0 supports this format; so we suggest you please upgrade to the latest version from the following link:

Best regards,