HTML Entity Encoder & Decoder | Special Character Converter
Encode and decode HTML special characters with named and numeric entities
Free online HTML entity encoder and decoder. Convert special characters with named or numeric entities for safe display and web development.
How to use
What it does
Convert between plain text and HTML entities so brackets, quotes, and symbols display safely in HTML.
Basic flow
- Paste or type your text.
- Encode: turn matching characters into entities based on selected ranges.
- Decode: turn named or numeric entities back to characters.
- Copy or clear results as needed.
Options
- Named entities use readable names when a mapping exists.
- Otherwise numeric &#codepoint; entities are used.
- Combine ASCII, Latin, and extended ranges; basic symbols still encode if nothing is selected.
Security note
Encoding helps safe display but does not replace server-side validation, output encoding context rules, or CSP.