HTML entities represent reserved characters. Less than (<), greater than (>), ampersand (&), and quotes need escaping. Converting to < > & prevents rendering issues and stops XSS attacks.
Type or paste HTML to encode special characters. Switch to decode mode to restore characters from entities. Encodes the five essential characters: &, <, >, ", '. Decodes the five named entities plus decimal numeric (©) and hex numeric (©) formats. Includes a reference table.
Prevent XSS vulnerabilities in user content. Display code snippets in documentation. Insert special symbols (©, ™, →). Handle international characters. Fix email template rendering across clients.
Encodes five essential HTML characters (&, <, >, ", '). Decodes the five corresponding named entities (&, <, >, ", '), plus decimal numeric (©) and hex numeric (©) references for any Unicode code point up to U+10FFFF.
Special sequences for reserved HTML characters. Start with & and end with ;. Example: < is <, > is >, & is &.
Prevents browsers from parsing special characters as code. Avoids broken layouts and stops XSS attacks.
Replace &, <, >, ", ' with entity equivalents. React auto-escapes in JSX.
This tool decodes five named entities (&, <, >, ", '). For other characters like ©, use numeric entities: decimal (©) or hex (©). Both formats are decoded correctly.
Escape strings for JSON and JavaScript. Convert special characters to safe escape sequences like \n, \t, \u00A9.
Beautify, format, or minify HTML code with proper indentation
Convert HTML markup to clean Markdown syntax for documentation and content.
Transform, format, generate, and encode data instantly. Private, fast, and always free.
Browse All Tools