HTML Entity Encoder/Decoder
This tool allows you to convert text with special characters to HTML entities and vice versa. HTML entities help display special characters correctly on web pages.
Mode
<
<
Less than sign
>
>
Greater than sign
&
&
Ampersand
"
"
Double quotation mark
'
'
Single quotation mark
©
©
Copyright symbol
®
®
Registered trademark
How to use HTML Entity Encoder/Decoder
- 1
Enter your text
Paste the text or HTML snippet you want to convert into the input box.
- 2
Choose encode or decode
Click Encode to turn special characters into HTML entities, or Decode to turn entities back into characters.
- 3
Get the result
The converted output appears instantly in the result panel.
- 4
Copy the output
Use Copy Result to grab the encoded or decoded text for your project.
Frequently asked questions
What are HTML entities and why use them?
Which characters does the encoder convert?
Can I convert entities back into normal characters?
Is this useful for preventing broken HTML or XSS?
Does my text get sent to a server?
Related tools
Keep going with these handy tools