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

YAML to JSON Converter

Paste a YAML file — a Kubernetes manifest, a GitHub Actions workflow, a docker-compose.yml — and get clean, valid JSON back. Handles nested maps, sequences and multi-line strings using the same js-yaml parser most JavaScript tooling relies on.

How to use it

  1. Paste your source into the panel — or click Sample to see it work instantly.
  2. The YAML 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

Does it support YAML anchors and aliases (&, *)?

Yes, the underlying parser resolves anchors and aliases before producing JSON output.

What happens if my YAML has a syntax error?

The source panel shows an inline error with the parser’s message so you can find and fix the exact line.

Is multi-document YAML (--- separators) supported?

This converter expects a single YAML document; split multi-document files before pasting each one in.

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