Kinsutools

HTML Encoder / Decoder

Encode HTML entities or decode entity text back to readable HTML.

How to encode or decode HTML entities

Paste your text or markup and the tool converts special characters such as <, >, & and quotes into their HTML entities (&lt;, &gt;, &amp;) — or back again. Encoding lets you display code and symbols on a web page without the browser interpreting them as tags, which prevents broken layouts and injection bugs.

Why encode HTML?

Showing raw < or & characters in HTML can break a page or open the door to cross-site scripting. Converting them to entities makes the text display exactly as written and keeps your markup valid. Decoding is handy when you've copied escaped content and want the plain version. The conversion happens in your browser, so nothing is sent anywhere.

Frequently Asked Questions

What does HTML encoding do?

It converts characters like <, >, &, quotes, and apostrophes into HTML entities such as &lt; and &amp;.

Why decode HTML entities?

Decoding turns entity text such as &amp; or &lt; back into the readable characters they represent.

When should I encode HTML?

Encode user-supplied text before placing it in a page so tags are shown as text rather than executed, which helps prevent broken markup.

Is it free and private?

Yes. It is free, needs no sign-up, and runs entirely in your browser so nothing is uploaded.