Convert special characters like <, >, &, and " into safe HTML entities, or convert HTML entities back to their original characters. Escaping user-generated content before inserting it into an HTML document is essential for preventing cross-site scripting (XSS) vulnerabilities. Toggle between encode and decode modes with a single click.
Count words, characters (with and without spaces), sentences, and paragraphs in real time. Paste any text and get instant stats. Free.
Convert text between UPPERCASE, lowercase, Title Case, snake_case, kebab-case, camelCase, and more.
Sort any list of lines alphabetically, by length, or in reverse order. Includes a case-sensitive toggle and options to sort A→Z, Z→A, shortest first, or longest first. Free.
How to Escape HTML Characters (And Why It Matters)
Displaying user-generated content without escaping HTML special characters is one of the most common causes of XSS vulnerabilities. Here's how to do it right.
How to Create SEO-Friendly URL Slugs
A slug is the human-readable part of a URL. Clean, consistent slugs improve readability, shareability, and search engine rankings.