JSFormat JS Formatter
Comment Stripper 100% CLIENT-SIDE

Finds comments with the tokenizer, so "http://x", a template containing // and a regex like /\/\// are left alone. After removal the code tokens are compared with the original, and if the input compiled, the output must too; otherwise nothing is changed and the reason is shown.

JavaScript
Without comments

More from JSFormat

Guides

All tools →All 2 guides →

Developer Sponsor / Partner
Copied to clipboard!