HTML Entity Encode/Decode
HTML entity encoding converts special characters like angle brackets, ampersands, and quotes into their safe HTML entity equivalents. This prevents cross-site scripting (XSS) vulnerabilities and ensures special characters render correctly in web pages. This tool supports both named entities and numeric character references, making it essential for web developers working with dynamic content and HTML templates.
How to Use This Tool
- Select Encode or Decode mode using the toggle buttons.
- Optionally enable 'Encode all non-ASCII characters' to convert Unicode characters to numeric entities.
- Paste or type your text into the input area and see the result in real time.
- Click Copy to copy the result to your clipboard.
Related Tools
B64%20{ }SQL
Base64 Encode/Decode
Encode text to Base64 and decode Base64 to text.
URL Encode/Decode
Encode and decode URL components and query strings.
JSON Formatter & Validator
Pretty-print, validate, and minify JSON with syntax highlighting.
SQL Formatter
Beautify SQL queries with support for multiple dialects.