Syntax Highlight for MAC

Free, open-source Quick Look extension for Mac that previews source code files with syntax highlighting, themes and version control markers.

Syntax Highlight Overview

Syntax Highlight adds syntax highlighting to Quick Look on the Mac. Select a source code file in the Finder, press Space and you see it with colors for keywords, strings and comments instead of plain text. Most programming languages are supported, along with many configuration, script and markup formats, and the app can also preview plain files that have no extension. Inside, it uses the Highlight engine by André Simon to render the code.

The standalone app is where you change how previews look: global rendering settings for all formats, overrides for single formats, color themes, and advanced options such as an external Language Server for a format. You can turn on version control support to mark lines added, changed or removed since the last Git or Mercurial commit. Syntax Highlight is made by sbarex, is free and open source under the GPL-3.0 license, and the precompiled app is signed and notarized. After installing it, launch the app once so macOS registers the Quick Look extension. Version 2.1.32 needs macOS 12 or later; 2.1.30 is the last version for macOS 10.15 and 11. It is a universal app for Apple Silicon and Intel.

Key Features

Syntax Highlight makes Quick Look useful for code.

  • Quick Look previews: source files with syntax highlighting when you press Space.
  • Many languages: most programming languages plus config, script and markup files.
  • Themes: choose the colors used for the preview.
  • Per-format settings: override the global rendering options for single formats.
  • Version control: mark lines added, edited or removed since the last commit.
  • Language Servers: advanced users can use an external Language Server per format.
  • Plain files: preview files without an extension, with a hex dump for binary data.
  • Indent guides: optional indent guide lines in the preview.

What’s New in Version 2.1.32

Syntax Highlight 2.1.32 fixes a settings bug and builds on 2.1.31.

  • Fixed the empty settings window bug from 2.1.31
  • Updated Highlight to 4.21 and Lua to 5.5.1 (2.1.31)
  • Optional indent guide lines (2.1.31)
  • New file support: .robot, .gpx, .mill, Babashka .bb, OpenSCAD .scad, .env files and native Svelte (2.1.31)

Syntax Highlight FAQ

Is Syntax Highlight free?

Yes. Syntax Highlight is free and open source under the GPL-3.0 license.

What does Syntax Highlight do?

It adds a Quick Look extension that shows source code files with syntax highlighting when you select them in the Finder and press Space.

Why do my code files still preview as plain text?

Launch Syntax Highlight at least once after installing it, so macOS detects its Quick Look extension, and make sure the extension is enabled.

Which macOS version does Syntax Highlight need?

Version 2.1.32 needs macOS 12 or later. For macOS 11 and 10.15, the latest compatible version is 2.1.30.

Does Syntax Highlight run on Apple Silicon?

Yes. It is a universal app for Apple Silicon and Intel Macs.

Is the app signed and notarized?

Yes. The developer says the precompiled app is code-signed and notarized.

Can I change the colors of the preview?

Yes. The standalone app lets you pick color themes and rendering settings for all formats, and override them for single formats.

Can it show Git changes in the preview?

Yes. With version control support turned on, it marks lines added, edited or removed since the last Git or Mercurial commit.

Can I install Syntax Highlight with Homebrew?

Yes. Run brew install --cask syntax-highlight.

Where does the Syntax Highlight download on syntax-highlight.FULLMAC.app come from?

The download button leads to the official Syntax Highlight releases on GitHub, https://github.com/sbarex/SourceCodeSyntaxHighlight/releases/latest. syntax-highlight.FULLMAC.app does not change or repackage the app.

Similar Apps

FULLMAC.app does not host this app. Download buttons lead to the developer’s own pages.