HTML Entity Decoder / Encoder
Decode HTML entities (&, &, &) back to plain text, or encode plain text into safe HTML entities.
Format:
Encoded HTML
Encode:
Decoded Text
0
Converted
0
Input chars
0
Output chars
Common HTML Entity Reference
| Char | Named | Decimal | Hex |
|---|
Copied!
Summary
Decode HTML entities (&, &, &) back to plain text, or encode plain text into safe HTML entities.
How it works
- Select Decode to convert HTML entities to plain text, or Encode to escape special characters.
- Paste or type your content into the input panel.
- Click Run or let the tool process automatically as you type.
- For encoding, choose Named (&), Decimal (&), or Hex (&) output format.
- Copy the output or use Swap to feed output back as new input.
Use cases
- Decode entity-escaped text from a database or CMS export before processing.
- Fix double-encoded HTML from email clients or content management systems.
- Safely encode user-generated content before inserting it into HTML templates.
- Convert numeric entity references (< or <) to human-readable form.
- Decode named entities like &mdash;, &copy;, and &euro; for display.
- Prepare text for HTML email by encoding accented characters to portable entities.
- Verify encode/decode round-trips to confirm no data loss.
Frequently Asked Questions
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu