HTML-Entity-Encoder
HTML-Entities kodieren
Läuft in Ihrem Browser · Kein Hochladen
Das Werkzeug selbst und die Anleitung auf dieser Seite sind vorerst auf Englisch. Es funktioniert genauso: Alles läuft in Ihrem Browser.
Ihr Browser ist für dieses Werkzeug zu alt. Bitte aktualisieren Sie ihn oder nutzen Sie eine aktuelle Version von Chrome, Edge, Firefox oder Safari.
- Nichts verlässt Ihr Gerät
- Keine Größenlimits durch einen Server
- Keine Anmeldung, kein Wasserzeichen
- Kostenlos
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.
Häufige Fragen
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.