{"ok":true,"result":{"slug":"html-entity-encoder-decoder","name":"HTML Entity Encoder/Decoder","summary":"Escape text as HTML entities, or decode named (&amp;), decimal (&#38;) and hex (&#x26;) character references back to text.","description":"Escape text for safe use in HTML, or decode entities like &amp;, &copy; and &#x1F600; back to characters. Optional named or numeric encoding of non-ASCII text.","method":"POST","endpoint":"/api/v1/tools/html-entity-encoder-decoder","plan":"free","mcpName":"html_entity_encoder_decoder","input":{"type":"object","additionalProperties":false,"properties":{"input":{"type":"string","description":"Text to encode, or HTML with entities to decode.","maxLength":200000},"mode":{"type":"string","description":"encode or decode.","enum":["encode","decode"],"maxLength":200000},"encoding":{"type":"string","description":"When encoding: basic (only & < > \" '), named (also every non-ASCII character, as a named entity where one exists) or numeric (also every non-ASCII character as &#xHEX;).","default":"basic","enum":["basic","named","numeric"],"maxLength":200000}},"required":["input","mode"]},"example":{"input":"<a href=\"/\">Café & Co</a>","mode":"encode","encoding":"named"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/html-entity-encoder-decoder","page":"https://pithlab.com/tools/html-entity-encoder-decoder"}}