# Extracting the text content of a MS-word document

**URL:** <https://www.ruby-forum.com/t/extracting-the-text-content-of-a-ms-word-document/152415>\
**Category:** Rails\
**Created:** [November 3, 2008, 6:31pm UTC](https://www.ruby-forum.com/t/extracting-the-text-content-of-a-ms-word-document/152415 "2008-11-03T18:31:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexis\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c77e96/32.png) [@Alexis\_P](https://www.ruby-forum.com/u/Alexis_P)\
**Post date:** [November 3, 2008, 6:31pm UTC](https://www.ruby-forum.com/t/extracting-the-text-content-of-a-ms-word-document/152415/1 "2008-11-03T18:31:02Z")

</div>

Hi  
I need to be able to extract the text content of a MS-WORD file.  
I have used antiword in the past but was wondering of there was  
anything new to do that.

The application deals with uploaded MS word documents. Resumes for  
jobs.  
I would like to get the text from the file in order to save and modify  
it  
and possibly to identify and save the images included in the file.  
(the picture of the candidate)

this would have to work with both .doc and .docx versions  
and it does not have to be free.

My app will be on a linux server not on a windows server.  
Thank you  
Alexis
