HTML Entity Encoder
Escape <, >, &, and quotes into HTML entities.
About HTML Encode
HTML entity encoding replaces the characters that have special meaning in HTML — &, <, >, double-quote, and apostrophe — with their entity equivalents (&, <, >, ", ').
This is the standard way to safely display user-provided text inside an HTML page so the browser renders it as literal text instead of interpreting it as markup.
Encoding these characters is a core defense against accidental layout breakage and HTML injection in templates.
Example
| Input | <a href="x">Tom & Jerry</a> |
| Output | <a href="x">Tom & Jerry</a> |
Use it from code
curl "https://encode.wrapper-agency.com/api/v1/encode?op=html-encode&value=YOUR_TEXT"Free during beta — no key. See the full API reference.