HTML Entity Encoder
☆ favoriteConvert special characters to and from HTML entities.
Common Named Entities
| Character | Entity | Name | Code |
|---|---|---|---|
| < | < | Less than | < |
| > | > | Greater than | > |
| & | & | Ampersand | & |
| " | " | Double quote | " |
| ' | ' | Single quote | ' |
| | Non-breaking space |   | |
| © | © | Copyright | © |
| ® | ® | Registered | ® |
| ™ | ™ | Trademark | ™ |
| — | — | Em dash | — |
| – | – | En dash | – |
| « | « | Left angle quote | « |
| » | » | Right angle quote | » |
How to Use
- Paste text with special characters and click Encode to convert them to HTML entities.
- Paste HTML entities and click Decode to convert them back to characters.
- Encode All converts every character to its numeric entity form.
Developer Tools (56)
Formatters & Minifiers (12)
Code to ImageJSON FormatterHTML FormatterCSS FormatterJS FormatterSQL FormatterXML FormatterHTML MinifierCSS MinifierJS MinifierJavaScript ObfuscatorSVG Optimizer
encode & decode (7)
Base64 Encode/DecodeURL Encode/DecodeHTML Entity EncoderJWT DecoderJWT BuilderHash GeneratorUUID Generator
JSON (4)
Converters (6)
Data Format ConverterPixels to REMTimestamp ConverterHTML to JSX ConverterSVG to JSX ConvertercURL to Code Converter
testing & inspection (13)
Regex TesterREST API TesterHTML Live PreviewCode Diff CheckerKeyboard Event ViewerCSV ViewerHTML Table ExtractorScreen RulerScreen Resolution CheckerUser Agent ParserColor Contrast CheckerCSS Specificity CalculatorCSS Cursors Reference
seo & web (8)
Open Graph PreviewSERP Preview ToolSchema Markup GeneratorTable Generator.htaccess GeneratorCron Expression GeneratorHTTP Status CodesChmod Calculator
network & validation (6)