๐Ÿท๏ธ
๐Ÿ“„

Encode Content for XML

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

Nid oes angen mewngofnodi
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.

Sut Mae'n Gweithio

1
Ewch i mewn
Enter your data into the tool above. Everything stays local to your browser.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lawrlwythwch
Get your result instantly. Nothing is stored after you leave the page โ€” complete privacy.

Pam defnyddio ein un ni?

โœ“Hollol rhad ac am ddim - dim costau cudd, byth
โœ“Nid oes angen cyfrif, e-bost na mewngofnodi
โœ“Nid yw ffeiliau byth yn gadael eich dyfais
โœ“Dim cyfyngiadau maint ffeil o gwbl
โœ“Dim dyfrnodau ar unrhyw allbwn

Also check outโ€ฆ

Cwestiynau Cyffredin