If you enjoyed this article, get email updates (it's free).
Join over 77,235 Subscribers Today.
If you are programmer or actually if you at least have some basic coding skills, you’ll find this article useful. For example just look at this page source – without highlighting that whole code is just a bunch of plain black text and it is really hard to find specific things if everything looks the same. Thankfully there are many highlighting scripts available, for example Notepad++ also supports and highlights different code snippets. These code syntax highlighters actually are doing mainly the same thing, but with more options, big coding language support, better integration – really in our days you just need to choose one – there are too many tools available anyway.
Use these syntax highlighters in daily coding or just in cases where you are sharing code with friends, want to add that code in your blog post (by the way there is SyntaxHighlighter WordPress plugin available too) or just want to rapidly read and maintain it – use online syntax highlighters in that case and pick your favorite one from this article!
I definitely think this syntax highlighter tool should be your choice – this tool is supported very well and offers many options, extensions and integrations with other programs and platforms, but however I want to offer you other tools too to choose from.
SyntaxHighlighter is here to help a developer/coder to post code snippets online with ease and have it look pretty. It’s 100% Java Script based and it doesn’t care what you have on your server.
The idea behind SyntaxHighlighter is to allow insertion of colored code snippets on a web page without relying on any server side scripts. SyntaxHighlighter isn’t for those looking for ability to edit highlighted code.
Extensions & Integration – check out this page too, because you can find there WordPress extensions, Ruby on Rail plugins and much more integration extensions, should be handy!
GeSHi supports PHP5 and Windows, and has even been used to highlight code on ASP pages, it really supports and highlights almost every coding language, you should check out his website to read more – very powerful tool!
GeSHi aims to be a simple but powerful highlighting class, with the following goals:
Doesn’t get any easier than this to create a web page from your source code. This online highlighter tool offers many coding languages you can choose to highlight together with several options, you can check/uncheck before highlighting code:
Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code.
Pygments supports an ever-growing range of languages, you can check full list supported language listing here
Highlight.js highlights syntax in code examples on blogs, forums and in fact on any web pages. It’s very easy to use because it works automatically: finds blocks of code, detects a language, highlights it.
There isn’t available actual demo page just download link, but it is very easy to use this highlighter as all others by the way.
This editor offers several features like real-time syntax highlighting, code snippets, auto completion and multiple windows. Check out their website to see online demo version.
Demo page and download links are on the same first page.
Chili is the jQuery code highlighter plugin which is very fast highlighting, trivial setup, fully customizable, thoroughly documented and MIT licensed.
Highlight converts source code to formatted text with syntax highlighting:
BeautyOfCode is using Syntaxhighlighter as a base, but this plugin enables xhtml compliant syntax in beautiful way.
Ultraviolet is a syntax highlighting engine based on Textpow – you must install it to use Ultraviolet first. Since it uses Textmatesyntax files, it offers out of the box syntax highlighting for more than 50 languages and 20 themes. Ultraviolet is at the same time a stand-alone command line utility and a Rubylibrary.
Download and demo links are all in the same page.
The output format is HTML – designed so that you can create a Web page displaying your code. I enjoyed how this tool really displays code in very clean way!
Of course there are also many programs with already built in syntax highlighting support, but these online versions and JS scripts offer bigger control over highlighting and flexibility.
Join over 77,235 Subscribers Today.
Dainis is 25 years young man, who struggled for 3 years while studying in design academy and working for local design agency, because of ignorant teachers and agency boss. He couldn't believe this is all life could offer to him! And then he discovered true Internet possibilities, he was lucky to find his passion early in life and take advantage of this beautiful Information (Internet) Age! Now he is committed to help others succeed, to help others take charge of their life and follow their passion! His goal is to open Your eyes and help unveil Your true potential!