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

.env to JSON Converter

Paste the contents of a .env file and get a flat JSON object back — handy for debugging a config, documenting environment variables, or feeding them into a script. Comment lines (#) and blank lines are skipped automatically.

How to use it

  1. Paste your source into the panel — or click Sample to see it work instantly.
  2. The .env 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 export KEY=value lines?

Yes, an optional leading "export " (as used in shell-sourced env files) is stripped automatically.

Are quoted values unwrapped?

Yes, surrounding single or double quotes around a value are removed in the JSON output.

Are numbers and booleans type-coerced?

Yes — PORT=443 becomes the number 443, and DEBUG=true becomes the boolean true, not the string "true".

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