Tool

next.config Visualizer

Parse and explore next.config.js/ts options with descriptions and defaults.

Ad

next.config Visualizer

Browse and search Next.js configuration options with types, defaults, and descriptions.

Config Reference

Searchable reference of all next.config options with types and defaults.

JSON Input

Paste your next.config and see it parsed with explanations.

Validation

Check for common misconfigurations and deprecated options.

Comparison

Compare different config options side by side.

output

The build output mode. 'standalone' for serverless deployment.

Type: 'standalone' | 'export'Default: undefined
assetPrefix

Prefix for static assets when hosted on a CDN.

Type: stringDefault: ''
basePath

Base path for the application under a sub-path.

Type: stringDefault: ''
compress

Enable gzip compression for rendered content.

Type: booleanDefault: true
devIndicators

Configuration for the development indicators overlay.

Type: objectDefault: { position: 'bottom-left' }
distDir

Custom build output directory.

Type: stringDefault: '.next'
env

Environment variables available at build time.

Type: objectDefault: {}
eslint

ESLint configuration for builds.

Type: objectDefault: { ignoreDuringBuilds: false }
experimental

Experimental features (may change without notice).

Type: objectDefault: {}
generateBuildId

Custom build ID generation function.

Type: functionDefault: undefined
generateEtags

Enable or disable ETag generation.

Type: booleanDefault: true
headers

Custom HTTP headers for specific paths.

Type: functionDefault: undefined
httpAgentOptions

HTTP agent configuration for server-side requests.

Type: objectDefault: { keepAlive: true }
i18n

Internationalization configuration.

Type: objectDefault: undefined
images

Image optimization configuration.

Type: objectDefault: { formats: ['image/webp'] }
logging

Logging configuration for the server.

Type: objectDefault: undefined
middleware

Custom middleware file path.

Type: stringDefault: undefined
onDemandEntries

Configuration for on-demand entry compilation.

Type: objectDefault: { maxInactiveAge: 60000, pagesBufferLength: 5 }
outputFileTracing

Enable output file tracing for standalone deployment.

Type: booleanDefault: true
pageExtensions

File extensions to resolve as pages.

Type: string[]Default: ['tsx', 'ts', 'jsx', 'js']
poweredByHeader

Include X-Powered-By header in responses.

Type: booleanDefault: true
productionBrowserSourceMaps

Enable source maps in production.

Type: booleanDefault: false
reactStrictMode

Enable React strict mode for development.

Type: booleanDefault: false
redirects

URL redirect configuration.

Type: functionDefault: undefined
rewrites

URL rewrite configuration.

Type: functionDefault: undefined
sassOptions

SASS compiler options.

Type: objectDefault: {}
serverExternalPackages

Packages to mark as external on the server.

Type: string[]Default: []
trailingSlash

Add trailing slash to URLs.

Type: booleanDefault: false
transpilePackages

Packages to transpile with Next.js compiler.

Type: string[]Default: []
typescript

TypeScript configuration for builds.

Type: objectDefault: { ignoreBuildErrors: false }
webpack

Custom webpack configuration.

Type: functionDefault: undefined

Frequently Asked Questions

Paste your next.config.js/ts file and the tool parses every option with descriptions, expected types, default values, and any deprecation warnings.
Ad

What is next.config Visualizer?

next.config Visualizer is a free online tool that parse and explore next.config.js/ts options with descriptions and defaults. It runs entirely in your browser using JavaScript — no data is uploaded to any server, ensuring your information stays private and secure. Whether you are working on a quick one-off task or integrating into your regular development workflow, this tool provides instant results without requiring any installation, sign-up, or configuration.

Unlike traditional desktop software or cloud-based services, our next.config visualizer processes everything locally on your device. This means zero latency, no file size limits, and complete privacy. It is ideal for developers, content creators, and professionals who need reliable results without compromising on data security.

Key Features

Config Reference

Searchable reference of all next.config options with types and defaults.

JSON Input

Paste your next.config and see it parsed with explanations.

Validation

Check for common misconfigurations and deprecated options.

Comparison

Compare different config options side by side.

Common Use Cases

next.config Visualizer is useful in a variety of scenarios across different workflows:

Audit existing next.config for deprecated or misconfigured options

Explore available configuration options before upgrading Next.js versions

Compare different configuration approaches for images, rewrites, and redirects

Tips & Best Practices

Enable SWC minification

SWC minification is enabled by default in Next.js 13+. It provides faster builds than Terser while maintaining compatibility.

Use output: 'standalone' for Docker

Enable the standalone output mode in next.config for smaller, self-contained Docker deployments.

Related Guides & Articles

Deepen your knowledge with these next.js guides and tutorials: