jsonecho

Base64 to XML

Decode a Base64 string and get readable, formatted XML back.

Loading the tool...

How to use Base64 to XML

  1. Paste the Base64 string.
  2. Read the formatted XML on the right.
  3. Open the Tree view to explore it.

About Base64 to XML

Paste the Base64 string and the XML inside is decoded and, where possible, formatted for reading. SOAP and other XML messages are often embedded in Base64 when they have to travel inside another document, such as a signed assertion, a payment callback or a field in a database.

The decoder accepts the URL-safe alphabet and strings without padding, so strings from tokens and secrets work too. If the decoded text is not valid XML, you still get the raw text, so you can see what is in there.

Frequently asked questions

What if the decoded text is not XML?

You get the plain decoded text without formatting. That tells you what the string really contains.

Can I decode a Kubernetes secret value?

Yes, any Base64 value works, paste just the value.

Why is there an error saying the Base64 is not valid?

It has characters outside the Base64 alphabet, usually a stray quote, a comma or whitespace from copying.

More in URL and Base64

All tools →