Generators & Converters
HTML Entity Encoder
Turn <, >, and quotes into entities, or turn entities back into characters.
Tip: press Ctrl+Enter (or ⌘+Enter) to run from a text box.
Result will show here after you run the tool.
How to encode HTML entities
- Paste text or markup.
- Click Encode, or Decode if the text is already escaped.
- Copy the result.
Encoding replaces &, <, >, quotes, and apostrophes. Decoding reads named entities such as & and numeric codes such as '.
Frequently asked questions
Will this run the HTML?
No. The text is rewritten as characters. It is not inserted into the page as markup.
Is the text uploaded?
No. Encoding and decoding run in your browser.
Related generators and converters
Keep working without leaving the site.
Unix timestamp
Convert a timestamp to a date, or a date to Unix time.
Open toolUUID generator
Create one or more UUID version 4 (random) or version 7 (time-ordered) values.
Open toolPassword generator
Create a random password from the character sets you choose.
Open toolUnit converter
Convert length, area, volume, weight, speed, temperature, data size, and time.
Open toolTime converter
Convert seconds, minutes, hours, days, and weeks in either direction.
Open toolTime zone converter
Turn 9:00 am in one zone into the same moment in another city or UTC.
Open tool