Extract Text from Rich Text Format (RTF) Documents

Wraps the 'unrtf' utility to extract text from RTF files. Supports document conversion to HTML, LaTeX or plain text. Output in HTML is recommended because 'unrtf' has limited support for converting between character encodings.



  • Fix for sys 2.0 (do not quote arg on Windows)
  • Link unrtf executable with $(LIBS) hopefully fixes Solaris


  • Fix format-truncation warning in GCC-7


  • Replace sprintf() by snprintf() to fix a new warning in gcc-7


  • Initial CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.4 by Jeroen Ooms, a year ago

https://docs.ropensci.org/unrtf, https://github.com/ropensci/unrtf#readme (devel) https://www.gnu.org/software/unrtf/ (upstream)

Report a bug at http://github.com/ropensci/unrtf/issues

Browse source code at https://github.com/cran/unrtf

Authors: Jeroen Ooms [aut, cre] , Free Software Foundation , Inc [cph]

Documentation:   PDF Manual  

GPL-3 license

Imports sys

See at CRAN