Go Syntax Highlighter

Welcome to the Go Syntax Highlighter, an online tool that highlights code according to the syntax of Go and supports exporting to HTML source files, which you can embed into websites, emails, or Word editors.

Source Code
Highlight Go Code
Theme Type
Theme Name
Highlighted Lines

ABAP Syntax Highlighter

ABAP is SAP's proprietary programming language used for developing SAP applications and customizing SAP systems.

ActionScript Syntax Highlighter

ActionScript 3 is an object-oriented programming language used in Adobe Flash Player for developing web applications and rich internet applications.

Ada Syntax Highlighter

Ada is a structured statically-typed programming language initially designed for real-time embedded systems and later extended to other domains.

Angular HTML Syntax Highlighter

Angular HTML is a markup language used in Angular framework for building user interfaces. It is based on HTML but adds some features to assist with data binding and event handling.

Angular TypeScript Syntax Highlighter

Angular TypeScript is TypeScript code used when building Angular applications. It defines the components, services, and other features of the application.

Apache Conf Syntax Highlighter

Apache is a configuration file format used for configuring the Apache HTTP server. It controls the behavior and functionality of the server.

Apex Syntax Highlighter

Apex is an object-oriented programming language used for developing cloud applications on the Salesforce platform.

APL Syntax Highlighter

APL is a programming language used for array processing, with a very compact and powerful symbolic syntax.

AppleScript Syntax Highlighter

AppleScript is a proprietary language used on Apple systems for automating tasks and writing scripts.

Ara Syntax Highlighter

Ara is the Ara programming language used for writing cloud applications.

Assembly Syntax Highlighter

Assembly language is a low-level programming language directly related to the computer hardware instruction set, with different assembly languages for different CPU architectures.

Astro Syntax Highlighter

Astro is a full-stack framework for building high-performance websites, combining UI frameworks like React and Vue with formats like Markdown and MDX.

AWK Syntax Highlighter

AWK is a programming language used for text processing, commonly used for data extraction and report generation.

Ballerina Syntax Highlighter

Ballerina is an open-source cloud-native programming language used for writing distributed systems and cloud applications.

Batch File Syntax Highlighter

batch

Batch files are script file formats used in Windows for automating tasks.

Beancount Syntax Highlighter

Beancount is a plain-text accounting language used for recording double-entry bookkeeping financial transactions.

Berry Syntax Highlighter

be

Berry is an embedded interpreted programming language used for writing applications or configuration files for small systems.

BibTeX Syntax Highlighter

BibTeX is a file format used for describing references, commonly used with LaTeX.

Bicep Syntax Highlighter

Bicep is a domain-specific language used for declarative deployment of Azure resources.

Blade Syntax Highlighter

Blade is a template engine used in the Laravel framework for building dynamic web pages.

C Syntax Highlighter

C is a general-purpose procedural programming language widely used for system programming and application development.

Cadence Syntax Highlighter

cdc

Cadence is the resource programming language for the Flow blockchain, used for writing smart contracts.

Clarity Syntax Highlighter

Clarity is the smart contract programming language for the Stacks blockchain.

Clojure Syntax Highlighter

clj

Clojure is a modern Lisp dialect, a functional programming language running on the JVM.

CMake Syntax Highlighter

CMake is an open-source cross-platform build tool used for managing the software build process.

COBOL Syntax Highlighter

COBOL is an old programming language commonly used for business data processing and financial systems.

CodeQL Syntax Highlighter

ql

CodeQL is an object-oriented query language used for writing program analysis and security checks.

CoffeeScript Syntax Highlighter

coffeescript

CoffeeScript is a programming language based on JavaScript, with syntax similar to Python and Ruby, transpilable to JavaScript.

C++ Syntax Highlighter

c++

C++ is an extension of the C language, a statically-typed multiparadigm programming language widely used for system programming and application development.

Crystal Syntax Highlighter

Crystal is an emerging systems programming language with Ruby-like syntax but better performance, compilable to efficient native code.

C# Syntax Highlighter

c#
cs

C# is a modern object-oriented programming language initially developed by Microsoft for the .NET framework.

