Kodowanie encji HTML
Zakoduj encje HTML
Działa w przeglądarce · Bez wysyłania
Samo narzędzie i instrukcje na tej stronie są na razie po angielsku. Działa tak samo: wszystko dzieje się w Twojej przeglądarce.
Twoja przeglądarka jest za stara na to narzędzie. Zaktualizuj ją albo użyj aktualnej wersji Chrome, Edge, Firefoksa lub Safari.
- Nic nie opuszcza Twojego urządzenia
- Bez limitów rozmiaru narzuconych przez serwer
- Bez rejestracji, bez znaku wodnego
- Za darmo
How to encode HTML entities
- Paste your text or code.
- Choose whether to escape quotes and how to write non-ASCII characters.
- Copy the encoded result.
Which characters?
- Always: & < > (and " ' for attribute values).
- Characters such as é, © or emoji only need encoding if the page isn't UTF-8. Choose named (é), decimal (é) or hexadecimal (é) entities.
Najczęstsze pytania
Is this enough to prevent XSS?
Escaping is the right step for text placed inside HTML elements and quoted attributes. Inside JavaScript, URLs or CSS, other rules apply; use your framework's escaping for those.
Is my text uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.