Encode special characters into HTML entities (e.g. <code><</code>, <code>></code>, <code>&</code>) or decode entities back to readable text. Useful for sanitizing strings for display in HTML and debugging encoded content.
HTML entities (like <
, >
, &
and numeric entities such as ©
)
are used to represent characters that have special meaning in HTML or are outside the ASCII range.
Our free online tool helps you encode special characters to HTML entities to safely display text in web pages,
or decode entities back to their original form for editing and processing.