HTML Encode/Decode Tool
Encode special characters to HTML entities or decode HTML entities back to regular characters.
Original Length: 0 chars
Processed Length: 0 chars
Entities Changed: 0
ℹ️ HTML Encoding Guide
Encoding Options Explained:
- Encode Special Chars: Converts only <, >, &, ", ' to entities
- Encode All Chars: Converts all non-ASCII characters to entities
- Decode: Converts HTML entities back to regular characters
Entity Types:
- Named: < > & (human-readable)
- Decimal: < > & (numeric)
- Hexadecimal: < > & (hex codes)
Input | Settings | Output |
---|---|---|
<div>Hello</div> | Encode, Named | <div>Hello</div> |
© 2023 | Encode All, Decimal | © 2023 |
☺ Smile | Decode | ☺ Smile |
Note: Encoding all characters will significantly increase text size. Use only when necessary.