# HTML Entity Encode

Escape special characters (< > & ") as HTML entities so code displays safely on a web page.

URL: https://raava.in/tools/html-encode/
Section: Online Tools › Encode & Decode
Updated: 2026-11-25

## How to use

Type or paste your text into the first box. The result appears immediately in the second box, ready to copy or download. Replace the sample text with your own.

## Example

Input:
<a href="page.html">Tom & Jerry</a>Output:
<a href="page.html">Tom &amp; Jerry</a>

## Frequently asked questions

### What does the HTML Entity Encode do?

Escape special characters (< > & ") as HTML entities so code displays safely on a web page.

### Is the HTML Entity Encode free to use?

Yes. It is free, needs no sign-up and works on phones, tablets and computers. Everything is calculated in your browser, so what you enter is not sent to or stored on a server.

## Related

- [Text to Binary Converter](https://raava.in/tools/text-to-binary/)
- [Binary to Text Converter](https://raava.in/tools/binary-to-text/)
- [Text to Hex Converter](https://raava.in/tools/text-to-hex/)
- [Hex to Text Converter](https://raava.in/tools/hex-to-text/)
- [Text to ASCII Code Converter](https://raava.in/tools/text-to-ascii/)
- [Morse Code Translator](https://raava.in/tools/morse-code-translator/)
- [Morse Code Decoder](https://raava.in/tools/morse-code-decoder/)
- [ROT13 Encoder / Decoder](https://raava.in/tools/rot13-encoder/)
- [Caesar Cipher Encoder](https://raava.in/tools/caesar-cipher/)
