HTML Entity Encoder/Decoder
Encode and decode HTML special characters. Safe for HTML content, form inputs, and web development.
Common HTML Entities
Bidirectional
Encode special characters or decode entities back to plain text.
Web Safe
Properly encode HTML to prevent XSS and rendering issues.
Instant Copy
One-click copy encoded or decoded output to clipboard.
About the HTML Entity Encoder/Decoder
HTML entities are codes that stand for characters, such as © for © or € for €. They let you write any character in HTML, even ones that are hard to type.
How to use it
- 1 Paste your text or entity-encoded HTML.
- 2 Choose Encode or Decode.
- 3 Copy the converted text.
Frequently asked questions
What is the difference between named and numeric entities?
Named entities use a word, like €. Numeric entities use the Unicode code point, like € or €. Both show the same character.
What does do?
is a non-breaking space. It looks like a normal space but stops the browser from wrapping a line at that point.
Do I still need entities with UTF-8 pages?
Mostly not. With UTF-8 you can type characters like é directly. You only must escape &, <, >, and quotes.