Base64 to XML screenshot

Base64 to XML

Decode Base64 back to an XML document in your browser. URL-safe characters are accepted; invalid UTF-8 is reported.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What decoding Base64 as XML does

Whitespace is ignored, padding is optional, and the URL-safe characters - and _ stand in for + and /, so a value copied from a query string or a JWT decodes without editing. The bytes are then decoded as strict UTF-8 and printed as text; a byte sequence that is not valid UTF-8 is reported rather than replaced, because an XML document with a corrupted attribute is worse than an error. Well-formedness is a separate check.

How to use it

Base64 to XML: paste the Base64 into the box above, and press Run to get the XML below.

Worked example

Input:

PG5vdGUgdG89IkFkYSI+Y2Fmw6k8L25vdGU+

Output:

<note to="Ada">café</note>

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads Base64 and returns XML; reloading the page discards both.

Whitespace is ignored, padding is optional, and the URL-safe characters - and _ stand in for + and /, so a value copied from a query string or a JWT decodes without editing. The bytes are then decoded as strict UTF-8 and printed as text; a byte sequence that is not valid UTF-8 is reported rather than replaced, because an XML document with a corrupted attribute is worse than an error. Well-formedness is a separate check.

Decode Base64 back to an XML document in your browser. URL-safe characters are accepted; invalid UTF-8 is reported.

How to use it

Base64 to XML: paste the Base64 into the box above, and press Run to get the XML below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads Base64 and returns XML; reloading the page discards both.

What to Expect

Best for

  • Converting Base64 to XML when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

PG5vdGUgdG89IkFkYSI+Y2Fmw6k8L25vdGU+

Sample output

<note to="Ada">café</note>

Frequently asked questions

How do I use the base64 to xml?

Base64 to XML: paste the Base64 into the box above, and press Run to get the XML below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.