HTML entity encoder / decoder
Paste text and switch between encoding and decoding HTML entities.
Free online HTML entity encoder and decoder
Encode text into HTML entities or decode entities back to plain text. Encoding turns characters like &, <, >, " and ' into &, < and so on, so they display literally instead of being parsed as markup. Essential when you need to show code or user input safely on a web page. Runs locally in your browser.
FAQ
Why encode HTML entities? To prevent characters from being interpreted as tags and to avoid breaking your markup. Does decoding handle named and numeric entities? Yes, both are supported.