Home : File Types : CGI File

.CGI File Extension

File TypeCommon Gateway Interface Script

3.8 (17 Votes)
CategoryExecutable Files
FormatText and Binary

Text and Binary

This file is saved in a plain text format or a binary format. If in a plain text format, it can be viewed with a text editor.

What is a CGI file?

A CGI file is an executable script written in the Perl or C programming language. It is typically stored in the "cgi-bin" folder within a website directory on a web server and can only be edited if it is not pre-compiled.

More Information

CGI scripts are often used for running basic web scripts. Examples include sending e-mail messages from a web form (also called "formmail") and rotating advertisements within a website.

Open and view .CGI files with File Viewer Plus.
Programs that open CGI files
File Viewer Plus
Richardson EditRocket
Microsoft Notepad
Other text editor
Bare Bones BBEdit
MacroMates TextMate
Richardson EditRocket
Other text editor
Richardson EditRocket
Other text editor
Updated 8/18/2016

About the file extension cgi

Our goal is to help you understand what a file with a *.cgi suffix is and how to open it.

The Common Gateway Interface Script file type, file format description, and Mac, Windows, and Linux programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and do not publish any information we have not been able to verify.

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