CSS Syntax Highlighter

CSS is a stylesheet language used for describing the presentation of a webpage, controlling layout, fonts, colors, and other appearance aspects.

CSV Syntax Highlighter

CSV is a common text format used for storing tabular data, with each line representing a record and columns separated by commas.

CUE Syntax Highlighter

CUE is an open-source data constraint language used for defining and validating data models.

Cypher Syntax Highlighter

cql

Cypher is the query language for the Neo4j graph database, used for creating, querying, and updating graph data.

D Syntax Highlighter

D is a systems programming language combining the best features of C++ and other languages, providing a high-performance programming model.

Dart Syntax Highlighter

Dart is an open-source general-purpose programming language developed by Google, used for web, mobile, and desktop applications.

DAX Syntax Highlighter

DAX is the query language for Microsoft SQL Server Analysis Services, used for querying and calculating multidimensional data.

Diff Syntax Highlighter

Diff format is a format for comparing differences between files or different versions of text.

Dockerfile Syntax Highlighter

dockerfile

Dockerfile is a format used for creating Docker images, defining the contents and configuration of the image.

Dream Maker Syntax Highlighter

Dream Maker is a code programming language and tool used for creating multi-user dungeon (MUDs) scenarios.

Elixir Syntax Highlighter

Elixir is a functional programming language running on the Erlang virtual machine, used for building scalable and highly concurrent applications.

Elm Syntax Highlighter

Elm is a functional programming language used for building reliable web frontend applications.

ERB Syntax Highlighter

ERB is a markup language for embedding Ruby code in Ruby, commonly used for generating dynamic text and web pages.

Erlang Syntax Highlighter

erl

Erlang is a general-purpose concurrent functional programming language supporting features like distributed computing, fault tolerance, and hot code loading.

Fish Syntax Highlighter

Fish is a user-friendly command-line shell with a flexible and readable syntax.

Fortran (Fixed Form) Syntax Highlighter

f
for
f77

Fixed-format Fortran is the traditional format of the Fortran programming language, with each line of code restricted to fixed columns.

Fortran (Free Form) Syntax Highlighter

f90
f95
f03
f08
f18

Free-format Fortran is a newer syntax for Fortran, allowing more flexible code layout.

F# Syntax Highlighter

f#
fs

F# is a multiparadigm functional-first programming language designed for the .NET ecosystem.

GDResource Syntax Highlighter

GDResource is the file format used in the Godot game engine for defining game objects and resources.

GDScript Syntax Highlighter

GDScript is the built-in scripting language for the Godot game engine, with syntax similar to Python.

GDShader Syntax Highlighter

GDShader is the format used in the Godot game engine for describing shaders.

Gherkin Syntax Highlighter

Gherkin is a language used for behavior-driven development (BDD), defining behavior scenarios and use cases for software.

Git Commit Message Syntax Highlighter

Git commit messages are the format used in the Git version control system for describing code changes.

Git Rebase Message Syntax Highlighter

Git rebase messages are the format displayed when using the git rebase command, used for editing commit logs.

Gleam Syntax Highlighter

Gleam is a functional programming language used for writing reliable and highly concurrent systems.

Glimmer JS Syntax Highlighter

gjs

Glimmer JS is the JavaScript version of the Glimmer rendering engine, used for building web UIs.

Glimmer TS Syntax Highlighter

gts

Glimmer TS is the TypeScript version of the Glimmer rendering engine.

GLSL Syntax Highlighter

GLSL is the OpenGL Shading Language, used for writing graphics rendering programs running on the GPU.

Gnuplot Syntax Highlighter

Gnuplot is a command-line-driven interactive data and function plotting tool.

Go Syntax Highlighter

Go is an open-source statically typed programming language developed by Google, supporting system and concurrent programming.

GraphQL Syntax Highlighter

gql

GraphQL is a query language for APIs, providing a more efficient way to query data.

Groovy Syntax Highlighter

Groovy is an object-oriented programming language for the Java virtual machine, also supporting functional programming.

Hack Syntax Highlighter

Hack is a programming language developed by Facebook for building reliable and high-performance web applications.

