Skip to content
booliqSearch tools…

HTML Entity Encoder/Decoder

Encode special characters into HTML entities, or decode HTML entities back into plain text.

Result
Result will appear here.
Free to use, no sign-up, no limit on how many times you run it.More developer tools

Overview

A straightforward converter between raw text and HTML-safe entity-encoded text, useful when working with HTML templates, emails, or content that needs to display special characters literally.

  • One click switches between encode and decode
  • Handles the full range of standard HTML entities
  • Runs entirely in your browser

How to use it

  1. 1Choose Encode or Decode
  2. 2Paste your text or markup
  3. 3Copy the converted result

Frequently asked questions

When do I need to encode HTML entities?

When inserting user-provided or special-character text into HTML markup, characters like <, >, and & need to be encoded so they display correctly instead of being interpreted as part of the markup.

Is this the same as URL encoding?

No — HTML entity encoding (like &amp; for &) is specific to HTML documents, while URL encoding (like %26 for &) is used within URLs. They solve different problems.

Related tools

Browse all categories