Files with cgi extension can be mostly encountered as Common Gateway Interface script files. Webpages related file format.

There are 2 other file types using
the CGI file extension!

cgi icon.cgi - Perl cgi script

empty icon.cgi - RAD Studio configuration

Detailed description

Software that open cgi file

Add comment

CGI file extension - Common Gateway Interface script

What is cgi file? How to open cgi files?

File type specification:

Source code and script file type icon Source code and script file type

Internet related file type icon Internet related file type

cgi file icon: cgi filetype icon

File extension cgi is related to the The Common Gateway Interface. CGI is a standard for interfacing external applications with information servers, such as HTTP or Web servers.

A plain HTML document with Perl or C source code that the Web daemon retrieves is static, which means it exists in a constant state: a text file that doesn't change. A CGI program, on the other hand, is executed in real-time, so that it can output dynamic information.

MIME types:

Updated: April 19, 2024

The default software associated to open cgi file:

NotePad++ text editor icon

Notepad++ Team logoNotePad++ text editor  Microsoft Windows software

Company or developer:
Notepad++ Team

A very popular free text and source code editor. It supports syntax highlighting and syntax folding for C, C++, HTML, ASP, Java, Pascal, PHP, Cobol, CSS etc. Notepad++ also supports plugins to add new features. It is localized to many languages.

Coda for Mac icon

Panic Inc. logoCoda for Mac  Apple macOS / Mac OS X software

Company or developer:
Panic Inc.

Coda is HTML source code editor and web designing tool for Apple Mac computers.

Help how to open:

Use any text editor or source code editor to view content of *.cgi script file.

How to convert:

As far as we know, conversion of this *.cgi file type to other formats is not possible.

List of software applications associated to the .cgi file extension

Recommended software programs are sorted by OS platform (Windows, macOS, Linux, iOS, Android etc.)
and possible program actions that can be done with the file: like open cgi file, edit cgi file, convert cgi file, view cgi file, play cgi file etc. (if exist software for corresponding action in's database).

Click on the tab below to simply browse between the application actions, to quickly get a list of recommended software, which is able to perform the specified software action, such as opening, editing or converting cgi files.

Software that open cgi file - Common Gateway Interface script

Programs supporting the exension cgi on the main platforms Windows, Mac, Linux or mobile. Click on the link to get more information about listed programs for open cgi file action.

Microsoft Windows:

Main software associated with cgi file by default:
NotePad++ text editor small icon NotePad++ text editor
Other suggested software:
Sublime Text small icon Sublime Text
Adobe Contribute small icon Adobe Contribute
Microsoft Windows NotePad small icon Microsoft Windows NotePad

Apple macOS / Mac OS X:

Main software associated with cgi file by default:
Coda for Mac small icon Coda for Mac
Other suggested software:
TextMate small icon TextMate
BBEdit small icon BBEdit
Sublime Text for Mac small icon Sublime Text for Mac
TextEdit small icon TextEdit


Previous file extension
CG file extension > Source code and script file types

Next file extension
file extension CGI


Enter any file extension without dot (e.g. pdf)
Search for file extension details and associated application(s)

RSS feed