Source Code Comment Remover

Input your source code
Output

This is a generator that automatically removes comments from source code. Please enter your source code in the “Enter Source Code” field above. Loading from a file is also supported. Then, set the language for the program and press the “Remove Comments” button. The source code will be output with all comments removed, which you can then copy or save as a file.

目次

Example

When you have the source code like below:

Copied!
#substitute hello for str
str = hello

#output hello
print(str)

the output will be :

Copied!
str = hello
print(str)

最新情報をチェックしよう!