FR

HTML Entities Encoder / Decoder

Escape text for safe HTML, or decode &-style entities back to text.

About this tool

Escape HTML special characters (ampersand, angle brackets, quotes) into entities, or decode entities back to plain text. Essential when displaying user input or code samples on a web page without breaking the markup.

Which characters must be escaped in HTML?

At minimum the ampersand and the less-than sign in text, plus quotes inside attributes. This tool escapes all five standard characters.

Does decoding handle numeric entities?

Yes - named, decimal and hexadecimal entities all decode correctly.