Welcome to Syntax.js

A powerful code syntax highlighter. With tabbed views, and tons of settings, Syntax.js can be tailored to suit your every need. Lightweight.

Download Now

v2.5.0 - 29th Mar 2024
Main Features
Free, open source (MIT License)
Zero-dependencies!
Fully configurable, with custom triggers and configurable text (allowing translations).
Tabs, which allows multiple syntax examples in the same view.
Copy and printing.
Aliases allow different language names to be used for the same language.
Unknown language, which will show the full render, but without highlighting.
Preview
Latest News:

The core of the new website is now completed. However, we will continue to add new examples and documentation over the coming months.

Thank you all for your continued support.