Ruby Haml Syntax Highlighter

Haml is a template engine for Ruby, providing a concise syntax for generating HTML.

Handlebars Syntax Highlighter

hbs

Handlebars is a semantic templating library used for web templates.

Haskell Syntax Highlighter

hs

Haskell is a standard purely functional programming language supporting lazy evaluation.

HashiCorp HCL Syntax Highlighter

HCL is the HashiCorp Configuration Language, used for configuring HashiCorp products like Terraform, Packer, etc.

Hjson Syntax Highlighter

Hjson is a data format aimed to be more friendly and human-readable compared to JSON.

HLSL Syntax Highlighter

HLSL is the High-Level Shading Language in DirectX, used for programming the GPU.

HTML Syntax Highlighter

HTML is the standard markup language for building web pages.

HTML (Derivative) Syntax Highlighter

HTML derivative languages are new languages built on top of HTML, like Vue, Svelte, etc.

HTTP Syntax Highlighter

HTTP is an application layer protocol used for distributed, collaborative, hypermedia information systems.

Imba Syntax Highlighter

Imba is a language inspired by Ruby with a Ruby-like syntax, compiled to efficient JavaScript.

INI Syntax Highlighter

properties

INI is a simple key-value pair file format commonly used for configuration files.

Java Syntax Highlighter

Java is a widely-used object-oriented programming language, also supporting other programming paradigms.

JavaScript Syntax Highlighter

js

JavaScript is a programming language capable of running complex logic in web browsers.

Jinja Syntax Highlighter

Jinja is a popular Python template engine, also used for other languages.

Jison Syntax Highlighter

Jison is a parser generator tool for Node.js.

JSON Syntax Highlighter

JSON is a lightweight data interchange format, easy for humans to read and write.

JSON5 Syntax Highlighter

JSON5 is a superset of JSON, more human-friendly, supporting comments, single/double quotes, etc.

JSON with Comments Syntax Highlighter

JSON with Comments is an extension of JSON allowing comments to be added within JSON.

JSON Lines Syntax Highlighter

JSON Lines is a format used for storing structured data in a line-based format.

Jsonnet Syntax Highlighter

Jsonnet is a data description language used for managing configuration data.

JSSM Syntax Highlighter

fsl

JSSM is a session file format for Secure Shell.

JSX Syntax Highlighter

JSX is a XML-like syntax used in React.

Julia Syntax Highlighter

jl

Julia is a high-performance, dynamic high-level programming language suitable for scientific computing, machine learning, etc.

Kotlin Syntax Highlighter

kt
kts

Kotlin is a modern statically-typed programming language running on the Java virtual machine.

Kusto Syntax Highlighter

kql

Kusto is Microsoft's query language for log and data analytics.

LaTeX Syntax Highlighter

LaTeX is a high-quality typesetting system commonly used for scientific documents and publications.

Less Syntax Highlighter

Less is a dynamic stylesheet language extending CSS with features like variables, mixins, etc.

Liquid Syntax Highlighter

Liquid is a template language created by Shopify.

Lisp Syntax Highlighter

Lisp is a general-purpose functional programming language with many dialects, such as Common Lisp.

Logo Syntax Highlighter

Logo is an educational programming language for children.

Lua Syntax Highlighter

Lua is a lightweight, embeddable scripting language commonly used in game development.

Makefile Syntax Highlighter

makefile

Makefile is a file format used for building software.

Markdown Syntax Highlighter

md

Markdown is a lightweight markup language used for creating formatted text.

Marko Syntax Highlighter

Marko is a template language used for building UI components and high-performance web applications.

MATLAB Syntax Highlighter

MATLAB is a high-level programming language and numerical computing environment used for algorithm development, data visualization, etc.

MDC Syntax Highlighter

MDC is a markup language used for rendering colored Braille text.

MDX Syntax Highlighter

MDX is a Markdown extension allowing embedding JSX syntax and React components in Markdown.

Mermaid Syntax Highlighter

Mermaid is a JavaScript-based tool used for generating graphics and flowcharts based on simple text descriptions.

Mojo Syntax Highlighter

