Loading tool…
Escape characters like <, > and & into HTML entities so they display literally, or unescape entities back to plain text.
Loading tool…
Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.
HTML entities are codes that represent characters with special meaning in HTML. For instance < renders as <, and & renders as &. They let you show those characters without the browser interpreting them as markup.
Escaping user-supplied text before inserting it into a page is a core defense against cross-site scripting (XSS). Converting <, >, &, " and ' to entities prevents the browser from running injected tags or scripts.
Decoding turns entities (named like © or numeric like ©) back into the characters they represent — handy when reading scraped or stored HTML.
&, <, >, " and '.