Encode and decode HTML entities with named, numeric, and hex modes.
Free online HTML entities encoder and decoder. Encode special characters to HTML entities for safe display in HTML documents, or decode HTML entities back to regular characters. Supports four encoding modes: named entities (&, <, etc.), numeric decimal (&#nnn;), numeric hex (&#xnn;), and minimal encoding for essential characters only. Browse a searchable table of 100+ common HTML entities organized by category — basic symbols, punctuation, math, arrows, currency, and Greek letters. Search by entity name, character, description, or code point. Runs entirely in your browser — no data is ever sent to a server.
Keywords: html entities encoder, html entities decoder, html entities encode, html entities decode, encode html entities, decode html entities, html entity table, html entity list, named entities, numeric entities, hex entities, html special characters, html escape, html unescape, quot entity, amp entity, lt gt entities, html entities online, free html entities encoder
Tags: html, entities, encode, decode, entity, special-characters
Paste or type your text into the input area on the left.
Choose your action: Encode to convert special characters to HTML entities, or Decode to convert entities back to characters.
Select your encoding mode: Named Entities (like &) for maximum readability, Decimal Numbers (like &) for universal compatibility, or Hexadecimal (like &) for compact representation.
Click Process or press ⌘↵ (Mac) / Ctrl+Enter (Windows) to convert your text instantly.
Browse the Entity Reference Table to search and explore all 2,100+ HTML5 entities by name, character, or category.
Copy the result with ⌘⇧C, or share via a gzip-compressed shareable URL.
Encode special characters to HTML entities: converts &, <, >, " and ' to their named or numeric entity equivalents.
Decode HTML entities back to characters: converts &, &, & and 2,100+ other named entities to readable text.
3 encoding modes: Named Entities (&) for readability, Decimal Numbers (&) for compatibility, Hexadecimal (&) for compactness.
Full Unicode support: encode any Unicode character including emoji, CJK characters, mathematical symbols, and accented letters.
Auto-detect mode: automatically identifies whether your input contains entities to decode or special characters to encode.
Entity Reference Table: searchable, filterable table of all 2,100+ HTML5 entities grouped by category (symbols, punctuation, accented letters, Greek, mathematical).
Entity search: type any character, entity name, or code point to find matching entities instantly.
Category filters: show only Symbols, Punctuation, Letters, Diacritics, Greek, or Mathematical entities.
Per-entity copy: click any entity in the reference table to copy just that entity to your clipboard.
Encode all mode: converts every non-ASCII character to numeric entities for maximum compatibility with legacy systems.
Smart encode mode: only converts characters that require escaping in HTML (&, <, >, "), leaving regular text untouched.
Character analysis: shows Unicode block, category, and code point for any character.
Batch processing: encode or decode multiple lines of text at once.
Shareable URLs: gzip-compresses your input and settings into a URL for sharing with teammates.
Works entirely in your browser — no text is ever sent to any server. Your content stays completely private.
Keyboard shortcuts: ⌘↵ to process, ⌘⇧C to copy, ⌘⇧K to clear.