Code Transformer & LLM Sanitizer

transform.ignlab.net

100% Local Processing • Zero Data Transmitted • Safe for Proprietary Code
Mode
AI Safeguard {{ redactions.length }} redacted
Indent
No history yet — copy or download a result to save it here.
Source {{ activeMode.from }} detected: {{ detectedLabel }}
Drop file to load…
{{ inputGutter }}
{{ inputError }} {{ stats.in.lines }} lines · {{ stats.in.chars }} chars · {{ stats.in.bytes }}
Output {{ activeMode.to }}
{{ output }}{{ outputError ? '' : 'Transformed output appears here…' }}
⚠ {{ outputError || copyError }} {{ stats.out.lines }} lines · {{ stats.out.chars }} chars · {{ stats.out.bytes }}
🛡 Sanitizer redacted {{ redactions.length }} sensitive item{{ redactions.length===1?'':'s' }} before transforming
{{ r.name }} ×{{ r.count }}

JSON to XML Converter

Paste JSON and get well-formed XML back, useful for feeding legacy SOAP APIs, RSS-adjacent formats, or config systems that still expect XML. Objects become nested elements and array items repeat the same tag name in sequence.

How to use it

  1. Paste your source into the panel — or click Sample to see it work instantly.
  2. The JSON to XML mode is pre-selected for you.
  3. Copy or download the result — nothing is ever uploaded, it's all done locally in your browser.

Frequently asked questions

How are array values represented?

Each array item is rendered as a repeated element with the same tag name as its parent key, one after another.

What happens to keys that aren’t valid XML tag names?

Keys that can’t be used as an XML element name (e.g. starting with a digit) fall back to a generic tag so the output still parses.

Can I control the indentation?

Yes, the Indent control (2/4 spaces or tab) applies to the generated XML the same way it does for JSON output.

Need a different conversion? Browse all conversions, sanitize secrets with AI Safeguard, or read the guides.