Convert a Data URI to XML right in your browser. Decode Base64 or URL-encoded data URIs and view the formatted XML instantly with zero upload.
How to Use:
- Paste your full Data URI or import a
.txt
or.uri
file. - Enable or disable the following toggles:
- Pretty format: Adds line breaks and spacing to the XML.
- Strip XML declaration: Removes
<?xml ...?>
header. - Maximize output: Expands the output preview area.
- Choose the Data Type mode:
- Base64: Standard encoded format.
- URL-encoded: For plain
data:text/xml,...
URIs.
- Click Convert to decode.
- Use Copy Output or Export to File to save.
- Use Clear All to reset everything including the output counter.
What Convert a Data URI to XML can do:
Convert a Data URI to XML takes a data URI like data:text/xml;base64,… or data:text/xml,… and pulls out the actual XML inside. You can decode either Base64 or URL-style encoding, strip out any declarations, and format the result for easy readability. It updates live and never sends data anywhere, so it’s safe for local decoding tasks.
Example:
Input:
data:text/xml;base64,PHJvb3Q+PHVzZXI+QWxpY2U8L3VzZXI+PC9yb290Pg==
Output:
<root>
<user>Alice</user>
</root>
Common Use Cases:
This tool is perfect when you need to decode embedded XML from a web page, config snippet, or local app that uses data URIs. Great for reverse-engineering XML payloads or cleaning up encoded exports from browsers or JavaScript-based tools.
Useful Tools & Suggestions:
Start with Convert Base64 to XML if the Data URI is base64-encoded it can save you a decoding step. And once you’ve got the XML out, use Highlight XML Syntax to make it easier to scan and troubleshoot.