Escapar / Desescapar HTML
Escape ou desescapar caracteres especiais HTML.
Como usar Escapar / Desescapar HTML
- 1Paste your text or HTML
- 2Click Escape to encode HTML entities, or Unescape to decode them
- 3Copy or download the result
Sobre Escapar / Desescapar HTML
HTML Escape & Unescape converts characters that have special meaning in HTML (&, <, >, ", ') to their HTML entity equivalents, and vice versa. This prevents XSS attacks and rendering issues when displaying user-generated content or code in web pages.
Use this tool when building HTML templates, displaying code in browsers, or preparing content for safe HTML insertion.
Perguntas frequentes
Why escape HTML?
Unescaped HTML characters like < and > will be interpreted as HTML tags, causing rendering issues or security vulnerabilities.
Which characters are escaped?
&, <, >, double quote ("), and single quote (') are all converted to their HTML entity forms.