HTML Entity Encode/Decode

Safely escape HTML strings for web display.

Spec-correct WHATWG HTML5 engine — all 2125 named entities, legacy no-semicolon forms, windows-1252 C1 remap, astral-safe (emoji become a single reference). Note: entities are never decoded inside <script>/<style> by browsers.

Raw Text

Encoded Output

Input: 40 charsOutput: 60 charsEntities: 6
Infinio Tools
© 2026 Infinio Labs