HTML Entity Decoder / Encoder

Decode HTML entities (&, &, &) back to plain text, or encode plain text into safe HTML entities.

Encoded HTML

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

  1. Select Decode to convert HTML entities to plain text, or Encode to escape special characters.
  2. Paste or type your content into the input panel.
  3. Click Run or let the tool process automatically as you type.
  4. For encoding, choose Named (&), Decimal (&), or Hex (&) output format.
  5. 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 —, ©, and € 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

Last updated: 2026-07-01 · Reviewed by Nham Vu