Search for a tool
HTML Comments

Tool to read and extract HTML comments from source code or web page automatically (Javascript/CSS comments included)

Results

HTML Comments -

Tag(s) : Informatics

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'HTML Comments' tool for free! Thank you!

HTML Comments

Comments Extractor

From a source code



Answers to Questions (FAQ)

What is an HTML comment?

A comment in HTML is a message indicated between tags <!-- and --> which is intended for a reader of the HTML source code of a web page.

Example: <!-- HTML comment -->

What is a Javascript comment?

A Javascript comment is a message indicated between the characters '/ *' and '* /' or following the characters // in a source code in Javascript.

Example: /* Javascript comment 1 */

Example: // Javascript comment 2

What is a CSS comment?

A CSS comment is a message indicated between the characters '/ *' and '* /' in a style sheet source code.

Example: /* CSS comment */

Why reading or extracting comments?

Comments are normally deleted when the pages are put into production, and intended only for people developing them, detecting them allows them to be deleted.

Comments can be a way to leave a hidden message, because they are not visible on a web page, at least not visible without accessing the source code.

Source code

dCode retains ownership of the "HTML Comments" source code. Any algorithm for the "HTML Comments" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "HTML Comments" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "HTML Comments" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "HTML Comments" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source. Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link: https://www.dcode.fr/html-comments
In a scientific article or book, the recommended bibliographic citation is: HTML Comments on dCode.fr [online website], retrieved on 2025-04-16, https://www.dcode.fr/html-comments

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'HTML Comments' tool for free! Thank you!


https://www.dcode.fr/html-comments
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback