Code and config

Config file viewer

To open a Config file file, drop it in the box below. It opens straight away, even with no extension or the wrong one. Your browser opens it on your device: nothing is uploaded.

Opened on this device, never uploadedDrop or paste another file at any time

What you see

Config file in the viewer
nginxKnown by its name or its server { } and location blocks
ApacheKnown by its name or its <VirtualHost> and <Directory> sections
Other configsColoured like an INI file
Files with no extensionsshd_config, ssh_config and .htaccess, by name
Extensions.conf, .cnf
UploadNone: opened on your device

What is a Config file file?

In short

A .conf file is a program’s settings in its own format: nginx, Apache (httpd.conf, .htaccess), MySQL’s my.cnf, sshd_config and many more.

The file with line numbers and colours: nginx and Apache configs coloured as such, others like an INI file. Details names which it is.

How to open a Config file file

  1. Add your Config file. Drop the file in the box, choose it or paste it.
  2. Look at it. The file with line numbers and colours: nginx and Apache configs coloured as such, others like an INI file. Details names which it is.
  3. Take it further. Download any file from inside an archive, or open another file.

Questions

No. It shows it with colours and line numbers; nginx -t on the server checks it.

No. It is read in your browser and never uploaded.

No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.

Related