Highlight : Convert Source Code to Color Syntax Highlighted Files

If you are a professional computer programmer, web developer or a student studying programming then in all of these cases you might have to create documents with properly formatted source code inside it. For example, when you submit your assignments on various sorting methods available in a computer language like PHP or Python, then you may want to create a Microsoft Document or PDF document containing snippets of these codes in it.

To make these documents readable, interesting and having properly formatted source codes, you can use the free Highlight program. It is able to convert source code to HTML, XHTML, RTF, LaTeX, TeX, SVG, BBCode and terminal escape sequences with colored syntax highlighting. You can either save the formatted and highlighted code to various files or copy it to clipboard so that you can paste it in your documents.

Highlight is available for Mac OS, Windows and various Linux distributions. It is available both in an a setup installer package as well as a portable program. In either case, you have to launch Highlight and add one or more than one input source code files. After this you have to choose an output folder where the formatted files will be saved.


In the settings, you can pick the output format from HTML, XHTML, RTF, LaTeX, TeX, SVG etc. As you choose the output format, it changes the available options so that you can customize the specific format settings. As far as the highlighting is concerned, you can pick a color theme, choose a formatting style, opt for lower case or upper case keywords (e.g., whether to use “TRUE” or “true”), line wrapping and the font name or size.

After customizing all these options, you can either click on the Convert files to apply the formatting and color syntax highlighting and save the files to the selected folder or you can choose to Copy file to clipboard. The latter option is great for copy/pasting the code in other documents like Microsoft Word documents or HTML documents.

You can download Highlight color syntax highlighter program from http://www.andre-simon.de/.

Leave a Reply

Your email address will not be published. Required fields are marked *