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 }}

XML to JSON Converter

Paste XML — an RSS feed fragment, a SOAP response, a config file — and get clean JSON back. Repeated sibling elements are automatically collapsed into a JSON array, and leaf text values are coerced to numbers or booleans where they clearly are one.

How to use it

  1. Paste your source into the panel — or click Sample to see it work instantly.
  2. The XML to JSON 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 does it decide a group of elements is an array?

When multiple sibling elements share the same tag name, they’re combined into a JSON array under that tag; a single occurrence stays a plain object field.

What if my XML has attributes?

This converter reads element text and nested elements; attribute-heavy XML (e.g. ) will have attributes ignored in the current version.

What happens on invalid XML?

The browser’s own XML parser validates the input and the specific parse error is shown if the document is malformed.

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