VulnerabilityTools Free scan

HTML Entity Encoder & Decoder

Convert special characters to HTML entities, and back, in one click.

Encoders & HashesFree · no signupRuns in your browser

Encoding turns < > & " ' into safe entities, essential when displaying code in HTML.

About this tool

Encodes the five HTML-significant characters (& < > " ') into entities, optionally every non-ASCII character too, for systems that only accept ASCII, or decodes any entities, named (&copy;), decimal (&#169;) or hexadecimal (&#xA9;), back to characters.

Encoding is essential when embedding code samples in web pages; decoding cleans up entity-heavy text scraped from HTML sources.

How to use

  • 1. Paste text or HTML.
  • 2. Click Encode or Decode.
  • 3. Copy the result.

Frequently asked questions

Which characters get encoded?

& < > " and ', the five characters that are significant in HTML. Tick the option to also encode every non-ASCII character as a numeric entity.

Which entities can it decode?

All of them: named (&copy;), decimal (&#169;) and hexadecimal (&#xA9;) entities.

Is it free?

Yes, unlimited, no signup.

Is your website secure? Run the free 7-section scan: vulnerabilities, malware, headers, SEO and speed.

Scan my website

Related tools

More from Encoders & Hashes and Developer.

All 98 tools →