டெவலப்பர் கருவிகள்
HTML எண்டிட்டி குறியாக்கி & குறிவிலக்கி
< > & மற்றும் மேற்கோள்களை உரையாகத் தெரியும்படி HTML எண்டிட்டிகளாக மாற்றுங்கள், அல்லது எண்டிட்டிகளை மீண்டும் எழுத்துகளாக மாற்றுங்கள்.
About the HTML Entity Encoder & Decoder
In HTML, a few characters have special meaning: "<" starts a tag and "&" starts an entity. To show them as normal text on a web page, they have to be written as HTML entities. This tool escapes text into entities and decodes any entity, named or numeric, back into characters, as you type.
What you can do with the HTML Entity Encoder & Decoder
- Escape and unescape: Turn < > & " into entities and back, as you type.
- Named and numeric: Decodes &, © and ❤ alike.
- Safe to paste: Show code on a web page without it running.
- Copy either side: Grab the encoded or decoded text.
The five characters that get encoded
& becomes &, < becomes <, > becomes >, the double quote becomes " and the single quote becomes '. The ampersand is handled first, so the entities themselves aren't encoded twice.
When you need it
Use it when showing code examples on a web page or in a blog post, or when placing text inside an HTML attribute. Escaping is also part of how websites prevent HTML injection, although real applications should rely on their framework's built-in escaping.
What decoding covers
Every named entity browsers understand, from & and to ©, → and …, plus numeric ones like ₹ and ₹. The counter shows how many entities were found.
Related tools
நிஜ வாழ்க்கை உதாரணங்கள்
Showing code on a web page
To display <b>bold</b> as text, not as bold, escape it to <b>bold</b>.
The rupee sign in HTML
In decode mode, ₹ turns back into ₹.
Frequently Asked Questions
Why does my text show "&amp;"?
It was encoded twice. Decode it once and it will return to a single encoded ampersand; decode again to get the plain character.
Do accented letters need to be encoded?
Not on a modern page saved as UTF-8. If you're pasting into an old system that only accepts ASCII, switch on "Also encode non-ASCII".
Which characters need to be escaped in HTML?
Five characters can be read as code: & becomes &, < becomes <, > becomes >, the double quote becomes " and the single quote becomes '. Encode mode replaces all five and shows how many it escaped.
Why does code I paste into my blog post disappear?
The browser treats anything inside < and > as a real HTML tag, so it runs or hides it instead of showing it. Encode the code first and paste the result, and readers will see the tags as text.
What's the difference between named and numeric entities?
A named entity uses a word, like ©, while a numeric one uses the character's Unicode number in decimal (©) or hex (©). All three show ©. Decode mode understands both kinds, but not every character has a name.
What is the HTML code for the rupee symbol ₹?
The rupee sign is Unicode U+20B9, so it is written ₹ in decimal or ₹ in hex. Most modern pages can include ₹ directly in UTF-8, but switch on "Also encode non-ASCII" if you need the numeric form.
What is and what does it decode to?
is a non-breaking space, character 160, also written  . It looks like a normal space but stops a line from breaking there, which keeps things like "₹ 500" together. Decoding turns it into that special space, not an ordinary one.
How do I keep line breaks when showing text on a web page?
HTML ignores ordinary line breaks, so separate lines run together. In Encode mode, switch on "Keep line breaks as <br>" and a <br> tag is added at the end of each line, so the text keeps its layout.
Does escaping HTML protect a site from script injection?
Escaping user text before adding it to a page is a key defence against cross-site scripting, because a <script> tag becomes harmless <script>. Text placed inside JavaScript or link addresses needs its own escaping, so this is not the only step.
How is an emoji written as an HTML entity?
Use its Unicode code point in decimal or hex. The waving hand 👋 is U+1F44B, so it becomes 👋 or 👋. With "Also encode non-ASCII" on, each emoji becomes one numeric entity like this.
Why does it use ' instead of ' for apostrophes?
' was not part of HTML 4, so older browsers and some email programs do not recognise it. ' works everywhere and shows the same apostrophe. Decode mode reads both forms.
More developer tools
- நிற வடிவ மாற்றி: Convert colours between HEX, RGB and HSL formats in either direction, with a live colour preview.
- எண் அடிமான மாற்றி: Convert numbers between binary, octal, decimal and hexadecimal, or to any base up to 36, with a bit view.
- Unix நேரமுத்திரை மாற்றி: Convert a Unix timestamp to a readable date and time, or a date back to Unix time, in your time zone or UTC.
- CSS அலகு மாற்றி: Convert px to rem, em, pt and percent with your own base font size.
- ஹாஷ் ஜெனரேட்டர்: Make MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text or file, or HMACs with a secret key, and check a hash against a file.
- JWT டிகோடர்: Decode a JSON Web Token to read its header and claims, see when it expires in plain dates, and check the signature with a secret or public key.