Code Syntax Highlighter

Paste some code into the top box, select a language from the list, and click 'Go'. The syntax highlighter will convert the code into HTML, preserving indentation and whitespace, escaping entity characters, and colouring language keywords, comments and string literals. The rendered version of the code, the generated HTML source code, and the CSS rules, will be shown in lower box. Online version of this utility, complete with latest updates can be found on the Codebox Software website


Result
Source
CSS