🏷️
📄

Encode Content for XML

Encode special characters for XML files, RSS feeds, sitemaps, and SOAP payloads.

Không cần đăng nhập
Output:
Examples:
Plain text / HTML
Encoded HTML
Output will appear here…
Common HTML entities reference
&&
<&lt;
>&gt;
"&quot;
'&#39;
·&nbsp;
©&copy;
®&reg;
&trade;
&euro;
&mdash;
&hellip;

XML tips

📄

XML requires &, <, >, ", and ' to be encoded as entities inside element content. Unencoded characters cause XML parsers to fail.

📡

RSS and Atom feed content must be HTML-entity-encoded. Article titles with ampersands (&) or quotes must use &amp; and &quot;.

🗺️

Sitemap URLs containing & (e.g. tracking parameters) must encode & as &amp;. Most sitemap validators will flag unencoded ampersands.

💡

SOAP/XML web service payloads require strict encoding. Use this tool to verify your data before sending to an XML-based API.

Cách hoạt động

1
Nhập liệu
Enter your data into the tool above. Everything stays local to your browser.
2
Xử lý
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Tải xuống
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

Tại sao chọn của chúng tôi?

Hoàn toàn miễn phí — không có chi phí ẩn, mãi mãi
Không cần tài khoản, email hoặc đăng nhập
Tệp không bao giờ rời khỏi thiết bị của bạn
Không có giới hạn kích thước tệp nào
Không có hình mờ trên bất kỳ đầu ra nào

Also check out…

Câu hỏi thường gặp