ToolAssay

Encode text to HTML entities so it can be safely embedded in markup

Encode text to HTML entities so it can be safely embedded in markup. By default uses hex numeric references; set useNamedReferences for named entities (&, ©) or encodeEverything to encode every character.

Answeringour last check, 2026-11-27
7 of 7checks answered this week
454 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://openverbs.com/api/html/v1/encode

CategoryEverything else
Provider hostopenverbs.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.002 450 ms
2026-11-26 valid payment request 402$0.002 471 ms
2026-11-25 valid payment request 402$0.002 454 ms
2026-11-24 valid payment request 402$0.002 466 ms
2026-11-23 valid payment request 402$0.002 454 ms
2026-11-22 valid payment request 402$0.002 455 ms
2026-11-21 valid payment request 402$0.002 454 ms
2026-11-20 valid payment request 402$0.002 454 ms
2026-11-19 valid payment request 402$0.002 449 ms
2026-11-18 valid payment request 402$0.002 466 ms
2026-11-17 valid payment request 402$0.002 448 ms
2026-11-16 valid payment request 402$0.002 456 ms
2026-11-15 valid payment request 402$0.002 488 ms
2026-11-14 valid payment request 402$0.002 455 ms
2026-11-13 valid payment request 402$0.002 448 ms
2026-11-12 valid payment request 402$0.002 474 ms

Example input (from the provider)

{
  "body": {
    "encodeEverything": false,
    "text": "example",
    "useNamedReferences": false
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "encodeEverything": {
              "description": "Encode every character, not just unsafe ones. Default false.",
              "type": "boolean"
            },
            "text": {
              "description": "Plain text to encode.",
              "maxLength": 200000,
              "type": "string"
            },
            "useNamedReferences": {
              "description": "Use named entities where available. Default false.",
              "type": "boolean"
            }
          },
          "required": [
            "text"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON