Remove Comments

Strip line and block comments from source code while leaving strings untouched. Pick a language and paste your code.

0 chars
0 chars

How to use Remove Comments

  1. Choose the language of your code.
  2. Paste your code in the Input box. Comments are removed as you type.
  3. Copy the cleaned code from the Output box.

Your data stays with you

This tool runs entirely in your browser. What you paste or add is never uploaded to our server.