text Tools

HTML Entity Encoder/Decoder

Encode and decode HTML entities and special characters.

Runs 100% in your browser — your data never leaves this device

Find this tool useful? Support the project to keep it free!

Buy me a coffee

What is HTML Entity Encoder/Decoder?

HTML entities are codes used to represent special characters in HTML. Characters like <, >, &, and quotes need to be encoded to display correctly in web pages. This tool encodes plain text to HTML entities and decodes entities back to text.

How to Use HTML Entity Encoder/Decoder

1. Enter text to encode or HTML entities to decode 2. Click Encode or Decode 3. Copy the result

Common Use Cases

  • Displaying code snippets in HTML
  • Escaping user input for security
  • Converting special characters for emails

Frequently Asked Questions

Which characters are encoded?

< becomes &lt;, > becomes &gt;, & becomes &amp;, " becomes &quot;, and more.