sinikoding
html-entities87

HTML Entity Encoder / Decoder

Escape text for safe use in HTML, or decode HTML entities back to characters.

POST /api/v1/html-entities
API version
v1
Output schema
1

The endpoint path is always /v1. The schema number below tracks this tool's output shape and changes independently.

Create a free account

Parameters

ParameterTypeRequiredDefault
inputtextyes
modeencode | decodenoencode

Request

curl -X POST https://sinikoding.dev/api/v1/html-entities \
  -H 'content-type: application/json' \
  -H 'x-api-key: tk_live_…' \
  -d '{"input":"…","mode":"encode"}'

Returns

"output": { "kind": "text", "value": "…" }
Try it

Calls a same-origin sandbox endpoint, not /api/v1. No key needed, capped at 15 requests a minute.

Request

curl -X POST https://sinikoding.dev/api/v1/html-entities \
  -H 'content-type: application/json' \
  -H 'x-api-key: tk_live_…' \
  -d '{"input":"","mode":"encode"}'

Response

Send a request to see the response.
Open the web version