Code

On this page, you will find file samples that contain code in different programming languages. Some of them are used to create programs and applications, some contain instructions and settings for applications, and some are only used to modify the content of servers.

You can download different code file extension types by clicking on the respective download button below, and then use them for any testing purposes, including using them as a base template, or simply uploading the document to use the instructions/code within.

Generic filters
Exact matches only
Search in title
Search in content
Search in excerpt

Extension

Name

yaml

YAML

YAML Ain’t Markup Language

vb

VB

Visual Basic

swift

SWIFT

Swift Source Code

sql

SQL

Structured Query Language

sh

SH

Bash Shell Script

rb

RB

Ruby Source Code

py

PY

Python Source Code

pl

PL

Perl Source Code

php

PHP

PHP Hypertext Preprocessor Source Code

kml

KML

Keyhole Markup Language

json

JSON

JavaScript Object Notation

js

JS

JavaScript Code

java

JAVA

Java Source Code

html

HTML

Hyper Text Markup Language

htaccess

HTACCESS

htaccess

h

H

C, C++, and Objective-C Header File

go

GO

Go Programming Language Source Code

css

CSS

Cascading Style Sheet

cs

CS

Visual C# Source Code

cpp

CPP

C++ Source Code

class

CLASS

Java Class File

C

C

C and C++ Source Code

bat

BAT

Batch File

Extenstion

Name

yaml

YAML

YAML Ain’t Markup Language

Extenstion

Name

vb

VB

Visual Basic

Extenstion

Name

swift

SWIFT

Swift Source Code

Extenstion

Name

sql

SQL

Structured Query Language

Extenstion

Name

sh

SH

Bash Shell Script

Extenstion

Name

rb

RB

Ruby Source Code

Extenstion

Name

py

PY

Python Source Code

Extenstion

Name

pl

PL

Perl Source Code

Extenstion

Name

php

PHP

PHP Hypertext Preprocessor Source Code

Extenstion

Name

kml

KML

Keyhole Markup Language