Online HTML Escape
Encode/decode HTML entities
Satisfaction Rating
Related Tools
Quick start: HTML Entity Converter in 3 steps
- Paste plain text to encode, or an escaped entity string to decode
- Pick encode or decode and confirm characters match what you expect
- Copy into a template, ticket, or JSON field—production XSS review stays in your app
HTML Entity Converter: curated examples
- •Example: encode `<button disabled>` so a docs page shows markup as text.
- •Example: decode `Tom &amp; Jerry` once to spot a double-encoded API field.
About HTML Entity Converter
Convert between plain text and HTML entities in both directions—encode <script> as <script> for safe text nodes, or decode & and 中 to Unicode—to align CMS exports, email templates, and API payloads with what the browser ultimately reads.
Entities represent special characters in HTML syntax; they are not full XSS sanitization. User input still needs context-aware escaping or trusted sanitizers for text, attributes, URLs, and script strings.
Double encoding like &amp; and named or numeric references can be stepped down in one place to spot an extra API escape pass.
How HTML Entity Converter works
Source, JSON fields, and rich-text stores mix < and '—seeing before/after on one page cuts trial-and-error on whether to decode again.
Production rendering should use framework-appropriate escaping; this page fits docs, API debug, and template work—not CSP or content-security review.
Why use HTML Entity Converter on WoDeTool
WoDeTool keeps HTML Entity Converter, related utilities, clipboard detection, and pipelines together, so you can work through JSON, JWT, and Diff in one workspace.
Use Smart Clipboard on the home page to auto-detect pasted JSON, Base64, or JWT and jump to HTML Entity Converter. Save a tool pipeline to chain HTML Entity Converter with related utilities. Read our guides for real-world workflows.
Common use cases
- •Show a code sample: Encode <button disabled> in a tutorial so it appears as text rather than an element.
- •Check double encoding: Decode Tom &amp; Jerry once to see whether an API encoded & an extra time.
- •Prepare content text: Escape He said "yes" & left before placing it in HTML text.
- •Inspect rich-text output: Decode stored <p>Announcement</p> to see the markup written by an editor.
- •Build an email template: Encode a dynamic title containing & and < before inserting it into an HTML email body.
Related tutorials
Frequently asked questions
- Is HTML Entity Converter free to use?
- Yes. HTML Entity Converter on WoDeTool is completely free with no sign-up required. Open the page and start using it immediately.
- Does HTML entity encode prevent XSS?
- Not by itself. It converts characters and entity forms—you still need context-correct escaping or sanitizers when rendering user input.
- Are named and numeric entities supported?
- Yes—common named entities plus decimal/hex numeric references, useful when checking CMS or API double-escaping.
- Is text uploaded when I convert?
- No. Encode/decode runs in your browser.
Tell us what tool you want and we'll prioritize it
Feedback →