# Html Entity Encode — REST API endpoint `html-entity-encode`

Encode HTML special characters as entities. Named mode uses &amp;/&lt;/&gt;/&quot;/&#39;; numeric mode uses &#NNN; for all non-ASCII plus the five reserved chars.

- Category: encoding
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/html-entity-encode/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/html-entity-encode/
- Same tool on the other surface: https://findutils.com/mcp/html-entity-encode/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/html-entity-encode/execute \
  -H "Content-Type: application/json" \
  -d '{
    "text": "<b>&</b>"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/html-entity-encode
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `text` | string | yes | Text to encode. |
| `mode` | string (named \| numeric) | no | Entity style. Default: named. |

Example arguments (verified):

```json
{
  "text": "<b>&</b>"
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:html_entity_encode`. Full MCP reference: https://findutils.com/mcp/html-entity-encode/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
