Home : File Types : CGI File

.CGI File Extension

File TypeCommon Gateway Interface Script

3.9 (25 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
Updated 8/18/2016

About CGI Files

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 only publish information about file formats that we have tested and validated.

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