HTML Entity Escaper

html-entity-escaper.skillsafe.ai

Clean Completely free

Convert text to and from HTML entities, live as you type. Escape mode handles the five characters that matter; unescape mode decodes named, numeric and hex references, which is what machine-generated HTML actually contains. Output is written with textContent, so your input is never rendered. Runs fully client-side. Imported Claude artifact. Source: https://github.com/simonw/tools (escape-entities.html, Apache-2.0).

Share

Details

PricingCompletely free
Security scanClean — skill and frontend scanned
Created2026-08-25
Updated2026-08-25
View source prompt + release files — fork-enabled apps share their full source

System prompt (SKILL.md)

---
name: html-entity-escaper
description: Convert text to and from HTML entities, live as you type, in either direction.
metadata:
  tags:
    - artifact-import
    - dev-tools
  source_url: https://tools.simonwillison.net/escape-entities
  github_repo_url: https://github.com/simonw/tools
---

# HTML Entity Escaper

An imported Claude artifact with two modes. Escape turns the five characters
that matter - ampersand, angle brackets, double quote, apostrophe - into their
named entities, so a snippet can be dropped into markup without being parsed as
markup. Unescape goes the other way, and handles more than the named set: it
also decodes numeric references and hex references, which is what you usually
find in machine-generated HTML.

The conversion runs as you type and the result is written with textContent, so
the tool never renders your input - useful, given that pasting live markup into
an escaping tool is the whole point.

Nothing is uploaded, no model is called, and nothing is metered.

Release files (files)

Every public app is built from a security-scanned skill and must pass a clean scan — skill and frontend — before it can be listed. Have a skill of your own? Turn it into an app — or read the step-by-step walkthrough.