Skip to content
Takikit

HTML Entity Encoder

Convert < > & " ' to &lt; &gt; &amp; and so on so HTML code shows as plain text on a web page.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this to show sample HTML code as plain text on a blog, tutorial or WordPress post, or to insert user-submitted text into HTML without letting stray tags run.

Normally only the five characters & < > " ' are converted and Vietnamese letters stay as they are. Turn on numeric conversion of accented letters (&#...;) when an old system or email template cannot store UTF-8 and garbles the text.

How to use

  1. Paste code or text.
  2. Choose whether to convert accented letters to numeric codes.
  3. Click Copy or Download.

Frequently asked questions

Is the data I paste sent to a server?

No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.

Related tools

More Developer tools

See all developer tools