.PAS File Extension

2 file types use the .pas file extension.
File Type 1

Delphi Unit Source File

Developer Embarcadero Technologies
Popularity
3.9  |  57 Votes
Category Developer Files
Format Text

What is a PAS file?

Source code file created in Delphi, a software development application used for building Windows programs; written in the Delphi language, which is a variant of the Object Pascal language; can be compiled into native Win32 code with the Delphi compiler.

More Information

PAS files are used as the primary source code format for Delphi.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open PAS files

Windows
Updated March 5, 2013
File Type 2

Pascal Source File

Developer Niklaus Wirth
Popularity
3.6  |  39 Votes
Category Developer Files
Format Text

What is a PAS file?

A PAS file contains source code written in Pascal or Object Pascal, two general-purpose high-level programming languages. It stores plain text in the Pascal or Object Pascal syntax that can be edited or compiled into a program with a Pascal compiler.

More Information
Screenshot of a .pas file in Free Pascal 3.2.2
PAS file open in Free Pascal 3.2.2

Niklaus Wirth designed the Pascal programming language and initially released it in 1970. The language is based on the ALGOL 60 language and is named after Blaise Pascal, a French philosopher, physicist, and mathematician.

Pascal grew in popularity in the 1970s, especially in the minicomputer sector, and eventually birthed Object Pascal in 1985. Object Pascal was primarily used by Borland and Apple in the 1980s, then grew into Delphi for Windows.

How to open a PAS file

You can open, edit, and compile PAS files with Free Pascal (multiplatform), an open-source program used to compile various Pascal dialects.

Or, you can use source code editors to open and edit PAS files. Some editors include Microsoft Visual Studio Code (multiplatform), Xidicone Zeus (Windows), and MacroMates TextMate (macOS).

You can also use a plain text editor to open and edit PAS files since they are saved in plain text. However, text editors do not come with syntax-highlighting capabilities or other helpful functionality like source code editors.

Programs that open or reference PAS files

Updated November 17, 2021

Verified by FileInfo.com

The FileInfo.com team has independently researched all file formats and software programs listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.