Encoding & Decoding Tools
HTML Encoder
Encode text into HTML entities (&, <, >, and more, in named or numeric form) or decode entities back to text — built without ever touching the DOM, so decoded markup like <script> tags stays inert text in both directions. Not the same thing as URL encoding.
Advertisement
HTML entity encoding is not the same thing as URL encoding — this escapes characters that are special in HTML markup (<, >, &, quotes), not characters that are special in a URL.
Advertisement
Related tools
Features
- Encode with named (&) or numeric (&) entities
- Decode entities back to text
- Input and output are always shown as plain text, never rendered
How to use
- Choose Encode or Decode.
- Paste your text or HTML.
- Copy the result.
FAQ
- Is this the same as URL encoding?
- No. HTML entity encoding escapes characters that are special in HTML markup — &, <, >, and quotes. URL encoding (see the URL Encoder tool) escapes characters that are special in a URL. They solve different problems.
- Does decoding execute any scripts in the input?
- Never — decoding here is pure text substitution with no DOM involved, so a decoded <script> tag stays inert text, not executable markup.
Advertisement