Syntax Highlighter

This syntax highlighter Web application highlights your code to make it easier to read. It outputs HTML that you can paste into your own Web pages, and can optionally inline the CSS. You can also copy and paste the preview into a word processing application.

Supported Languages

  • 1C
  • Access logs
  • ARM assembler
  • AVR assembler
  • ActionScript
  • Apache
  • AppleScript
  • AsciiDoc
  • AspectJ
  • AutoHotkey
  • AutoIt
  • Axapta
  • Bash
  • Basic
  • Brainfuck
  • C#
  • C++
  • C/AL
  • Cache Object Script
  • CMake
  • CSP
  • CSS
  • Cap’n Proto
  • Clojure
  • CoffeeScript
  • Crmsh
  • Crystal
  • D
  • DNS Zone file
  • DOS
  • Dart
  • Delphi
  • Diff
  • Django
  • Dockerfile
  • DTS (Device Tree)
  • Dust
  • Elixir
  • Elm
  • Erlang
  • F#
  • FIX
  • Fortran
  • G-Code
  • Gams
  • GAUSS
  • Gherkin
  • Go
  • Golo
  • Gradle
  • Groovy
  • HTML, XML
  • HTTP
  • Haml
  • Handlebars
  • Haskell
  • Haxe
  • Ini
  • Inform7
  • IRPF90
  • JSON
  • Java
  • JavaScript
  • Lasso
  • Less
  • Lisp
  • LiveCode Server
  • LiveScript
  • Lua
  • Makefile
  • Markdown
  • Mathematica
  • Matlab
  • Maxima
  • Maya Embedded Language
  • Mercury
  • Mizar
  • Mojolicious
  • Monkey
  • Moonscript
  • NSIS
  • Nginx
  • Nimrod
  • Nix
  • OCaml
  • Objective C
  • OpenGL Shading Language
  • OpenSCAD
  • Oracle Rules Language
  • Oxygene
  • PF
  • PHP
  • Parser3
  • Perl
  • PowerShell
  • Processing
  • Prolog
  • Protocol Buffers
  • Puppet
  • Python
  • Python profiler results
  • Q
  • QML
  • R
  • RenderMan RIB
  • RenderMan RSL
  • Roboconf
  • Ruby
  • Rust
  • SCSS
  • SQL
  • STEP Part 21
  • Scala
  • Scheme
  • Scilab
  • Smali
  • Smalltalk
  • Stan
  • Stata
  • Stylus
  • Swift
  • Tcl
  • TeX
  • Thrift
  • TP
  • Twig
  • TypeScript
  • VB.Net
  • VBScript
  • VHDL
  • Vala
  • Verilog
  • Vim Script
  • x86 Assembly
  • XL
  • XQuery
  • Zephir