728 × 90 Ad Space

HTML Encoder

Escape the five characters that have meaning in HTML — ampersand, less-than, greater-than, quote and apostrophe — so your text is shown on a page instead of being read as markup.

empty

empty

How to use it

  1. Type or paste your text into the box above.
  2. The result appears as you type — or press Convert.
  3. Press Copy result to put it on your clipboard.

Example

Input
<a href="x">Tom & Jerry</a>
Result
<a href="x">Tom & Jerry</a>

Questions

When do I need this?

Whenever you want to display code or user text on a web page without the browser treating it as markup.

Is my text sent to a server?

No. This tool runs entirely in your browser — nothing you type or paste is uploaded, logged or stored anywhere.

Is there a limit on how much text I can use?

There is no fixed limit. Very large documents depend on your device’s memory, but ordinary pages and files are handled instantly.