Free Pascal Compilers, Free Delphi Compilers

Free compilers for the Pascal and Delphi programming languages

Free Pascal Compilers, Free Delphi Compilers

Pascal is a general purpose procedural computer language created by Niklaus Wirth, originally intended as a tool to teach students structured programming. Some modern incarnations of the language include object oriented extensions.

Listed on this page are free Delphi and Pascal compilers for a number of platforms. There are also a few cross-compilers listed on this page. After you get your compiler, you might also want to check out the Free Pascal and Delphi Libraries / Source Code page for free Pascal and Delphi source code and libraries that you can link into your program. Also available are Free Online Pascal and Delphi Documentation to help you get started with the programming language. If you prefer a hardcopy (printed) book on Pascal or Delphi (which are of course not free), try the list of Pascal books or the list of Delphi books on

Related Pages

Free Pascal Compilers, Free Delphi Compilers

Delphi Starter Edition New

The Delphi Starter Edition includes an IDE (integrated development environment) with a code editor, debugger, compiler that can generate 32-bit Windows executables, and numerous visual components. You only have a licence to use it until your individual or company revenue reaches USD $1,000 or your development team has more than 5 people. You have to register with your name, company, telephone number and email address before you can download it.

PIC Micro Pascal

As its name suggests, PIC Micro Pascal is a cross compiler for PIC microprocessors, namely PIC10 to PIC18 (primarily PIC10, PIC12, PIC16, PIC16 enhanced mid-range, PIC18). Registers on the microprocessors are accessed directly as variables. Language support include floating point for PIC16 and PIC18, simple records, bit booleans, signed and unsigned types, long integers, strings, one dimensional arrays, etc. The compiler supports the compilation of multiple files and can generate code optimized for either speed or size. You need to have the Microchip MPLAB suite installed, since the compiler uses the assembler (MPASM), linker (MPLINK) and other files from that suite.

Free Pascal (formerly FPK Pascal) Compiler

This is a Pascal compiler that generates native code for a number of platforms (such as Win32, MSDOS, Linux, OS/2, Amiga OS). It supports most of the Borland Pascal 7.0 dialect along with some extensions used by Delphi. According to the home page, it also supports function overloading and other such features. The package comes with sources for the compiler, which is itself written in Pascal. According to the program's website, the program comes under a "modified" GNU Public License to allow linking with static libraries when creating DOS programs. You have to read the documentation yourself to find out whether you can actually produce commercial programs without releasing your program source code. You can use it to compile your Delphi programs with the help of Lazarus, a free class library designed for this compiler.


This is a Pascal compiler for the Microsoft .NET Framework. It includes some extensions to the Pascal language, including in-block variable definitions, auto-type deduction of variables, a new operator for object construction, anonymous classes, n-dimensional dynamic arrays, operator overloading, etc. It comes with an IDE, an integrated debugger, a form designer, a bitmap and vector graphics library, a web development environment where you can run your program from a web browser, etc. Note that some of the pages on the site (eg, the download page) are in Russian, although the main page I linked to above is in English, so if you need information given on the other pages, you probably need to run it through an online translator. In additon, although the command line compiler is said to also run under Mono on Linux, I'm not sure if the rest of the system (IDE, forms designer, etc) can. In fact, at the time I wrote this, the installers come wrapped in an ".exe" file, which I guess means you should probably assume that this is primarily a Windows program.

Borland Turbo Pascal Compiler

The old versions of Borland Turbo Pascal 5.5, 3.02 and 1.0 are available from this page. As you know, Turbo Pascal was a very famous Pascal compiler from yesteryear and is fondly remembered by many programmers who learnt programming using the compiler. These are DOS compilers. Note that you will need to register with them to get a registration key. (I have not tried registering, so I don't know how long they take before they send you the key.)

Bloodshed Dev-Pascal Pascal Compiler

According to its website, Dev-Pascal is a development environment which includes a Pascal compiler (either the GNU Pascal compiler or the Free Pascal compiler, at your option) that allows you to create software using the Turbo Pascal language. It supports only the Win32 environment, and is free. The package includes a Setup creator that allows you to include a Setup program with your programs.

GNU Pascal Compiler

This 32 bit Pascal compiler runs on Win32, DOS, OS/2 and most Unix systems. It is distributed under the GNU General Public License. I'm not sure how this affects your programs, though. Based on the program's website, the compiler supports the following language standards: ISO-7185 Standard Pascal, most of ISO-10206 Extended Pascal, and most of Borland Pascal 7.0.


MIDletPascal compiles a dialect of Pascal into Java micro edition (J2ME) bytecode, allowing you to write programs for mobile devices (like cellphones) that support the MIDP 1.0 and CLDC 1.0 platforms. (MIDP and CLDC are a set of programming interfaces for the use of Java on embedded devices.) It comes with an IDE for Windows (although you can also run it under Linux and Mac OS X with the help of WINE). The compiler generates Java bytecode directly and does not require you to have a Java compiler installed. This compiler is open source.

Turbo51: Free Pascal Compiler for 8051

This is a free Pascal compiler for the 8051 microcontroller. It's a Windows console one-pass optimizing cross-compiler that accepts Borland Pascal 7 syntax and generates either Intel Hex object code, binary code, or the OMF-51 object code. Among its features are the ability to mix Pascal with assembler in your code, source level debugging, full floating point support, and optimizations like constant folding, dead code elimination, branch elimination, loop invariant code motion, loop inversion, induction variable elimination, instruction selection and combining, common subexpression elimination, peephole optimization, etc.

P4 Pascal Compiler

You can find the public domain source code of a Pascal compiler and interpreter. The system is written in Pascal itself, and only the source code is provided, which means that you need to have a Pascal compiler before you can use it. The compiler generates an intermediate p-code which is then interpreted by the p-code interpreter. If you do not have a Pascal compiler, you have a choice of getting their C translation of the compiler (which means you must have a C compiler) or handtranslating their precompiled pcode of the compiler.

Vector Pascal

This Pascal compiler is "targeted at SMID instruction sets such as the MMX and the AMD 3D Now!" It also performs optimizations such as parallel vector operations, loop unrolling and common sub-expression elimination. Binaries are available for Windows and Linux. The source code is also available.

Virtual Pascal Compiler

[Update: this compiler is no longer available.] This compiler handles code that is compatible with Borland Pascal and Borland Delphi 2. It has a run-time library, an optimizing compiler, built-in linker, integrated development environment, an integrated debugger, various utilities, patches for third party libraries (Delphi, TurboPower), examples, and online documentation. Platforms supported include Win32 (Windows 95/98/NT/2000), OS/2 and Linux (experimental support).

Related Pages

Newest Pages

Popular Pages

How to Link to This Page

It will appear on your page as:

Free Pascal Compilers, Free Delphi Compilers Free Webmaster Tutorials, Scripts and Articles Free How-To Guides Free Programmers, Webmasters and Security Resources
If you find this site useful, please link to us.