HTML Kodare/Avkodare
Koda text to HTML entities or decode HTML entities back to text. Handles & < > " '.
Så använder du verktyget
Ange din inmatning ovan. Resultatet uppdateras automatiskt. Använd kopieringsknappen för att kopiera resultatet.
Vanliga frågor
Vanliga frågor visas på engelska medan översättningen färdigställs.
Which HTML entities are handled?
& < > " and ' are encoded to their entity equivalents.
Is my text uploaded to a server?
No. All encoding and decoding happens locally in your browser. Your text never leaves your device, making this safe for sensitive content.
What is the difference between encoding and escaping?
In the HTML context they refer to the same operation: replacing special characters with entity references. Encoding is the general term; escaping emphasizes the security purpose — preventing raw text from being interpreted as markup, which is the primary defense against XSS attacks.