HTML Entity Encoder/Decoder
Encode and decode HTML entities with multiple format support, entity reference table, and advanced features
All processing happens in your browser. Your data never leaves your device and is automatically saved.
0 characters
Common Use Cases
XSS Prevention
Encode user input to prevent cross-site scripting attacks
HTML Content
Display special characters safely in HTML documents
Email Templates
Encode special characters for email HTML content
SEO & Meta Tags
Properly encode meta descriptions and titles
About HTML Entity Encoder/Decoder
HTML Entity Encoder/Decoder is a powerful tool for converting special characters to and from HTML entities, with support for multiple encoding formats and a comprehensive entity reference table.
Powerful features:
- Multiple Formats: Named entities (&), decimal (&), and hexadecimal (&)
- Auto-Detection: Automatically detects entities in input and suggests proper mode
- Statistics: Detailed breakdown of entity types and counts
- Entity Reference: Searchable table with 47+ common HTML entities
- Category Filtering: Browse entities by category (Math, Greek, Arrows, etc.)
- Quick Insert: Click to insert entities directly into your text
- Bidirectional: Encode to entities or decode back to plain text
- Auto-save: Form data automatically saved to browser storage
Use cases: XSS prevention, HTML content display, email templates, SEO meta tags, XML/RSS feeds, database sanitization, web scraping