Browser-only инструмент
HTML-экранирование и декодирование
Преобразуйте спецсимволы в HTML entities и обратно для отладки и текстовых контекстов.
Browser-only инструмент
Преобразуйте спецсимволы в HTML entities и обратно для отладки и текстовых контекстов.
Внимание: экранирование помогает только в определенных контекстах и не является полной защитой от XSS.
HTML escaping and unescaping runs locally in your browser. Input is not uploaded.
It helps when text is inserted into the correct HTML text context, but complete XSS prevention depends on context-aware escaping and sanitization.
This tool escapes ampersand, less-than, greater-than, double quotes, single quotes, and backticks.
It can be dangerous if decoded content is inserted into a page as trusted HTML. Treat untrusted decoded output as text unless sanitized.
No. Framework escaping should remain the primary protection in applications. This page is for inspection, examples, and manual conversion.
Quotes matter when text is inserted into HTML attributes. Escaping them reduces accidental markup breakage.