Skip to content
AutomationHub
back to tool directory

CodeJanitor

// tabs, spaces, 21.5-space indents — pick a standard, it enforces it. layout only, logic untouched, warranty still void

automationhub — ~/tools/code-janitor

messy input

// drag & drop a file anywhere on this terminal — it reads the text and starts cleaning automatically.

it touches layout only — indentation, blank lines, trailing whitespace, brace placement. it does not rewrite logic. it does not fix bugs. it does not care about your variable names, which is a kindness.

output — the janitor's work (click to copy)
lines
—
indent found
—
braces
—
trailing ws
—
blank lines
—
soft-wrapped
—