$npx skillfedfor your agent

striprtf

A simple library to convert rtf to text

Worth itPyPI Text ProcessingReleased Apr 20267.5M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — striprtf-0.0.32-py3-none-any.whl
v0.0.32 · released 2026-04-27 · Python >=3.8

Yes. striprtf is a focused, dependency-free tool for a specific problem (RTF-to-text conversion) with active maintenance, permissive licensing, and no known vulnerabilities. Install it if you need to process RTF files; skip it if your documents are already in plain text or modern formats.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • Actively maintained with recent commits and a stable release history since 2018.
  • Supports current Python versions (3.8+).

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice preservation.

last release 2026-04-27 (109 days) · last repo commit 2026-06-19 · 117 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,543,370 downloads/mo, #1,723 on PyPI

Verify before relying

pip install striprtf

from striprtf.striprtf import rtf_to_text
rtf = "some rtf encoded string"
text = rtf_to_text(rtf)
print(text)
  • Whether encoding parameter behavior differs meaningfully across Python versions or RTF variants
  • Performance characteristics on large RTF files or batch processing scenarios
  • Completeness of RTF standard coverage (which RTF features are preserved vs. stripped)
Same gist for agents: .md · .json

What it is and what it does

striprtf is a lightweight Python library that extracts plain text from Rich Text Format (RTF) documents by parsing and removing RTF control codes and formatting directives. It solves the problem of processing medical and other documents that are commonly stored in RTF format but need to be converted to plain text for further analysis or storage.

The library provides a single primary function, rtf_to_text(), which accepts an RTF-encoded string and returns plain text. It supports customizable character encoding (defaulting to cp1252) and error handling modes, allowing users to work around encoding issues that may arise from malformed or non-standard RTF input. With no external runtime dependencies, it installs and runs with minimal friction.

Use it for

  • Extract text from medical documents stored in RTF format for downstream NLP or data analysis
  • Batch convert legacy RTF files to plain text for archival or migration to modern formats
  • Parse RTF content in data pipelines where only plain text is needed, discarding formatting
  • Handle encoding edge cases in RTF files using custom encoding parameters or error modes
  • Integrate RTF-to-text conversion into document processing workflows without heavy dependencies

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

striprtf is a focused, dependency-free tool for a specific problem (RTF-to-text conversion) with active maintenance, permissive licensing, and no known vulnerabilities. Install it if you need to process RTF files; skip it if your documents are already in plain text or modern formats.

Install

striprtf on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained with recent commits and a stable release history since 2018. Supports current Python versions (3.8+).

License in practice

BSD-3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice preservation.

Quickstart

pip install striprtf

from striprtf.striprtf import rtf_to_text
rtf = "some rtf encoded string"
text = rtf_to_text(rtf)
print(text)

Verify before relying

  • Whether encoding parameter behavior differs meaningfully across Python versions or RTF variants
  • Performance characteristics on large RTF files or batch processing scenarios
  • Completeness of RTF standard coverage (which RTF features are preserved vs. stripped)

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 109 days since the last release
Last repo commit
First released
Downloads7,543,370 / month, #1,723 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: BSD License

Evidence: striprtf-0.0.32-py3-none-any.whl

Tags

Capabilities
rtf to text conversionstrip rtf formattingconvert rtf filesrtf parserremove rtf markuprtf decoderplain text from rtf
Topics
document-conversiontext-extractionrtf-parsing
PyPI keywords
rtf

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “rtf to text conversion”

  • striprtfConverts Rich Text Format (RTF) files to plain text, stripping…
  • pyth3Converts marked-up text between formats including plain text, XHTML,…
  • compressed-rtfCompresses and decompresses Rich Text Format (RTF) data using the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also PyRTF3 · pyth3 · RTFDE · rtfparse · compressed-rtf · strip-markdown · mdit-plain · rtfunicode · mbstrdecoder · rst2ansi