# Convert HTML to Text

Paste HTML and get Text back. Free, no signup, and nothing you paste is stored. The same conversion is available as an API call and to AI agents over MCP.

- Tool: [html-to-text](https://setget.net/tools/html-to-text.md)
- Endpoint: `POST https://setget.net/v1/tools/html-to-text`
- Page: https://setget.net/convert/html-to-txt

## HTML and Text

- HTML: HTML is the language web pages are written in: text wrapped in tags, with menus, scripts and styling around it. The readable content is buried in markup, navigation and scripts.
- Text: Plain text is characters and line breaks, nothing else. Every program on every system can open it. It has no headings, tables, fonts or pictures.

## What happens in this conversion

- What you get: The readable text: headings, paragraphs, list items and table rows. Scripts, styles and menus are dropped.
- Links: Turn links on to write each address in brackets after its text.

## Questions

**Is my HTML stored anywhere?** No. It is converted in memory and discarded. It is not saved or logged.

**How much HTML can I convert at once?** Up to 1 MiB in a single request.

**Can a script or an AI agent convert HTML to Text?** Yes. Call POST https://setget.net/v1/tools/html-to-text with JSON, or use the run_tool tool of the SetGet MCP server with slug "html-to-text". The code samples on this page are ready to copy.
