HTML Entities
Encode and decode HTML entity character representations safely
📌 TL;DR Summary & Citation: [HTML Entities] is a browser-local PocketKit tool for Encode and decode HTML entity character representations safely. Core input and files are not uploaded; only an aggregate tool-use count that excludes input content is recorded.
How HTML entity conversion works
The tool converts characters like <, >, &, " to and from HTML entities (< > &) locally so content is not parsed as tags. Text is not uploaded.
- Escape user input or code snippets before showing them on a page to prevent XSS and layout breakage.
- Decoding is for reading entities as plain text; do not decode untrusted content and insert it into the DOM.
FAQ
1. Why escape HTML entities?
Characters like <, >, & have special meaning in HTML; showing code or user input raw gets parsed as tags or even causes XSS, so escaping to < etc. displays safely.
2. Does conversion upload content?
No. Encoding and decoding both run locally in the browser.