# Text extraction from MS Office and PDF

**URL:** <https://www.ruby-forum.com/t/text-extraction-from-ms-office-and-pdf/192128>\
**Category:** Ruby\
**Created:** [July 24, 2010, 1:45pm UTC](https://www.ruby-forum.com/t/text-extraction-from-ms-office-and-pdf/192128 "2010-07-24T13:45:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vitali](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/bc8723/32.png) [@Vitali](https://www.ruby-forum.com/u/Vitali)\
**Post date:** [July 24, 2010, 1:45pm UTC](https://www.ruby-forum.com/t/text-extraction-from-ms-office-and-pdf/192128/1 "2010-07-24T13:45:36Z")

</div>

Hello,

I’m looking for libraries to do text extraction from MS Office and PDF  
file formats. Also looking for libraries to do HTML rendering of  
documents in the same formats. I know of couple of commercial  
libraries from Oracle and Autonomy, but they only have C and/or Java  
APIs. I also found this project [POI Ruby Bindings](http://poi.apache.org/poi-ruby.html).  
Is there other open source alternatives, and/or alternatives with Ruby  
bindings?

Thanks,  
Vitali

---

<div class="post-metadata">

**Author:** ![Vitali](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/bc8723/32.png) [@Vitali](https://www.ruby-forum.com/u/Vitali)\
**Post date:** [July 28, 2010, 3:34am UTC](https://www.ruby-forum.com/t/text-extraction-from-ms-office-and-pdf/192128/2 "2010-07-28T03:34:24Z")

</div>

I am using the standard ‘spreadsheet’ library to load from excel  
2003 .xls files with ruby.  
it’s not pretty but it works
