Extract comments, TODOs, and review notes from code.
Paste source code or open a local file, then collect every comment into a clean list. Useful for code audits, documentation cleanup, TODO reviews, and privacy-safe quick checks.
A browser-based comment inspector for quick code reviews.
Most comment removers only delete text. This tool focuses on inspection first: pull out TODOs, FIXME notes, license blocks, implementation warnings, and review comments before you decide what to keep.
Extract TODOs fast
Filter for TODO, FIXME, HACK, NOTE, and REVIEW markers when you need a quick maintenance checklist.
Private by default
The parser runs in your browser, making it safer for internal snippets, interview exercises, and proprietary code samples.
Export review notes
Copy comments or download a Markdown list with line numbers for documentation cleanup or audit handoff.
Supported comment styles.
The extractor is intentionally lightweight. It recognizes the comment patterns developers most often need to inspect in pasted snippets, generated files, and small source files.
JavaScript, TypeScript, Java, C, C++, C#, Go
Supports // line comments and /* block comments */.
Python, Ruby, Shell
Supports # line comments plus common triple-quoted note blocks.
HTML and XML
Supports <!-- comment blocks --> for templates, pages, and config files.
CSS and SQL
Supports CSS block comments and SQL -- line comments.
Built for quick inspection, not compiler-grade parsing.
Code comment extraction can be surprisingly tricky because comment markers may appear inside strings, templates, regex literals, or generated code. This tool is best for quick audits, TODO reviews, documentation cleanup, and small files. For production refactors, review the stripped output before using it.
FAQ
Which languages are supported?
The MVP supports common line and block comments used in JavaScript, TypeScript, Java, C, C++, C#, Go, CSS, HTML, XML, Python, Ruby, Shell, and SQL.
Does it understand every edge case?
No lightweight browser parser is perfect. This tool is designed for quick inspection and cleanup, not compiler-grade parsing.
Can I use it to remove comments?
Yes. The second output shows a comment-stripped version of the code using the same detected comment rules.
Will private code leave my computer?
No. The extraction happens locally in the page. You can even save the page and run it offline once loaded.
Can it extract license headers?
Yes. Block comments at the top of files are included with line numbers, so license headers and file notes are easy to copy.
What is the best use case?
Use it to audit TODOs, review comments before publishing code, prepare documentation notes, or clean generated files.