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

v3.1.0 - 6th Sep 2024
Main Features
Free, open source (MIT License)
Zero-dependencies!
Written in TypeScript, allowing greater support for React, Angular, and other libraries!
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.
Ideas
Looking for a JSON syntax highlighter? Check this out!
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.