Mojo is a format used for packaging and deploying web-based applications as location-independent code.

Move Syntax Highlighter

Move is a resource-oriented programming language used for writing smart contracts on the Diem (formerly Libra) blockchain.

Narrat Language Syntax Highlighter

nar

Narrat is a simple language for declarative programming, containing basic functions and control structures.

Nextflow Syntax Highlighter

nf

Nextflow is a workflow scripting language used for building portable and reproducible data pipelines and workflows.

Nginx Syntax Highlighter

Nginx configuration files are used for configuring the Nginx web server.

Nim Syntax Highlighter

Nim is a systems and applications programming language focusing on performance, portability, and programmer productivity.

Nix Syntax Highlighter

Nix is a functional language used for configuring and deploying software and its dependencies.

nushell Syntax Highlighter

nu

Nu Shell is a new cross-platform shell emphasizing modernization, usability, and portability.

Objective-C Syntax Highlighter

objc

Objective-C is a general-purpose object-oriented programming language mainly used for writing macOS and iOS applications.

Objective-C++ Syntax Highlighter

Objective-C++ is a programming language that merges C++ with Objective-C, used on macOS and iOS.

OCaml Syntax Highlighter

OCaml is a functional programming language supporting functional, imperative, and object-oriented programming styles.

Pascal Syntax Highlighter

Pascal is an educational programming language designed for simplicity and structured programming.

Perl Syntax Highlighter

Perl is a general-purpose programming language initially used for text processing, now used for web development, system administration, etc.

PHP Syntax Highlighter

PHP is a popular general-purpose scripting language, particularly suited for web development.

PL/SQL Syntax Highlighter

PL/SQL is the procedural extension language used by Oracle databases for writing stored procedures and triggers.

PostCSS Syntax Highlighter

PostCSS is a tool allowing the transformation of CSS using plugins.

PowerQuery Syntax Highlighter

Power Query is a language used by Microsoft Power BI for data connection, transformation, and loading.

PowerShell Syntax Highlighter

ps
ps1

PowerShell is a task automation and configuration management framework developed by Microsoft.

Prisma Syntax Highlighter

Prisma is an open-source ORM used for TypeScript and Node.js applications, simplifying database access.

Prolog Syntax Highlighter

Prolog is a logic programming language used for programming complex recursive queries and artificial intelligence applications.

Protocol Buffer 3 Syntax Highlighter

Protocol Buffers is a cross-language serialization data format developed by Google.

Pug Syntax Highlighter

jade

Pug (formerly known as Jade) is a high-performance template engine implemented in Node.js.

Puppet Syntax Highlighter

Puppet is a declarative language used for configuration management and deployment.

PureScript Syntax Highlighter

PureScript is a powerful pure functional language compiling to efficient JavaScript code.

Python Syntax Highlighter

py

Python is a popular general-purpose programming language known for its simplicity and wide range of applications.

R Syntax Highlighter

R is a programming language and environment used for statistical computing and graphics.

Raku Syntax Highlighter

perl6

Raku (formerly known as Perl 6) is an advanced dynamic multi-paradigm programming language.

ASP.NET Razor Syntax Highlighter

Razor is a markup syntax used in ASP.NET for generating dynamic content.

Windows Registry Script Syntax Highlighter

Windows Registry Script is a text representation of Windows registry entries.

Rel Syntax Highlighter

Rel is a data modeling language focused on highly consistent data querying.

RISC-V Syntax Highlighter

RISC-V is an open instruction set architecture (ISA) targeting various use cases.

reStructuredText Syntax Highlighter

reStructuredText is a lightweight markup language commonly used for technical documentation, etc.

Ruby Syntax Highlighter

rb

Ruby is a general-purpose programming language known for its concise syntax and portability.

Rust Syntax Highlighter

rs

Rust is a systems programming language focusing on safety and performance.

SAS Syntax Highlighter

SAS is an application software containing a programming language used for advanced analytics, business intelligence, etc.

Sass Syntax Highlighter

Sass is a CSS preprocessor providing a better syntax and features like variables, nesting rules, etc.

Scala Syntax Highlighter

