- No data uploaded
- Instant results
HTML Entity Encoder
Type or paste text to encode it as HTML Entity instantly. Everything runs in your browser — safe for tokens, keys and private data.
HTML Entity Encoder
What is HTML Entity encoding?
HTML entity encoding replaces characters with special meaning in HTML (< > & " ') so text is displayed literally instead of being parsed as markup — the core defence against HTML injection.
UTF-8 handling
Text is converted to UTF-8 bytes before encoding, so accented letters, CJK characters and emoji round-trip correctly.
HTML Entity encode examples
| Input | Output |
|---|---|
| Hello World | Hello World |
| a+b=c & d | a+b=c & d |
| naïve café ☕ | naïve café ☕ |
Frequently asked questions
Is HTML Entity encryption?
No. HTML Entity is a reversible encoding, not encryption — anyone can decode it. Never use it to protect secrets.
Is my input sent anywhere?
No. Encoding and decoding happen locally in your browser.