Free online utilities to convert,
calculate, and transform.
 

Code Highlight

This syntax highlighting tool automatically applies color to the code pasted in the input field based on the selected language and theme, making the code more readable and visually appealing.


Paste your code:
Select Language:
  • Auto
  • 1C
  • Access log
  • ActionScript
  • Ada
  • Apache
  • AppleScript
  • Arduino
  • ARM Assembly
  • AsciiDoc
  • AspectJ
  • AutoHotkey
  • AutoIt
  • AVR Assembler
  • Axapta
  • Bash
  • Basic
  • Backus–Naur Form
  • Brainfuck
  • C/AL
  • Cap’n Proto
  • Ceylon
  • Clojure REPL
  • Clojure
  • CMake
  • CoffeeScript
  • Coq
  • Caché Object Script
  • C++
  • crmsh
  • Crystal
  • C#
  • CSP
  • CSS
  • D
  • Dart
  • Delphi
  • Diff
  • Django
  • DNS Zone file
  • Dockerfile
  • DOS .bat
  • dsconfig
  • Device Tree
  • Dust
  • Elixir
  • Elm
  • ERB (Embedded Ruby)
  • Erlang REPL
  • Erlang
  • Excel
  • FIX
  • Fortran
  • F#
  • GAMS
  • GAUSS
  • G-code (ISO 6983)
  • Gherkin
  • GLSL
  • Go
  • Golo
  • Gradle
  • Groovy
  • Haml
  • Handlebars
  • Haskell
  • Haxe
  • HSP
  • HTML
  • HTMLBars
  • HTTP
  • Inform 7
  • Ini
  • IRPF90
  • Java
  • JavaScript
  • JSON
  • Julia
  • Kotlin
  • Lasso
  • LDIF
  • Less
  • Lisp
  • LiveCode
  • LiveScript
  • Linden Scripting Language
  • Lua
  • Makefile
  • Markdown
  • Mathematica
  • Matlab
  • Maxima
  • MEL
  • Mercury
  • MIPS Assembly
  • Mizar
  • Mojolicious
  • Monkey
  • MoonScript
  • Nginx
  • Nimrod
  • Nix
  • NSIS
  • Objective-C
  • OCaml
  • OpenSCAD
  • Oxygene
  • Parser3
  • Perl
  • pf
  • PHP
  • Pony
  • PowerShell
  • Processing
  • Python profile
  • Prolog
  • Protocol Buffers
  • Puppet
  • PureBASIC
  • Python
  • Q
  • QML
  • R
  • RenderMan RIB
  • Roboconf
  • RenderMan RSL
  • Ruby
  • Oracle Rules Language
  • Rust
  • Scala
  • Scheme
  • Scilab
  • SCSS
  • Smali
  • Smalltalk
  • SML
  • SQF
  • SQL
  • Stan
  • Stata
  • STEP Part 21
  • Stylus
  • Swift
  • Tagger Script
  • Test Anything Protocol
  • Tcl
  • TeX
  • Thrift
  • TP
  • Twig
  • TypeScript
  • Vala
  • VB.NET
  • VBScript in HTML
  • VBScript
  • Verilog
  • VHDL
  • Vim Script
  • Intel x86 Assembly
  • XL
  • XML
  • XQuery
  • YAML
  • Zephir

Select Style:
  • Default
  • Agate
  • Androidstudio
  • Arduino Light
  • Arta
  • Ascetic
  • Brown Paper
  • Codepen Embed
  • Color Brewer
  • Dark
  • Docco
  • Far
  • Foundation
  • Github
  • Googlecode
  • Grayscale
  • Hybrid
  • Idea
  • Intellij Light
  • Ir Black
  • Magula
  • Mono Blue
  • Monokai Sublime
  • Monokai
  • Obsidian
  • Paraiso Dark
  • Paraiso Light
  • Pojoaque
  • Purebasic
  • Rainbow
  • School Book
  • Sunburst
  • Vs
  • Xcode
  • Xt 256


Output:

Syntax Highlighting

Syntax highlighting is the process of visually distinguishing parts of a text document by applying color or other attributes to them, based on their syntactic category.

In programming, syntax highlighting is commonly used to make code more readable and easier to understand by highlighting keywords, comments, variables, and other elements of the code in different colors or styles. This helps programmers to quickly identify different parts of the code and understand its structure, which in turn can make coding faster and more efficient.

Syntax highlighting can be applied to a wide range of text documents, including source code, markup languages, and configuration files.


Feedback

Help us improve this page by providing feedback:


Share with