Base64 to XML Decoder
Decode Base64 back to XML, then format and validate the result in one step.
Input
Output
Ready
Drop a file to load it
About this tool
Decode a Base64 string back into XML, with the result formatted and validated so you can immediately see whether it is what you expected.
When you would use it
- Reading an encoded payload from a log
- Inspecting a JWT body
- Recovering data from a data URI
Worked example
eyJpZCI6NDgxNSwibmFtZSI6IkFkYSJ9
{"id":4815,"name":"Ada"}
Things worth knowing
- Both the standard and URL-safe alphabets are accepted, and missing padding is tolerated.
- Whitespace and line breaks in the input are ignored, so you can paste wrapped Base64 directly.
- If the decoded text is not valid XML, you still get the raw result plus the parse error.
Questions
Frequently asked
It says invalid Base64 — why?
Usually a stray character from copying, or a URL-safe string that was partially converted. The error names the offending character. Whitespace and missing padding are handled automatically.
Is my data uploaded anywhere?
No. Every tool on JSONWorks runs entirely in your browser using JavaScript. Your input is never sent to a server, never logged and never stored. The simplest proof is to disconnect from the internet — the tools keep working. The site does load Google Fonts and a Google Analytics page-view tag, so you will see those two requests in your network tab, but neither receives anything you type or paste.
Related