Free HTML Entity Encoder & Decoder
The HTML Entity Encoder & Decoder converts characters to and from HTML entities. Encode special characters for safe display in markup, or decode entities back to characters.
How to Use
Paste your text and click Encode to escape &, <, >, ", and ' as entities, or Decode to convert entities back. Copy the result with one click.
- Escapes & < > " ' for safe HTML output
- Decodes numeric and named entities
- Useful for displaying code snippets
Related Developer Tools
You might also need
Tools from other categories that people pair with the HTML Entities: