FertiJourney Dev Tools 🏠← All tools

Universal Code Tidy

Convert tabs/spaces, trim trailing whitespace, collapse blank lines and strip comments for any language — 100% in your browser.

Paste code, choose Tab→Space or Space→Tab with an indent width, and toggle trim trailing whitespace, collapse blank lines or strip comments. Click Tidy. This is a safe text-level cleanup (no AST parsing), so it works on any language. Comment stripping removes // and # line comments and /* */ blocks — review output for code where # appears in strings.