CGI stands for Common Gateway Interface. Files that contain the .cgi file extension are are script files that are written in the C or Perl programming languages. These files are used to create web pages and they are usually stored within the cgi-bin folder of a website directory. The files define how web server software delegates the generation of certain web pages including executable files and stand-alone applications. These are often referred to as CGI scripts.
CGI scripts can be written in any programming language, but scripting languages are most commonly used to create these pages. CGI files are commonly used to run basic Web scripts, enabling website features such as integrated email message forms and rotating advertisements.
Try a universal file viewer
File.org aims to be the go-to resource for file type- and related software information. We spend countless hours researching various file formats and software that can open, convert, create or otherwise work with those files.
If you have additional information about the CGI file format or software that uses files with the CGI suffix, please do get in touch - we would love hearing from you.