HTML Entity Encoder / Decoder

Convert reserved and special characters to HTML entities and back

When to encode

  • • Always encode & < > " ' when putting user text into HTML
  • • Decoding uses the browser's own parser, so every named and numeric entity is supported
  • • "Encode all non-ASCII" is handy for ASCII-only files or email templates
Share this tool