Remove Comments from C

Strip comments from C code.

100% Private — Nothing is Uploaded

All processing happens locally in your browser. Your files never leave your device and are never sent to any server.

Other languages

Remove C Comments

C supports both // line comments and /* ... */ block comments. This tool strips them all using a smart tokenizer that respects string literals and character constants — a // inside "http://" or a /* inside a char '*' is never touched.

Why remove C comments?

  • Smaller binaries — comments are stripped before compilation anyway.
  • Cleaner source distribution — remove internal notes.
  • Privacy — no leftover developer remarks.