Software guide · Developer Toolchains

What is GNU Source-highlight?

GNU Source-highlight is made by Free Software Foundation (GNU Project). A command-line utility that converts source files into formatted documents with syntax highlighting, supporting customizable styles and multiple output formats such as HTML/XHTML, LaTeX, Texinfo/DocBook, and ANSI color escape sequences. Language support is driven by external definition files so it can be extended without recompiling, and it also ships a C++ highlighting library.

1 in 10large enterprise estates Samplify has analysed run GNU Source-highlight.
337tools in its category turn up across those estates.See the category
5core features, listed below.
01

What GNU Source-highlight does

A command-line utility that converts source files into formatted documents with syntax highlighting, supporting customizable styles and multiple output formats such as HTML/XHTML, LaTeX, Texinfo/DocBook, and ANSI color escape sequences. Language support is driven by external definition files so it can be extended without recompiling, and it also ships a C++ highlighting library.

  • Command-line conversion of source files into syntax-highlighted documents
  • Multiple output formats including HTML/XHTML, LaTeX, Texinfo/DocBook, and ANSI color escape sequences
  • Configurable themes/styles (e.g., colors and text styles) via configuration files
  • Extensible language highlighting via external language definition files
  • Includes a C++ highlighting library

Category: Integrated Development Environment (IDE) Software. GNU Source-highlight is open source and free to use.

02

What teams use it for

  • Generate syntax-highlighted code snippets for web pages (HTML/XHTML)
  • Produce highlighted code listings for technical documentation or print/PDF workflows (LaTeX/Texinfo/DocBook)
  • Render highlighted code in terminals using ANSI color output
03

What it overlaps with

These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.

04

Questions buyers ask

What does GNU Source-highlight do?

A command-line utility that converts source files into formatted documents with syntax highlighting, supporting customizable styles and multiple output formats such as HTML/XHTML, LaTeX, Texinfo/DocBook, and ANSI color escape sequences. Language support is driven by external definition files so it can be extended without recompiling, and it also ships a C++ highlighting library.

How common is GNU Source-highlight in large enterprises?

Samplify finds GNU Source-highlight in about 1 in 10 of the large enterprise software estates it has analysed.

Is GNU Source-highlight free?

GNU Source-highlight is open source and free to use.

What can replace GNU Source-highlight?

Other tools in the same category include Notepad++, PyCharm, Visual Studio, Azure Data Studio.

Do we already own something that does what GNU Source-highlight does?

Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.

→

Paying twice for the same job?

Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.

Take the assessmentHow Samplify works
05

Where this comes from

Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with Free Software Foundation (GNU Project).