Skip to main content
>_devtools

Nginx Config Formatter & Viewer

Format nginx.conf with consistent indentation, keep comments, and browse servers, locations, upstreams and includes. Catches missing semicolons and braces.

Formats nginx configuration and lets you browse its servers, locations, upstreams, and directives. Choose a view to inspect formatted text or parsed structure.

Example

Input
server{listen 80;}

Output
server {
  listen 80;
}

Limits and behavior

  • Input is limited to 1 MB.
  • The parser does not run nginx or resolve includes.