Result stream
Key features
• Beautify tab indents code with two spaces per block. • Minify tab removes whitespace to reduce payloads. • Comment stripping keeps the JSON and inline script contexts valid.
Logic snapshot
We strip comments via regex, validate bracket balance, then either collapse whitespace or apply a simple indentation pass.
Use cases
• Clean up inline scripts for SCADA dashboards. • Minify PLC portal widgets before deploying over low bandwidth links. • Ensure consistent formatting when sharing snippets in tickets.