What are HTML entities?
HTML entities are character codes used to display reserved characters safely in HTML. For example, an ampersand can be written as & and a less-than sign as <. They are helpful when text should appear literally instead of being interpreted as markup.
How to use this HTML entity converter
- Paste text that you want to escape, or paste entity-encoded text that you want to read.
- Select Encode HTML text or Decode entities.
- Copy the result for your document, code sample, or content editor.
Common uses
- Escape snippets before showing them as literal HTML examples.
- Decode copied content containing named or numeric entities.
- Prepare text for HTML-based templates and documentation.