HTML Entity Articles & Guides

Everything you need to know about HTML entities — encoding, decoding, reference tables, and real-world fixes.

Practical HTML Entity References

These guides focus on the entity problems developers actually hit in production: the complete entity reference table, encoding and decoding in JavaScript, PHP, and Python, double-encoded text, and the non-breaking space.

Start with the complete HTML entities list if you need a reference, or jump to the language guide and double-encoding fix when debugging escaped output, CMS content, feeds, or API responses.

Recommended Learning Path

  1. Learn the reserved characters and the named, decimal, and hex notations from the entities list.
  2. Compare the encoding functions in JavaScript, PHP, and Python before escaping output in code.
  3. Read the double-encoding guide when entities show up as literal text like & on a page.
  4. Use the encoder on the homepage to test edge cases like quotes, symbols, Unicode, and already-encoded strings.

Need to Encode HTML Entities?

Encode and decode HTML entities instantly — supports named entities, decimal codes, hex codes, and Unicode symbols.

Open HTML Entity Encoder