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