Supported Languages

Syntax Highlighting

As of version 2.5, SnippetsLab supports 584 language and text formats:

ABAP
ABNF
ActionScript
ActionScript 3
Ada
ADL
Agda
Aheui
Alloy
AmbientTalk
AMDGPU
Ampl
Angular2
ANSYS parametric design language
ANTLR
ANTLR With ActionScript Target
ANTLR With C# Target
ANTLR With CPP Target
ANTLR With Java Target
ANTLR With Objective-C Target
ANTLR With Perl Target
ANTLR With Python Target
ANTLR With Ruby Target
ApacheConf
APL
AppleScript
Arduino
Arrow
Arturo
ASCII armored
ASN.1
AspectJ
Asymptote
Augeas
AutoHotkey
AutoIt
Awk
BARE
Base Makefile
Bash
Bash Session
Batchfile
BBC Basic
BBCode
BC
Bdd
Befunge
Berry
BibTeX
BlitzBasic
BlitzMax
Blueprint
BNF
Boa
Boo
Boogie
BQN
Brainfuck
BST
BUGS
C
c-objdump
C#
C# aspx
C++
ca65 assembler
cADL
CAmkES
Cap'n Proto
CapDL
Carbon
CBM BASIC V2
CDDL
Ceylon
CFEngine3
cfstatement
ChaiScript
Chapel
Charmci
Cheetah
Cirru
Clay
Clean
Clojure
ClojureScript
CMake
COBOL
COBOLFree
CoffeeScript
Coldfusion CFC
Coldfusion HTML
COMAL-80
Common Lisp
Component Pascal
Coq
cplint
cpp-objdump
CPSA
Crmsh
Croc
Cryptol
Crystal
Csound Document
Csound Orchestra
Csound Score
CSS
CSS+Django/Jinja
CSS+Genshi Text
CSS+Lasso
CSS+Mako
CSS+mozpreproc
CSS+Myghty
CSS+PHP
CSS+Ruby
CSS+Smarty
CSS+UL4
CUDA
Cypher
Cython
D
d-objdump
Darcs Patch
Dart
DASM16
Dax
Debian Control file
Debian Sourcelist
Delphi (Pascal)
Devicetree
dg
Diff
Django/Jinja
DNS Zone
Docker
DTD
Duel
Dylan
Dylan session
DylanLID
E-mail
Earl Grey
Easytrieve
EBNF
eC
ECL
Eiffel
Elixir
Elixir Console Session
Elm
Elpi
EmacsLisp
Embedded Ragel
ERB
Erlang
Erlang Shell Session
Evoque
execline
Ezhil
F#
Factor
Fancy
Fantom
Felix
Fennel
Fift
Fish
Flatline
FloScript
Forth
Fortran
FortranFixed
FoxPro
Freefem
FStar
FunC
Futhark
g-code
GAP
GAP session
GAS
GDScript
Genshi
Genshi Text
Gettext Catalog
Gherkin
GLSL
Gnuplot
Go
Golo
GoodData-CL
Gosu
Gosu Template
GraphQL
Graphviz
Groff
Groovy
GSQL
Haml
Handlebars
Haskell
Haxe
Hexdump
HLSL
HSAIL
Hspec
HTML
HTML + Angular2
HTML+Cheetah
HTML+Django/Jinja
HTML+Evoque
HTML+Genshi
HTML+Handlebars
HTML+Lasso
HTML+Mako
HTML+Myghty
HTML+PHP
HTML+Smarty
HTML+Twig
HTML+UL4
HTML+Velocity
HTTP
Hxml
Hy
Hybris
Icon
IDL
Idris
Igor
Inform 6
Inform 6 template
Inform 7
INI
Io
Ioke
IRC logs
Isabelle
J
JAGS
Janet
Jasmin
Java
Java Server Page
JavaScript
JavaScript+Cheetah
JavaScript+Django/Jinja
JavaScript+Genshi Text
JavaScript+Lasso
JavaScript+Mako
JavaScript+mozpreproc
JavaScript+Myghty
JavaScript+PHP
JavaScript+Ruby
JavaScript+Smarty
JavaScript+UL4
JCL
JMESPath
JSGF
JSLT
JSON
JSON-LD
Jsonnet
JSX
Julia
Julia console
Juttle
K
Kal
Kconfig
Kernel log
Koka
Kotlin
Kuin
Kusto
Lasso
LDAP configuration file
LDIF
Lean
Lean 4
LessCss
Lighttpd configuration file
LilyPond
Limbo
Linux desktop file
liquid
Literate Agda
Literate Cryptol
Literate Haskell
Literate Idris
LiveScript
LLVM
LLVM-MIR
LLVM-MIR Body
Logos
Logtalk
LSL
Lua
Luau
Macaulay2
Makefile
Mako
MAQL
Markdown
Mask
Mason
Mathematica
Matlab
Matlab session
Maxima
MCFunction
MCSchema
Meson
MIME
MiniD
MiniScript
MIPS
Modelica
Modula-2
MoinMoin/Trac Wiki markup
Mojo
Monkey
Monte
MOOCode
MoonScript
Mosel
mozhashpreproc
mozpercentpreproc
MQL
Mscgen
MSDOS Session
MuPAD
MXML
Myghty
MySQL
NASM
NCL
Nemerle
nesC
NestedText
NewLisp
Newspeak
Nginx configuration file
Nimrod
Nit
Nix
Node.js REPL console session
Notmuch
NSIS
NumPy
NuSMV
NVIDIA PTX
objdump
objdump-nasm
Objective-C
Objective-C++
Objective-J
OCaml
Octave
ODIN
OMG Interface Definition Language
Ooc
Opa
OpenEdge ABL
OpenSCAD
Org Mode
PacmanConf
Pan
ParaSail
Pawn
PEG
Perl
Perl6
Phix
PHP
Pig
Pike
PkgConfig
PL/pgSQL
Plain Text
Pointless
Pony
Portugol
PostgreSQL console (psql)
PostgreSQL EXPLAIN dialect
PostgreSQL SQL dialect
PostScript
POVRay
PowerShell
PowerShell Session
Praat
Procfile
Prolog
Promela
PromQL
Properties
Protocol Buffer
PRQL
PsySH console session for PHP
Pug
Puppet
PyPy Log
Python
Python 2.x
Python 2.x Traceback
Python console session
Python Traceback
Python+UL4
Q
QBasic
Qlik
QML
QVTO
R (GNU S)
Racket
Ragel
Ragel in C Host
Ragel in CPP Host
Ragel in D Host
Ragel in Java Host
Ragel in Objective-C Host
Ragel in Ruby Host
Raw token data
RConsole
Rd
ReasonML
REBOL
Red
Redcode
Regedit
Relax-NG Compact
ResourceBundle
reStructuredText
Rexx
RHTML
Ride
Rita
Roboconf Graph
Roboconf Instances
RobotFramework
RPMSpec
RQL
RSL
Ruby
Ruby shell session
Rust
SARL
SAS
Sass
Savi
Scala
Scalate Server Page
Scaml
scdoc
Scheme
Scilab
SCSS
Sed
Shen
ShExC
Sieve
Silver
Singularity
Slash
Slim
Slurm
Smali
Smalltalk
SmartGameFormat
Smarty
Smithy
SNBT
Snobol
Snowball
Solidity
Soong
Sophia
SourcePawn
SPARQL
Spice
SQL
SQL+Jinja
sqlite3con
SquidConf
Srcinfo
Stan
Standard ML
Stata
SuperCollider
Swift
SWIG
systemd
systemverilog
Tact
TADS 3
Tal
TAP
TASM
Tcl
Tcsh
Tcsh Session
Tea
teal
Tera Term macro
Termcap
Terminfo
Terraform
TeX
Text output
ThingsDB
Thrift
tiddler
Tl-b
TLS Presentation Language
Todotxt
TOML
TrafficScript
Transact-SQL
Treetop
Turtle
Twig
TypeScript
Typographic Number Theory
TypoScript
TypoScriptCssData
TypoScriptHtmlData
Typst
ucode
UL4
Unicon
Unix/Linux config files
UrbiScript
urlencoded
USD
Vala
VB.net
VB.net aspx
VBScript
VCL
VCLSnippets
VCTreeStatus
Velocity
Verifpal
verilog
VGL
vhdl
VimL
Visual Prolog
Visual Prolog Grammar
Vyper
WDiff
Web IDL
WebAssembly
WebGPU Shading Language
Whiley
Wikitext
World of Warcraft TOC
Wren
X++
X10
XML
XML+Cheetah
XML+Django/Jinja
XML+Evoque
XML+Lasso
XML+Mako
XML+Myghty
XML+PHP
XML+Ruby
XML+Smarty
XML+UL4
XML+Velocity
Xojo
Xorg
XQuery
XSLT
Xtend
xtlang
XUL+mozpreproc
YAML
YAML+Jinja
YANG
YARA
Zeek
Zephir
Zig

Language Detection

Bash
Batch
C
C#
C++
Clojure
CMake
CoffeeScript
Common Lisp
CSS
Dart
Delphi
Docker
Elixir
Erlang
Go
Groovy
Haskell
HTML
INI
Java
JavaScript
JSON
Julia
Kotlin
Lua
Makefile
Markdown
Matlab
NASM
Objective-C
OCaml
Perl
PHP
PowerShell
Prolog
Python
Ruby
Rust
S
Scala
SQL
Swift
TeX
TOML
TypeScript
VB.net
verilog
XML
YAML

Code Formatting

C
C#
C++
CSS
GraphQL
HTML
Java
JavaScript
JSON
LESS
Markdown
Objective-C
PHP
SCSS
Swift
TypeScript
YAML