---
title: "HTML to Text"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/text/htmltotext
markdown: https://docs.nodetool.ai/nodes/nodetool/text/htmltotext.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/text/htmltotext.md
---

# HTML to Text

**Type:** `nodetool.text.HtmlToText`

**Namespace:** `nodetool.text`

## Description

Converts HTML content to plain text using html2text.
    html, convert, text, parse, extract

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| html | `str` | HTML content to convert | `` |
| base_url | `str` | Base URL for resolving relative links | `` |
| body_width | `int` | Width for text wrapping | `1000` |
| ignore_images | `bool` | Whether to ignore image tags | `true` |
| ignore_mailto_links | `bool` | Whether to ignore mailto links | `true` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [nodetool.text](./) namespace.
