fixtdoc

HTML Entities

Turn characters like <, > and & into safe HTML entities, or decode entities back into plain text.

Files stay on your device

0 characters

Encoded

Everything runs in your browser. Your text is not uploaded for processing and never leaves this device.

Frequently asked questions

What does encoding to HTML entities do?

It replaces the characters HTML treats specially (&, <, >, double quote, single quote) with entity references like &amp; and &lt;, so a browser shows the characters instead of interpreting them as markup.

Which entities can the decoder handle?

Named entities (&amp;, &copy;, &eacute;), decimal references (&#169;), and hex references (&#xA9;) all decode back to their characters.

When should I encode text as entities?

When you show code samples, user input, or any text containing < or & inside an HTML page and want it displayed literally instead of parsed as tags or entity starts.