Comment Scrubber
by SWC
Paste code, detect comments, choose to keep or remove, then copy in one click
Detected language
Auto detect
JavaScript or TypeScript
Python
CSS
HTML
Java
Shell or Bash
C or C++
Re-detect
Keep comments
Remove comments
Copy output
Load sample
Heads up
Mixed or complex document detected. Choose the exact language before removing comments to avoid breaking the code.
Input
Output
Detected comments
Summary