HTML Entity Encoder
Encode text to safe HTML entities.
Text
HTML entities
Free online HTML entity encoder. Convert special characters like <, >, & and quotes, plus non-ASCII characters, into HTML entities so they display correctly. Runs in your browser.
How to use the HTML Entity Encoder
- 01Type or paste your text into the input.
- 02The encoded HTML entities appear instantly.
- 03Copy the entity-encoded output.
Frequently asked questions
Which characters get encoded?
The reserved characters &, <, >, single and double quotes are converted to named entities, and any non-ASCII character becomes a numeric entity so it renders reliably.