From Free Software Directory
This is the approved revision of this page; it is not the most recent. View the most recent revision.
Jump to: navigation, search

Converts source code to HTML

'code2html' converts source code to syntax highlighted HTML. It may be called from the command line or as a CGI script. It can also handle include commands in HTML files. Currently supports: Ada 95, C, C++, diff files, gpasm, HTML, Java, JavaScript, Lisp, Makefile, Pascal, Perl, Python, shell, SQL, AWK, M4, and Groff.


User manpage included


version 0.9.1 (stable)
released on 14 January 2002

VCS Checkout


Related Projects

  • Webcpp
  • Highlight
  • Source2html


LicenseVerified byVerified onNotes
X11Janet Casey26 October 2001

Leaders and contributors

Peter Palfrader Maintainer
See the CREDITS file in the distribution for a complete list Contributor

Resources and communication

AudienceResource typeURI
DeveloperMailing List Info/Archive
Debian (Ref)
DeveloperVCS Repository Webview
Bug TrackingVCS Repository Webview

Software prerequisites

Required to usePerl

This entry (in part or in whole) was last reviewed on 8 February 2018.


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.