# HTML Entities

Escape and unescape HTML special characters.

## URL

https://ilham.dev/tools/html-entities/

## What It Does

Escape and unescape HTML special characters, choosing between named entities and numeric ones, so text can be embedded safely in a page or a snippet read back to see what it really contains. It escapes what needs escaping rather than every non-ASCII character, which keeps the output readable.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Which characters actually need escaping?




## Questions

### Which characters actually need escaping?

In HTML text content, & and <. Inside an attribute value, also the quote character you are using to delimit it. Escaping more than that is harmless but makes the source noisy.

