dev/converter

Text to HTML Entities Converter - Free & Instant | Smocky

Escape HTML special characters in this text. Conversion stays in your browser.

Nothing leaves your browser

HTML Entities to Plain text

Frequently asked questions

Which characters does escaping always replace?

The Escaped set is &, <, >, double quote, and apostrophe. The ampersand is replaced first, so the references written by this Tool are not read again as markup.

Why does an apostrophe become &#39; instead of &apos;?

The numeric reference &#39; is recognized by older HTML versions as well as modern ones. &apos; was added later, so the numeric form is the safer output for general HTML.

What does Non-ASCII escaping change?

When enabled, every code point above U+007F becomes a hexadecimal Numeric reference. An emoji such as 😀 is one code point and becomes one reference, not two surrogate halves.

Send feedback

About Smocky

Send this feedback to Smocky via Cloudflare, a third-party service. Only the feedback you enter is included, along with your browser information. Your tool inputs and results are never attached. Please do not include passwords or other sensitive information. Privacy policy

Feedback is unavailable right now. Your draft is still here.