Scala is a modern multi-paradigm programming language running on the Java virtual machine.

Scheme Syntax Highlighter

Scheme is a functional programming language stemming from the Lisp family.

SCSS Syntax Highlighter

SCSS is a syntax variant of Sass, a commonly used language for CSS preprocessing.

ShaderLab Syntax Highlighter

shader

ShaderLab is a language used in Unity for writing shaders.

Shell Syntax Highlighter

bash
sh
shell
zsh

Shell Script is a scripting language used for automating tasks in Unix systems.

Shell Session Syntax Highlighter

console

Shell Session is a format for recording command-line interactions.

Smalltalk Syntax Highlighter

Smalltalk is a pure object-oriented programming language and one of the earliest object-oriented languages.

Solidity Syntax Highlighter

Solidity is an object-oriented language used for implementing smart contracts on the Ethereum blockchain.

SPARQL Syntax Highlighter

SPARQL (SPARQL Protocol and RDF Query Language) is a query language used to query and manipulate data stored in Resource Description Framework (RDF) format. It is commonly used to query data from Semantic Web databases.

Splunk Query Language Syntax Highlighter

spl

Splunk Query Language is a search and reporting language used in the Splunk platform for analyzing machine-generated data. It allows users to search, analyze, and visualize large volumes of data.

SQL Syntax Highlighter

SQL (Structured Query Language) is a domain-specific language used for managing and manipulating relational databases. It is widely used in database management systems such as MySQL, PostgreSQL, and Oracle.

SSH Config Syntax Highlighter

SSH Config is a configuration file used to specify settings for SSH (Secure Shell) client software. It allows users to define host-specific configurations, including authentication methods and connection options.

Stata Syntax Highlighter

Stata is a statistical software package used for data analysis and visualization. It provides a command-line interface and a programming language for manipulating data and running statistical tests.

Stylus Syntax Highlighter

styl

Stylus is a preprocessor scripting language used to generate Cascading Style Sheets (CSS). It is known for its concise syntax and rich set of features, including variables, mixins, and nested rules.

Svelte Syntax Highlighter

Svelte is a component-based JavaScript framework for building user interfaces. It allows developers to write components using HTML, CSS, and JavaScript, which are then compiled into highly optimized JavaScript code.

Swift Syntax Highlighter

Swift is a general-purpose programming language developed by Apple for building applications on iOS, macOS, watchOS, and tvOS platforms. It is known for its safety features, performance, and modern syntax.

SystemVerilog Syntax Highlighter

SystemVerilog is a hardware description and verification language used in the design and verification of digital circuits. It extends the Verilog language with features for system-level modeling, verification, and design reuse.

Tasl Syntax Highlighter

Tasl is a domain-specific language used for specifying test cases and test procedures in software testing. It provides a formal syntax for defining test scenarios, expected outcomes, and verification criteria.

Tcl Syntax Highlighter

Tcl (Tool Command Language) is a scripting language commonly used for rapid prototyping, testing, and automation tasks. It is known for its simplicity, extensibility, and wide range of built-in commands.

Terraform Syntax Highlighter

tf
tfvars

Terraform is an infrastructure as code (IaC) tool used for building, changing, and versioning infrastructure efficiently. It enables users to define infrastructure components using declarative configuration files.

TeX Syntax Highlighter

TeX is a typesetting system used for creating documents with complex layouts, such as academic papers, books, and technical reports. It is widely used in academia and publishing industries.

TOML Syntax Highlighter

