HTML Entity Encoder / Decoder
Convert special characters to HTML entities and decode HTML entities back to their original characters.
Named entity encoding (e.g., &)
Numeric entity encoding (e.g., &)
Hexadecimal entity decoding
Non-ASCII character encoding
Common entities reference
- Enter Text: Type or paste the string you want to convert in the input box.
- Select Options: Toggle "Use named entities" to prefer
©over numeric codes, or "Encode all" to escape every non-ASCII character. - Convert: Click "Encode" to turn characters into safe HTML entities, or "Decode" to revert entities back to text.
- Swap/Clear: Use the helper buttons to swap input/output or clear fields instantly.
- Security: Prevent Cross-Site Scripting (XSS) attacks by escaping user input before displaying it.
- Data Integrity: Ensure special characters display correctly across all browsers and email clients.
- Database Cleaning: Safely store text containing special symbols without breaking SQL queries or HTML layouts.
Other Tools
Random Choice Picker
Make fair decisions instantly with our free Random Choice Picker and Spinning Wheel. Perfect for raffles, giveaways, or deciding what to eat.
Regex Tester
Test and debug your regular expressions with this online regex tester. Supports JavaScript RegExp flavor with real-time highlighting.
SHA-256 Generator
Generate SHA-256 hashes securely in your browser. Fast, free, and privacy-focused online SHA-256 calculator tool.
SQL Formatter/Beautifier
Free online SQL formatter and beautifier. Indent, prettify, and minify your SQL queries. Supports standard SQL syntax with uppercase options.
URL Encoder/Decoder
Encode and decode URLs easily using this online tool.
User Agent Parser
Identify browser, operating system, and device details from any user agent string.