Convert XML to a Data URI
Turn any XML configuration into a data: URL — base64 or percent-encoded — ready to embed in HTML, CSS or your code.
Input
Output
About Convert XML to a Data URI
Convert XML to a Data URI wraps your document in a data: URL. Use base64 or percent-encoding to embed XML directly in HTML src attributes, href links, CSS or documentation.
Features
How to Use
Examples
The sample becomes data:application/xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGNhdGFsb2c+…
Benefits
Frequently Asked Questions
Is my XML sent to a server?
No. Everything runs locally in your browser. Your data is never uploaded, stored or logged.
Can I download the result?
Yes — use the Download button below the output area, or Print / Save PDF for a printable copy.