Encode text to HTML entities or decode entities back to text. Choose named (&), numeric (&), or hex (&) format. Includes a searchable reference table of common HTML entities.
| Char | Named | Numeric | Hex | Description |
|---|---|---|---|---|
| & | & | & | & | Ampersand |
| < | < | < | < | Less than |
| > | > | > | > | Greater than |
| " | " | " | " | Double quote |
| ' | ' | ' | ' | Apostrophe |
| ␣ | |   |   | Non-breaking space |
| © | © | © | © | Copyright |
| ® | ® | ® | ® | Registered |
| ™ | ™ | ™ | ™ | Trademark |
| € | € | € | € | Euro sign |
| £ | £ | £ | £ | Pound sign |
| ¥ | ¥ | ¥ | ¥ | Yen sign |
| ¢ | ¢ | ¢ | ¢ | Cent sign |
| – | – | – | – | En dash |
| — | — | — | — | Em dash |
| ‘ | ‘ | ‘ | ‘ | Left single quote |
| ’ | ’ | ’ | ’ | Right single quote |
| “ | “ | “ | “ | Left double quote |
| ” | ” | ” | ” | Right double quote |
| • | • | • | • | Bullet |
| … | … | … | … | Ellipsis |
| ° | ° | ° | ° | Degree |
| × | × | × | × | Multiplication |
| ÷ | ÷ | ÷ | ÷ | Division |
| ∞ | ∞ | ∞ | ∞ | Infinity |
| ← | ← | ← | ← | Left arrow |
| → | → | → | → | Right arrow |
| ↑ | ↑ | ↑ | ↑ | Up arrow |
| ↓ | ↓ | ↓ | ↓ | Down arrow |
LevnTools HTML Entity Encoder / Decoder lets you format, validate, and transform your code directly in your browser. Everything runs locally in your browser — your code and data never leave your device. Unlike cloud-only alternatives that require uploads and accounts, this tool is completely free with no usage limits or watermarks. It is designed for developers debugging API responses, DevOps engineers working with configuration files, students learning data formats — anyone who needs a fast, reliable developer tool without the overhead of installing software. Just open the page and start working.
HTML Entity Encoder / Decoder is used by a wide range of people. Explore how different groups use this tool:
Format, beautify, minify, and validate JSON with syntax highlighting.
Encode and decode Base64 with UTF-8 support and file-to-data-URI.
Encode, decode, and parse URLs with editable query parameters.
Convert text to camelCase, snake_case, kebab-case, and 7 more.
Convert between metric and imperial length units.
HTML entities are special codes that represent characters which have meaning in HTML (like < and >) or are not on a standard keyboard (like copyright or trademark symbols). They start with & and end with ; for example & for &.
Three formats: Named entities (&, <, ©) which are human-readable, numeric/decimal entities (&, <, ©) which use the Unicode code point, and hexadecimal entities (&, <, ©).
Encode entities when inserting user-generated content into HTML to prevent XSS attacks, when displaying code examples in HTML, or when you need to show characters like <, >, &, or quotes literally in a web page.
Yes. A searchable table lists common HTML entities with their character, named form, numeric form, hex form, and description. Use the search field to filter by character name or entity code.