Hi

Highlight.js

JavaScript librarieshighlightjs.org

Highlight.js is a syntax highlighting library for displaying code snippets on web pages with automatic language detection. It supports over 190 programming languages and more than 240 color themes for customization. Highlight.js automatically detects the programming language in code blocks and applies appropriate syntax coloring. The library is lightweight, works without dependencies, and can be used with any markup structure. It provides both automatic initialization and manual API control for advanced use cases. Highlight.js is commonly used in documentation sites, blogs, technical tutorials, and code sharing platforms. The library is highly extensible with plugin support and custom language definitions for domain-specific languages.

Live sites
27.6k
Current snapshot
Market share
0.21%
Of tracked domains
Rank
#44
In JavaScript libraries
Adoption history
Monthly detection · All
Jul 2026 · 18,030 sitesAug 2026 · 18,052 sitesSep 2026 · 18,062 sitesOct 2026 · 24,460 sitesNov 2026 · 27,650 sites27,650 0 Jul 2026Aug 2026Sep 2026Oct 2026Nov 2026

Series filtered to 5 data points · monthly snapshots since July 2026.

Counts follow the sites we crawl. Our crawl grew sharply in October 2026, so part of that month's rise reflects coverage, not adoption.