Nginx Config Formatter

Format and beautify Nginx configuration files with proper indentation for server, location, upstream, and other blocks.

Frequently Asked Questions

It takes raw or minified Nginx configuration and applies proper indentation and formatting, making nested blocks like server, location, http, and upstream easy to read.
This tool focuses on formatting and indentation. It does not validate directive names or check for semantic correctness—use `nginx -t` for that.
The formatter tracks brace depth and indents each nested block (http, server, location, upstream, if, map, etc.) by the chosen indent size.
Yes — choose the Tab option in the indent size selector to use tab characters for indentation.