Home › Tools › HTML › HTML Entity Encoder / Decoder

HTML Entity Encoder / Decoder

Escape or unescape HTML special characters safely. Free, private and instant.

About the HTML Entity Encoder / Decoder

Characters like less-than, ampersand and quotes have special meaning in HTML. Entities such as & and < display them as plain text instead.

When to use it

Use it to show code samples on a page, safely output user text, or decode entities copied from scraped content.

How to use the HTML Entity Encoder / Decoder

  1. Enter or paste your input in the fields above.
  2. The result updates as you type, or press Run.
  3. Press Copy to copy the output.

Frequently asked questions

Is the HTML Entity Encoder / Decoder free?

Yes. It is completely free, with no signup and no usage limits.

Is my data uploaded anywhere?

No. Everything runs locally in your browser, so what you type never leaves your device.

Does the HTML Entity Encoder / Decoder work on mobile?

Yes. The tool is responsive and works on phones, tablets and desktops.

More free tools

</>HTML Minifier

Strip comments and whitespace to shrink HTML.

HTML
</>Markdown to HTML Converter

Convert Markdown to clean HTML and preview it instantly.

HTML
</>SEO Meta Tag Generator

Generate title, description, canonical and Open Graph tags.

HTML
</>HTML to Text Converter

Strip HTML tags and get clean readable text.

HTML
</>Robots.txt Generator

Create a robots.txt file with disallow rules and a sitemap link.

HTML
</>UTM Campaign URL Builder

Add UTM tracking parameters to any link.

HTML
Copied!