Categories

HTML Tag Stripper (HTML标签清除)

Remove HTML tags from code and extract clean text content

This tool provides multiple modes for processing HTML: **Modes:** - **strip**: Simply removes all HTML tags, leaving only text content - **extract**: Extracts text content while preserving readability - **clean**: Removes tags plus scripts, styles, and comments **Features:** - Handles self-closing tags (br, img, input, etc.) - Decodes HTML entities ( , <, >, &, etc.) - Preserves structural formatting (optional) - Removes extra blank lines - Provides detailed statistics about tags removed

API Documentation

Request Endpoint

POST /en/api/tools/new-html-tag-stripper

Request Parameters

Parameter Name Type Required Description
html textarea Yes -
mode select No -
removeEmptyLines checkbox No -
decodeEntities checkbox No -
preserveStructure checkbox No -

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-new-html-tag-stripper": {
      "name": "new-html-tag-stripper",
      "description": "Remove HTML tags from code and extract clean text content",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=new-html-tag-stripper",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]