Bộ mã hóa/giải mã HTML
Thoát các ký tự đặc biệt hoặc giải mã HTML
Loading...
Loading...
Use these tools directly in Chrome
Install the DailyDevTools extension — access all tools from your browser toolbar
What is HTML Encoder/Decoder?
HTML special characters like <, >, &, and " must be encoded as HTML entities (<, >, &, ") to display correctly in browsers and prevent Cross-Site Scripting (XSS) attacks. DailyDevTools' HTML Encoder/Decoder instantly converts text containing HTML special characters to safe entity-encoded HTML, and decodes encoded HTML back to readable text.
How to use HTML Encoder/Decoder
- 1Paste your text or HTML into the input field
- 2Click Encode to convert characters like <, >, &, ", and ' to their HTML entity equivalents
- 3Click Decode to convert HTML entities (&, <, ', etc.) back to their original characters
- 4Use the output for safely rendering user input in HTML pages or escaping content for attributes
Frequently asked questions
Comments
Bạn cũng có thể thích
Khám phá các công cụ dành cho nhà phát triển phổ biến khác