Syntax highlighting JavaScript
This will syntax highlight JavaScript code. The highlighting is based on patterns, it will not test for valid JavaScript. Put your code into the box, and tell it to syntax highlight. It may take a little while to highlight large amounts of code, be patient and let it finish.
The output format is HTML - designed so that you can create a Web page displaying your code.
Highlight your code
To see the script license and check details like browser compatibility, use the links on the navigation panel at the top of this page.