Skip to content

Syntax Highlight

sbarex · A macOS Quick Look extension that previews source files with syntax highlighting, configurable themes and file-format mappings.

CaskUtilitiesAuto-updates 4.4K
Install command
brew install --cask syntax-highlight
30-day installs
625
#384 in App
1-year installs
8K
Last 365 days
Latest version
2.1.32
Download size
15MB
zip
Release cadence
Irregular
0 releases in 30 days

About

Syntax Highlight is a macOS Quick Look extension for previewing source-code files with syntax coloring. It suits developers who want to inspect code from Finder without opening a full editor, with a companion application for choosing preview behavior.

Features

  • Render supported source files in Quick Look with syntax highlighting.
  • Customize rendering settings, color themes and file-format mappings.
  • Preview plain-text files with configurable presentation.
  • Use supported language-server and version-control integrations.
  • Inspect rendering information and manage extension settings in the companion app.

Setup and compatibility

The current release requires macOS 12 or later. The project describes the release application as a Universal build for Intel and Apple Silicon. Launch the application at least once so macOS can discover its extension, then enable the Quick Look extension in the appropriate system settings. Older systems need an older compatible release rather than assuming every current feature is available.

The application is distributed as an open-source project with precompiled downloads and optional donations. Previewing a file does not compile or execute its source code. External language servers and other integrations are separate tools; install and configure only those you trust, and check their requirements before enabling them. File-format coverage depends on the version and its configured definitions.

Sources: Official project README, Official release history.

At a glance

System
macOS 12 or later
Chip
Apple silicon · Intel
Auto-updates
Yes
Repository
Open source · GPL-3.0 · Updated 67 days ago★4.4K
Developer
sbarex
Homebrew
Available; the app updates itself
Also known as
syntax-highlight
Homepage
github.com/sbarex/SourceCodeSyntaxHighlight
Token
syntax-highlight

Checked

What’s new in 2.1.32

New · OpenNavo editorial

Fixes the empty settings-window regression from 2.1.31.

How to install Syntax Highlight on Mac

Homebrew installs the app in your Applications folder.

Install without Homebrew

Download the same file Homebrew uses: Install Details

Uninstall Syntax Highlight and optional data cleanup

Uninstall command
brew uninstall --cask syntax-highlight

A regular uninstall removes the app and keeps its settings and caches.

Deep clean (optional)
Uninstall command
brew uninstall --zap --cask syntax-highlight

--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.

Questions about Syntax Highlight

Is Syntax Highlight safe?

Syntax Highlight is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 625 times through Homebrew in the last 30 days.

Is Syntax Highlight open source?

Syntax Highlight’s source code is public on GitHub (sbarex/SourceCodeSyntaxHighlight) under the GPL-3.0 license.

How do I completely uninstall Syntax Highlight on a Mac?

Run brew uninstall --cask syntax-highlight. To delete its settings and caches as well, run brew uninstall --zap --cask syntax-highlight. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes 11 files and folders, including ~/Library/Application Support/Syntax Highlight.

Does Syntax Highlight run on Apple silicon (M1 and later) Macs?

Homebrew installs it on both Apple silicon and Intel Macs, from the same download. It needs macOS 12 or later.

Where does Syntax Highlight store its settings and data?

Its settings are in ~/Library/Preferences/org.sbarex.SourceCodeSyntaxHighlight.plist. Its data is in ~/Library/Application Support/Syntax Highlight, ~/Library/Containers/org.sbarex.SourceCodeSyntaxHighlight, and ~/Library/Containers/org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension. These locations come from Homebrew’s clean-up list.

What is the latest version of Syntax Highlight?

The latest version is 2.1.32, added to Homebrew on Sep 16, 2026. Syntax Highlight updates itself; to update it with Homebrew, run brew upgrade --cask --greedy syntax-highlight.

What else does installing Syntax Highlight add?

It also adds 1 command-line tool: syntax_highlight_cli.

Similar Apps

  • PeelA macOS uninstaller and cleaner that explains app leftovers, moves selected files to the Trash and offers restore history.
  • QuickLook VideoAdd Finder thumbnails, media metadata and Quick Look previews for non-native audio and video formats on macOS.
  • eqMacSystem audio equalization and device volume control for macOS, with optional Pro parametric EQ, application mixing and Audio Unit effects.
  • macUSBNative Mac utility for creating bootable macOS, Windows and Linux USB media, with an Apple installer downloader and raw-image writing.
Browse all apps