$npx skillfedfor your agent

inscriptis

inscriptis - HTML to text converter.

Worth itPyPI UtilitiesReleased Aug 20261.3M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — inscriptis-2.7.4-py3-none-any.whl
v2.7.4 · released 2026-08-10 · Python >=3.10 · 2 runtime deps: lxml, requests

Yes. Inscriptis is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem—layout-aware HTML-to-text conversion—better than generic alternatives. Its Apache-2.0 license is permissive. Install it if you need text extraction from HTML where structure and layout matter; skip it if you only need basic text stripping.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction: pure Python wheel with only two runtime dependencies (lxml, requests).
  • Actively maintained with a release 4 days ago; repo shows 345 stars and continuous development.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; attribution required but no copyleft obligations.

last release 2026-08-10 (4 days) · last repo commit 2026-08-10 · 345 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,345,082 downloads/mo, #4,023 on PyPI

Verify before relying

pip install inscriptis

import urllib.request
from inscriptis import get_text

html = urllib.request.urlopen('https://example.com').read().decode('utf-8')
text = get_text(html)
print(text)
  • Performance characteristics on very large HTML documents or batch processing scenarios.
  • Actual CSS subset coverage and which specific properties are interpreted beyond those listed in the description.
Same gist for agents: .md · .json

What it is and what it does

Inscriptis is a Python library that converts HTML to plain text with awareness of document layout and structure. Unlike simple text extraction tools, it interprets HTML semantics (lists, tables, alignment) and a subset of CSS properties to produce text output that more closely resembles how a browser would render the page. This makes it particularly useful when the spatial arrangement of text matters—for knowledge extraction, NLP tasks, or data science work on web content.

The library provides three interfaces: a Python API for embedding in applications, a command-line tool for batch conversion of files or URLs, and support for annotated output where text can be tagged with semantic information from the original HTML structure. It handles complex constructs like nested tables and supports multiple output formats including XML and JSONL for compatibility with annotation tools.

Use it for

  • Extract clean text from web pages for machine learning datasets or language model training while preserving document structure.
  • Convert HTML email or web content to readable plain text for archival, search indexing, or accessibility purposes.
  • Annotate extracted text with semantic labels derived from HTML tags and attributes for knowledge extraction or document classification tasks.
  • Batch convert HTML files to text with layout-aware formatting for content migration or data pipeline preprocessing.
  • Support qualitative analysis workflows by generating structured text output suitable for manual annotation in tools like doccano.

Worth the install?

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

Worth it

Yes.

Inscriptis is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem—layout-aware HTML-to-text conversion—better than generic alternatives. Its Apache-2.0 license is permissive. Install it if you need text extraction from HTML where structure and layout matter; skip it if you only need basic text stripping.

Install

inscriptis on PyPI

Before you install

Low friction: pure Python wheel with only two runtime dependencies (lxml, requests). Actively maintained with a release 4 days ago; repo shows 345 stars and continuous development.

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; attribution required but no copyleft obligations.

Quickstart

pip install inscriptis

import urllib.request
from inscriptis import get_text

html = urllib.request.urlopen('https://example.com').read().decode('utf-8')
text = get_text(html)
print(text)

Verify before relying

  • Performance characteristics on very large HTML documents or batch processing scenarios.
  • Actual CSS subset coverage and which specific properties are interpreted beyond those listed in the description.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
lxmlrequests
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads1,345,082 / month, #4,023 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Text ProcessingTopic :: Text Processing :: Markup :: HTMLTopic :: Utilities

Evidence: inscriptis-2.7.4-py3-none-any.whl

Tags

Capabilities
html to text conversionextract text from htmllayout-aware html parsinghtml text extractionannotated html to textnested table conversionweb scraping text extraction
Topics
text-extractionweb-scrapingnlp-preprocessing
PyPI keywords
HTMLconvertertext

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 › “html to text conversion”

  • inscriptisConverts HTML documents to plain text while preserving layout,…
  • MainContentExtractorExtracts main content from HTML pages and outputs it in HTML, text,…
  • pyth3Converts marked-up text between formats including plain text, XHTML,…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also BeautifulSoup · jusText · parsel · strip-markdown · textract · rst2ansi · beautifulsoup4 · jira2markdown · css-inline · itemloaders