How html entities decoding works
Reserved characters are replaced with named or numeric entities: & → &, < → <, > → >, " → ".
Examples
| HTML Entities | Text |
|---|---|
Hello | Hello |
Bangladesh | Bangladesh |
2026 | 2026 |
A&B <ok> | A&B <ok> |
আমি | আমি |
Character-by-character breakdown
Here is how the word Dhaka ৳ is converted, character by character. The Unicode code point identifies the character, the UTF-8 bytes show how it is stored, and the last column is the html entities result.
| Character | Code point | UTF-8 bytes | HTML Entities |
|---|---|---|---|
D | U+0044 | 44 | D |
h | U+0068 | 68 | h |
a | U+0061 | 61 | a |
k | U+006B | 6B | k |
a | U+0061 | 61 | a |
␠ | U+0020 | 20 | |
৳ | U+09F3 | E0 A7 B3 | ৳ |
Common mistakes to avoid
- Mixing up encoding and encryption — HTML Entities is reversible by anyone and does not protect secrets.
- Copying extra spaces or line breaks into the input, which can change the result.
- Assuming one character equals one byte — Bangla letters and emoji use several bytes in UTF-8.
- Decoding text that was encoded with a different character set (such as old ANSI/Bijoy files).
What is HTML Entities?
HTML entities replace special characters like <, > and & with codes such as < so they display correctly in web pages instead of being read as code.
Common uses
- Programming, debugging and API development
- Computer science and ICT homework
- Sharing data safely between systems
- Puzzles, games and learning how computers store text
Frequently asked questions
Does it support Bangla text?
Yes. Text is processed as UTF-8, so Bangla, Arabic, emoji and all Unicode characters work.
Is my text sent anywhere?
No, everything is processed instantly in your browser.
Can I convert large text?
Yes, you can paste long documents; conversion is instant.
Is HTML Entities a form of encryption?
No. It is an encoding — a reversible way of representing data. Anyone can decode it, so never use it to hide passwords or secrets.
Can I reverse the conversion?
Yes. Click the swap button to switch between encoding and decoding instantly.