HTML Entity Encoder/Decoder
Online HTML entity encoder/decoder supporting named entities, numeric entities, and auto-detection.
Current Mode
Auto Detect On - Encode
Input Content
Output Result
Character Mapping(Only show first 20 characters)
| Original Content | Converted Result |
|---|---|
| No Data | |
Usage Guide
- 1. Enter text or HTML entities, auto-detect mode will intelligently judge based on input content.
- 2. Support HTML entity encoding, e.g., < for <, > for >.
- 3. Support numeric entities, e.g., < for <, < for <.
- 4. You can manually switch between encode/decode modes or enable auto-detect mode.
- 5. The character mapping table only shows the conversion relationship of the first 20 characters.
- 6. Click the "Copy" button to quickly copy the conversion result.
- 7. Click the "Clear" button to reset all inputs and outputs.
- 8. Click the "Swap" button to quickly swap input and output content.
About This Tool
This is a professional HTML entity processing tool that supports bidirectional conversion between text and HTML entities. It can convert special characters into HTML-safe entity encodings (such as <, <) or restore entities back to original characters. The tool features smart auto-detection, automatically determining whether to encode or decode based on the input content. Ideal for Web developers dealing with web content display issues.
Features
- 🔤 Text to HTML Entities: Convert special characters to HTML-safe entities
- 🔤 HTML Entities to Text: Convert HTML entities to original characters
- 🔄 Bidirectional Conversion: Support encode and decode mode switching
- 🤖 Smart Auto-detection: Automatically determine input type and select conversion mode
- 📋 Support Multiple Entity Formats: Named entities and numeric entities
- 📊 Real-time Character Mapping (first 20 characters)
- 📋 One-click Copy Results
- 🔒 Local Processing, Protect Privacy
- 🔄 Support Input Output Swap