Text to HTML Entities

Your data never leaves your browser

Convert non-ASCII characters to HTML decimal entities.

Brie — Bug Reporting Tool

Fixing broken HTML in production?

Brie captures the DOM, console errors, and a full session replay so your team can see exactly what went wrong.

About Text to HTML Entities

Convert every non-ASCII character in your text to its &#decimal; HTML entity equivalent. ASCII printable characters (code points 32-126) are left unchanged. Useful for ensuring maximum compatibility in HTML documents that do not declare a UTF-8 charset.

How to use

  1. Paste your text containing Unicode or special characters into the input panel.
  2. Each non-ASCII character is converted to its &#decimal; entity.
  3. Copy the entity-encoded text for use in HTML documents.

More HTML Tools

Frequently Asked Questions

FAQs about Text to HTML Entities

What characters are converted?

Any character with a Unicode code point outside the ASCII printable range (32-126) is converted to a &#decimal; entity.

Why would I need this?

Older HTML documents or email templates that do not declare UTF-8 encoding may need non-ASCII characters expressed as entities to display correctly.

What is the difference between this and HTML Escape?

HTML Escape only converts the 5 special HTML characters (<, >, &, ", '). This tool converts all non-ASCII characters.

Can I use &#xhex; instead of &#decimal;?

This tool outputs decimal entities. For hex entities, you can convert the decimal values manually or use a dedicated converter.

Is my data safe?

Yes. All processing happens in your browser. No data is sent to any server.