Code cleanup, runs in your browser
Paste corrupted code. Get clean code back.
Fixes copy-paste damage like smart quotes, invisible characters, and mixed line endings, then runs a real formatter and tells you exactly what changed, and why.
Paste code on the left to see the cleaned result here.
Paste code to see what was fixed and flagged.
What this is: a character sanitizer, formatter, and syntax check. It fixes corrupted characters and structural formatting, and it surfaces real syntax errors when the formatter cannot parse your code. What it is not: a bug finder or a test runner. A clean result means no corruption and no syntax error were found. It does not mean the logic is correct, and it is not a substitute for testing.