Categories

HTML Tag Stripper

Remove HTML tags and extract clean text content

Keep multiple spaces and formatting

Keep paragraph and line break structure

Convert & < > etc. to their characters

Completely remove JavaScript and CSS content

Tags to preserve (comma-separated tag names)

API Documentation

Request Endpoint

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

Request Parameters

Parameter Name Type Required Description
html textarea Yes -
preserveWhitespace checkbox No Keep multiple spaces and formatting
preserveLineBreaks checkbox No Keep paragraph and line break structure
decodeEntities checkbox No Convert & < > etc. to their characters
removeScriptStyle checkbox No Completely remove JavaScript and CSS content
customKeepTags text No Tags to preserve (comma-separated tag names)

Response Format

{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}
Text: Text

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-html-tag-stripper": {
      "name": "html-tag-stripper",
      "description": "Remove HTML tags and extract clean text content",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=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]