TOML (Tom's Obvious, Minimal Language) is a configuration file format that is easy to read and write due to its simple syntax. It is commonly used for specifying settings in software projects.

TSV Syntax Highlighter

TSV (Tab-Separated Values) is a file format used for storing tabular data in plain text. Each line in a TSV file represents a row of data, with columns separated by tabs.

TSX Syntax Highlighter

TSX is an extension of TypeScript used for writing React components with JSX syntax. It allows developers to write components using a combination of JavaScript and XML-like syntax.

Turtle Syntax Highlighter

Turtle is a syntax for expressing data in the Resource Description Framework (RDF) format. It provides a way to represent RDF triples using a concise and human-readable syntax.

Twig Syntax Highlighter

Twig is a template engine for PHP used for generating HTML, XML, and other text-based documents. It provides a syntax similar to HTML with additional features such as template inheritance and macros.

TypeScript Syntax Highlighter

ts

TypeScript is a superset of JavaScript that adds static typing and other features to the language. It is commonly used for large-scale web development projects to improve code maintainability and scalability.

Typst Syntax Highlighter

typ

Typst is a programming language designed for type-safe systems programming. It aims to provide the safety and expressiveness of high-level languages while maintaining low-level control over system resources.

V Syntax Highlighter

V is a programming language designed for simplicity, performance, and safety. It features a concise syntax inspired by Go and Python and compiles to fast native code without requiring a separate runtime.

Visual Basic Syntax Highlighter

cmd

Visual Basic (VB) is a programming language developed by Microsoft for building Windows applications. It is known for its simplicity and ease of use, making it suitable for beginners and rapid application development.

Verilog Syntax Highlighter

Verilog is a hardware description language used for designing and simulating digital circuits. It is widely used in the semiconductor industry for designing integrated circuits (ICs) and field-programmable gate arrays (FPGAs).

VHDL Syntax Highlighter

VHDL (VHSIC Hardware Description Language) is a hardware description language used for designing and simulating digital circuits. It is commonly used in the semiconductor industry for designing ASICs and FPGAs.

Vim Script Syntax Highlighter

vim
vimscript

Vim Script is a scripting language used for extending the functionality of the Vim text editor. It allows users to define custom commands, mappings, and plugins to automate tasks and enhance productivity.

Vue Syntax Highlighter

Vue.js is a progressive JavaScript framework used for building user interfaces. It is known for its simplicity and flexibility, allowing developers to create interactive and reactive web applications.

Vue HTML Syntax Highlighter

Vue HTML is a template syntax used in Vue.js for creating dynamic and interactive user interfaces. It allows developers to write HTML-like markup with additional features such as data binding and directives.

Vyper Syntax Highlighter

vy

Vyper is a programming language designed for writing secure and auditable smart contracts on the Ethereum blockchain. It aims to reduce complexity and improve security by providing a simple and restricted syntax.

WebAssembly Syntax Highlighter

WebAssembly (Wasm) is a binary instruction format used for executing high-performance code on the web. It enables developers to run code written in languages such as C, C++, and Rust directly in web browsers.

Wenyan Syntax Highlighter

文言

Wenyan is a programming language inspired by classical Chinese literature. It uses Chinese characters and idioms for syntax and is primarily used for educational purposes and as a creative exercise in language design.

WGSL Syntax Highlighter

WGSL (WebGPU Shading Language) is a low-level shading language used for programming graphics processing units (GPUs) in web applications. It provides a modern and efficient syntax for writing shaders that run on the WebGPU API.

Wolfram Syntax Highlighter

wl

Wolfram Language is a high-level programming language developed by Wolfram Research. It is known for its symbolic computation capabilities, built-in knowledge base, and support for a wide range of domains, including mathematics, physics, and data science.

XML Syntax Highlighter

XML (eXtensible Markup Language) is a markup language used for storing and transporting data. It provides a way to structure information using tags and attributes and is commonly used for representing documents and configuration files.

XSL Syntax Highlighter

XSL (eXtensible Stylesheet Language) is a language used for transforming XML documents into different formats, such as HTML or PDF. It consists of two parts: XSLT for transforming XML data and XPath for navigating and selecting elements in XML documents.

YAML Syntax Highlighter

yml

YAML (YAML Ain't Markup Language) is a human-readable data serialization format. It is commonly used for configuration files and data exchange between programming languages due to its simplicity and readability.

ZenScript Syntax Highlighter

ZenScript is a scripting language used for creating mods for the Minecraft video game. It provides a simplified syntax for defining items, blocks, and other game elements, allowing modders to extend and customize the game's functionality.

Zig Syntax Highlighter

Zig is a general-purpose programming language designed for performance, safety, and simplicity. It features a syntax similar to C but with additional features such as compile-time memory safety and error handling.