Next.js config visualizer. Parse and explore next.config options with descriptions, defaults, validation, and deprecation warnings.
100% browser-based — your data never leaves your device
Parse and explore next.config.js/ts options with descriptions and defaults.
outputThe build output mode. 'standalone' for serverless deployment.
'standalone' | 'export'Default: undefinedassetPrefixPrefix for static assets when hosted on a CDN.
stringDefault: ''basePathBase path for the application under a sub-path.
stringDefault: ''compressEnable gzip compression for rendered content.
booleanDefault: truedevIndicatorsConfiguration for the development indicators overlay.
objectDefault: { position: 'bottom-left' }distDirCustom build output directory.
stringDefault: '.next'envEnvironment variables available at build time.
objectDefault: {}eslintESLint configuration for builds.
objectDefault: { ignoreDuringBuilds: false }experimentalExperimental features (may change without notice).
objectDefault: {}generateBuildIdCustom build ID generation function.
functionDefault: undefinedgenerateEtagsEnable or disable ETag generation.
booleanDefault: trueheadersCustom HTTP headers for specific paths.
functionDefault: undefinedhttpAgentOptionsHTTP agent configuration for server-side requests.
objectDefault: { keepAlive: true }i18nInternationalization configuration.
objectDefault: undefinedimagesImage optimization configuration.
objectDefault: { formats: ['image/webp'] }loggingLogging configuration for the server.
objectDefault: undefinedmiddlewareCustom middleware file path.
stringDefault: undefinedonDemandEntriesConfiguration for on-demand entry compilation.
objectDefault: { maxInactiveAge: 60000, pagesBufferLength: 5 }outputFileTracingEnable output file tracing for standalone deployment.
booleanDefault: truepageExtensionsFile extensions to resolve as pages.
string[]Default: ['tsx', 'ts', 'jsx', 'js']poweredByHeaderInclude X-Powered-By header in responses.
booleanDefault: trueproductionBrowserSourceMapsEnable source maps in production.
booleanDefault: falsereactStrictModeEnable React strict mode for development.
booleanDefault: falseredirectsURL redirect configuration.
functionDefault: undefinedrewritesURL rewrite configuration.
functionDefault: undefinedsassOptionsSASS compiler options.
objectDefault: {}serverExternalPackagesPackages to mark as external on the server.
string[]Default: []trailingSlashAdd trailing slash to URLs.
booleanDefault: falsetranspilePackagesPackages to transpile with Next.js compiler.
string[]Default: []typescriptTypeScript configuration for builds.
objectDefault: { ignoreBuildErrors: false }webpackCustom webpack configuration.
functionDefault: undefinedVisual builder for Next.js App Router routes including groups and parallel routes.
Middleware Matcher BuilderBuild and test Next.js middleware config matcher patterns visually.
next.config VisualizerParse and explore next.config.js/ts options with descriptions and defaults.
Image Optimization CalculatorCalculate optimal image dimensions, sizes, and srcset for Next.js Image.
Route Handler GeneratorGenerate Next.js App Router API route boilerplate with type safety.
The next.config file quietly controls builds, image handling, redirects, and rewrites, yet its options are scattered across version-specific documentation. This visualizer parses your config and explains every option, its type, and its default value.
Configuration drift is a fact of life in long-lived Next.js projects, and this tool targets the moments when your config needs a second opinion. Use it to audit an existing next.config for deprecated or misconfigured options, explore available configuration options before upgrading Next.js versions, and compare different configuration approaches for images, rewrites, and redirects. Developers preparing a release or planning a version upgrade are the natural audience.
The tool is part reference, part safety net. The searchable config reference covers all options with types and defaults, JSON input parses your own file with explanations, validation flags common misconfigurations and deprecated options, and comparison lays alternative settings side by side so you can weigh trade-offs.
Your next.config can expose internal domain patterns, image hosts, redirect maps, and infrastructure choices that you would rather keep out of the public eye before a release. Pasting it into an online analyzer shares the details of how your application is built and deployed.
This visualizer runs entirely in your browser, so your configuration never leaves your device. You can audit and compare build settings privately, right up to the moment you choose to deploy.
Copy your next.config.js or next.config.ts file contents and paste them into the input area.
Each configuration option is displayed with its description, type, default value, and current setting for easy review.
Look for deprecation warnings, type mismatches, and common misconfigurations highlighted by the validation engine.
Use the comparison feature to see different option values side by side when evaluating configuration trade-offs.
Practical examples to help you get the most out of next.config Visualizer:
{
images: {
formats: ["image/avif", "image/webp"],
remotePatterns: [
{ protocol: "https", hostname: "example.com" }
],
deviceSizes: [640, 750, 1080, 1200, 1920]
}
}{
async redirects() {
return [
{ source: "/old-page", destination: "/new-page", permanent: true },
{ source: "/blog/:slug", destination: "/articles/:slug", permanent: true }
]
}
}The 'images.domains' option is deprecated in Next.js 13+. Use 'images.remotePatterns' instead for more secure and flexible image domain configuration.
Redirect sources and destinations must match your configured trailing slash setting. If next.config has trailingSlash: true, add a trailing slash to all redirect paths.
Paste your next.config.js/ts file and the tool parses every option with descriptions, expected types, default values, and any deprecation warnings.
Yes. It checks for common misconfigurations, deprecated options, and type mismatches in your next.config file.
Yes. The comparison feature lets you view different configuration options side by side to understand the trade-offs between settings.
No. All parsing and validation happens locally in your browser. Your configuration never leaves your device.
Searchable reference of all next.config options with types and defaults.
Paste your next.config and see it parsed with explanations.
Check for common misconfigurations and deprecated options.
Compare different config options side by side.
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
SWC minification is enabled by default in Next.js 13+. It provides faster builds than Terser while maintaining compatibility.
Enable the standalone output mode in next.config for smaller, self-contained Docker deployments.
Explore more tools in the Next.js workspace:
App Router Path Builder
Visual builder for Next.js App Router routes including groups and parallel routes.
Middleware Matcher Builder
Build and test Next.js middleware config matcher patterns visually.
Image Optimization Calculator
Calculate optimal image dimensions, sizes, and srcset for Next.js Image.
Route Handler Generator
Generate Next.js App Router API route boilerplate with type safety.