Skip to content
Free Online Tools
All Tools Text Tools Developer Tools Generators Converters Calculators Data & Converters Web & Design Encoders & Ciphers Networking Games About Blog News

HTML Entity Encode / Decode

Encoders & Ciphers 100% in-browser

Escape text to HTML entities, or decode entities back to characters.

How to use the HTML Entity Encode / Decode

  1. 1 Paste text or HTML.
  2. 2 Choose Encode to escape special characters, or Decode to reverse it.
  3. 3 Copy the result.

About the HTML Entity Encode / Decode

Characters like the angle brackets, ampersand and quotes have special meaning in HTML. Encoding them as entities lets you display them as text instead of markup, preventing broken layouts and injection.

This tool escapes and unescapes HTML entities entirely in your browser.

Frequently asked questions

Which characters get encoded?

The reserved characters ampersand, less-than, greater-than and quotes are converted to their entities.

Does decode handle numeric entities?

Yes, both named and numeric entities are decoded.

Related tools

URL Encode / Decode Percent-encode text for safe use in URLs, or decode an encoded URL back to readable text.
Base64 Encode / Decode Convert text to and from Base64. Everything runs in your browser and is UTF-8 safe.
HTML Beautifier Paste minified or messy HTML to get clean, indented markup.

More from us

Recently used