HTML Entities Encoder / Decoder
Convert special characters to HTML entities and back.
HTML uses characters like < and & for its own syntax, so to show them literally in a page they must be written as entities such as < and &.
About HTML Entities Encoder / Decoder
Encode characters like <, >, & and quotes as HTML entities so they display safely in a web page, optionally converting every non-ASCII character to a numeric entity, or decode named and numeric entities back to plain text.
HTML uses characters like < and & for its own syntax, so to show them literally in a page they must be written as entities such as < and &. This tool encodes special characters into entities and decodes entities back into plain text.
How to use HTML Entities Encoder / Decoder
- Choose Encode or Decode.
- Paste your text or HTML.
- Optionally encode every non-ASCII character as a numeric entity.
- Copy or download the result.
Key features
- Encodes & < > and quotes.
- Optional numeric entities for accents, symbols and emoji.
- Decodes named and numeric entities such as © and ©.
Common use cases
- Showing code samples safely in web pages.
- Preparing text for HTML emails and templates.
- Cleaning up text that arrived with entities in it.

