Skip to main content
wp-config.org

Server configuration

Compare configuration files

Paste an original and an updated configuration to see every changed line before you deploy it. Compare configuration files privately: the comparison runs in your browser.

  • Line by line
  • Unified diff download
  • Private to your browser

Free, no sign-up. It runs in your browser, so nothing you type is sent to this site.

Nothing you enter leaves your browser.

This tool runs in your browser and needs JavaScript. Turn JavaScript on and reload the page.

Compare configurations

What you can do

  • Line by line comparison in your browser

  • Added, removed and unchanged lines

  • Windows and Unix line endings treated the same

  • Copy and download the comparison

  • Nothing uploaded and no saved history

How to compare two configuration files

  1. Paste both versions

    Paste the current configuration into Original and the new one into Updated.

  2. Read the changes

    Lines starting with + were added and lines starting with - were removed; a space marks lines that did not change.

  3. Check before deploying

    Copy or download the comparison if you need it, remove secrets before you share it, and check the real file with its own syntax checker before you deploy.

See exactly what changed

This free comparison tool shows the difference between two versions of a configuration file, such as wp-config.php, an Nginx server block or php.ini, line by line. The comparison is made in your browser, and the download is a standard unified diff.

Know the limits

A text comparison does not understand what the settings mean or check their syntax. Each version can be up to 1,000 lines and 100,000 characters. The comparison can contain passwords or keys, so treat it like the files themselves.

Make a new file to compare with the wp-config.php generator, the Nginx config generator or the PHP extensions planner.

Frequently asked questions

Is my configuration uploaded?

No. The comparison runs in your browser and nothing is saved, so files with passwords or keys never leave your computer. Remove secrets before you share the result.

Why do Windows and Linux files show no difference?

Windows (CRLF) and Unix (LF) line endings are treated the same, so only real changes are shown.

Can I download the comparison?

Yes. You can copy it as text or download it as a .diff file.

Related tools

  • wp-config.php

    Generate a wp-config.php with database settings, new salt keys and explained options.

  • Nginx

    Generate an Nginx config for WordPress with TLS, caching, HTTP/2 and HTTP/3.

  • PHP extensions

    Plan PHP extensions, PHP-FPM and OPcache settings for WordPress.