HTML Entity Encode / Decode
Escape and unescape HTML special characters.
About this tool
HTML entity encoding replaces characters like <, >, &, and " with their entity forms (<, >, &, ") so they display as text instead of being interpreted as markup. It is essential whenever you show code samples on a page, render user-generated content safely, or drop a snippet into documentation without it breaking the layout.
Paste your text and press Run to escape it; paste escaped text into the decode variant to recover the original. Both run locally in your browser with no upload. This is also a basic XSS-hygiene habit: never inject raw user input into HTML without escaping or using a safe rendering method.
Web developers use this when publishing tutorials that include angle brackets, when building admin screens that preview user content, and when logging structured output for display. Technical writers use it so code blocks render correctly. Security learners use it to understand why escaping matters.
A useful teaching point: there are named entities (&) and numeric ones (&); both are valid and this tool handles the common named set plus numeric forms on decode. Mention that escaping is about correct rendering and safe display — it is not encryption and does not hide data.
For AdSense, frame the page as a short security-and-markup explainer with examples and a FAQ, and link to the URL Encode and Base64 tools that cover adjacent needs. Original, accurate content is the design principle of this entire toolbox — it is what gets a site approved and trusted.