devtools
Local developer utility

XML to String

Encode XML markup as a quoted JSON string. Your input stays in your browser while you work.

XML to String🔒 Processed locally

How to use XML to String

Complete the labeled fields above, choose an action, and inspect the result before copying or downloading it.

Processing runs locally in this browser. No input is uploaded or sent to a conversion service.

Inputs

  • XML document