Home › HTML entity encoder & decoder
HTML entity encoder & decoder
Escape <, >, & and quotes to HTML entities, or decode entities like &amp; and &#39; back to text.
🔒 Runs 100% in your browser — safe for real dataHow to use the hTML entity encoder & decoder
- Paste text or HTML.
- Choose Encode or Decode.
- Copy the result.
About this tool
Escaping turns characters with special meaning in HTML into entities so they display as text instead of being interpreted as markup — essential when showing code samples or user input.
FAQ
Is my data sent to a server?
No. DevKnife tools run entirely in your browser with JavaScript. Nothing you paste — API keys, tokens, customer data — is transmitted or logged, so it is safe for production data.