# Convert HTML emails and web fragments into clean plain text for downstream agents

> Use html-to-text when an agent receives raw HTML from inboxes, support systems, or scraped pages and needs readable plain text before classification, summarization, or indexing. The skill is deliberately bounded to deterministic HTML-to-text conversion, not crawling or summarization.

- Skill: `agentskillexchange/convert-html-emails-and-web-fragments-into-clean-plain-text-` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/convert-html-emails-and-web-fragments-into-clean-plain-text-`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/convert-html-emails-and-web-fragments-into-clean-plain-text-/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/convert-html-emails-and-web-fragments-into-clean-plain-text-

---


# Convert HTML emails and web fragments into clean plain text for downstream agents

Use html-to-text when an agent receives raw HTML from inboxes, support systems, or scraped pages and needs readable plain text before classification, summarization, or indexing. The skill is deliberately bounded to deterministic HTML-to-text conversion, not crawling or summarization.

## Prerequisites

Node.js, npm

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://www.npmjs.com/package/html-to-text

## Documentation

- https://github.com/html-to-text/node-html-to-text#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/convert-html-emails-and-web-fragments-into-clean-plain-text-for-downstream-agents/)

