DevBox

HTML Entity Encode / Decode

③ Data / Text

What it is: Turn special characters like < > & into HTML entities, or restore them.

When to use: When safely placing code/symbols into HTML, or restoring entities from a web page.

Everything runs locally in your browser — nothing is uploaded.

FAQ

When do you need HTML entities?

When you want to display characters that have syntactic meaning — like <, >, and & — inside a web page, you must escape them into entities (e.g. &lt;), otherwise the browser parses them as markup.

Related tools