XML Base64

Encode XML as Base64 or decode Base64 payloads back to XML. Optional URL-safe alphabet and auto-format after decode.

All processing on this page runs locally in your browser unless noted otherwise.

Input

Output

How to use

  1. Paste XML (encode) or Base64 text (decode).
  2. Choose direction, URL-safe, and auto-format options.
  3. Convert (or enable live), then copy or download the result.

FAQ

Does decoding validate XML?

With auto-format on, decoded text must be well-formed XML or you get a line/column error (raw text is still shown).

Is Base64 conversion local?

Yes. Encoding and decoding never leave your browser.

Related tools