8000 GitHub - BaseMax/CommentStripper: CommentStripper is a web-based tool to remove comments from code in various languages. Simply paste your code, select a language preset, and instantly remove line and block comments.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CommentStripper is a web-based tool to remove comments from code in various languages. Simply paste your code, select a language preset, and instantly remove line and block comments.

License

Notifications You must be signed in to change notification settings

BaseMax/CommentStripper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommentStripper

CommentStripper is a simple web-based tool that allows you to remove comments from code in multiple programming languages. It supports a wide range of languages and provides configurable options for different types of comments (e.g., line comments, block comments, etc.). You can simply paste your code, choose the desired preset for the language you're working with, and remove the comments instantly.

Features

  • Removes line and block comments from various programming languages.
  • Supports customizable comment delimiters (line comments, block start, and block end).
  • Includes presets for popular programming languages (e.g., C, Java, Python, PHP, JavaScript, etc.).
  • Dynamic button generation for easy preset selection.
  • Simple and intuitive interface to paste and clean your code.
  • Trim Whitespace at End of Lines

Supported Languages

  • C/C++/C#
  • PHP
  • Java
  • JavaScript
  • Python
  • HTML
  • CSS
  • SQL
  • MATLAB
  • Ruby
  • Swift
  • Assembly

Installation

You can use this tool directly from the web without the need for installation. Simply clone the repository or download the code and open the index.html file in your browser.

Alternatively, you can deploy it to any static file hosting service like GitHub Pages, Netlify, or Vercel.

To clone the repository:

git clone https://github.com/BaseMax/CommentStripper.git

Usage

  • Paste your code into the "Input Code" section.
  • Select your language preset from the "Presets" section, or customize the comment delimiters as needed.
  • Click the Remove Comments button.

The processed code will appear in the "Output Code" section, free of comments.

Contributing

If you have any ideas or improvements, feel free to open an issue or submit a pull request. Contributions are welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For questions, suggestions, or feedback, you can reach out to Max Base at BaseMax.

Copyright

© 2025 Max Base

About

CommentStripper is a web-based tool to remove comments from code in various languages. Simply paste your code, select a language preset, and instantly remove line and block comments.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0