{"ok":true,"data":{"tool":{"slug":"html-entity-encoder-decoder","name":"HTML Entity Encoder / Decoder","section":"tools","category":"Developer Tools","subcategory":"Encoding, IDs & Hashes","url":"/tools/encoding-ids-and-hashes/html-entity-encoder-decoder/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Encode special characters as HTML entities or decode entities back to text.","input_schema":{"type":"object","properties":{"operation":{"type":"string","description":"Enter the operation used by this tool.","enum":["encode","decode"]},"input":{"type":"string","description":"Enter the text or entities used by this tool."},"encoding_mode":{"type":"string","description":"Enter the encoding mode used by this tool.","enum":["named","numeric","hex_numeric"]},"encode_non_ascii":{"type":"boolean","description":"Enter the encode non-ascii characters used by this tool."}},"required":["operation","input","encoding_mode"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"result":{"type":"string","description":"Transformed text produced by the tool."},"changed_characters":{"type":"number","description":"Changed characters produced by the tool."},"input_length":{"type":"number","description":"Input length produced by the tool."},"output_length":{"type":"number","description":"Output length produced by the tool."}},"additionalProperties":false},"examples":[{"title":"HTML Entity Encoder / Decoder example","description":null,"input":{"operation":"encode","input":"<p title=\"UtilityPages\">Tools & calculators ©</p>","encoding_mode":"named","encode_non_ascii":false},"output":{"result":"&lt;p title=&quot;UtilityPages&quot;&gt;Tools &amp; calculators &copy;&lt;/p&gt;","changed_characters":79,"input_length":49,"output_length":80}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"7cc4ca61c5057f7641a53c82"}