& HTML एंटिटी डीकोडर — ऑनलाइन HTML डीकोड करें
Decode HTML entities like & < > back to readable text. Also encode text to named, decimal, or hex entities. 100% browser-based.
Paste HTML-encoded text like &lt;div&gt; and click Decode to get back readable <div>. Or switch to Encode mode to convert special characters to safe HTML entities before inserting user content into your HTML pages to prevent XSS.
How to Use
Paste your text
Paste HTML, code, or any text containing characters you want to encode or entity codes you want to decode.
Choose mode
Select Encode (text → entities) or Decode (entities → text). Toggle "Non-ASCII only" for partial encoding.
Copy the result
The output updates instantly. Click Copy to clipboard to use in your project.
Frequently Asked Questions
संपूर्ण गाइड: HTML Entity Encoder/Decoder
HTML Entity Encoder/Decoder क्या है?
HTML Entity tool special characters को HTML entities में encode और decode करता है। HTML में कुछ characters reserved हैं — <, >, &, " — इन्हें directly use करने से HTML structure break हो सकती है। Encoding: < → <।
XSS (Cross-Site Scripting) attacks prevent करने के लिए user input को HTML encode करना essential security practice है। यह tool HTML और XML दोनों के लिए entities support करता है।
कैसे उपयोग करें
- Text enter करें जिसमें special characters हैं।
- Encode या Decode select करें।
- Convert click करें।
- Output copy करें।
Pro Tips
- हमेशा user-generated content HTML-encode करें web pages में display से पहले।
- Named entities (
©) numeric entities (©) से ज्यादा readable हैं। - UTF-8 encoding use करने से most special characters को entities की जरूरत नहीं पड़ती।