# HTML entity converter — encode & decode, no upload

> Encode text to HTML entities or decode entities back to characters in your browser. Nothing is uploaded — the text stays in the tab.

Convert characters to HTML entities (like &amp; and &lt;) or decode entities back to plain text. Everything happens in the browser tab, so nothing is uploaded.

Displaying code or user input in HTML means escaping the characters that would otherwise be interpreted as markup. Entity encoding does that safely, and decoding turns entity-laden text back into readable characters.

For URL-safe encoding instead, use the URL encoder; to inspect exotic characters, the Unicode inspector.

## How to

1. **Paste text.** Paste text with special characters or entities.
2. **Choose direction.** Encode to entities or decode back.
3. **Copy.** Copy the converted output.

## FAQ

### Why encode < and > in HTML?

So they render as text instead of being parsed as tags — encoding user content to entities is a basic defense against broken markup and injection.

### Does it handle named and numeric entities?

Yes. It decodes named entities (&copy;) and numeric ones (&#169;), and encodes the characters that need escaping.

### Is my text uploaded?

No. Conversion happens in the browser, so the text stays local.


## Related tools

- [URL encode](https://www.safepaper.app/dev/url-encoder)
- [Unicode inspector](https://www.safepaper.app/dev/unicode-inspector)
- [String escape](https://www.safepaper.app/dev/string-escape)
- [ASCII table](https://www.safepaper.app/dev/ascii-table)

---

Canonical HTML: https://www.safepaper.app/dev/html-entities
Markdown: https://www.safepaper.app/dev/html-entities.md

There is no upload endpoint — your files are processed in this browser tab. Open your network tab and check.
