Pretty Diff - The difference tool

Examine these samples to see some of the capabilities and potential of the Pretty Diff tool.

Updated: 17 Apr 2012

  1. Diff a minified JavaScript source from Pretty Diff to a duplicate but unminified code source.

    Raw code used for this example:

  2. Diff complete Node.js v0.6.15 documentation to v0.6.13 documentation. Warning, big execution!!

    Raw code used for this example:

  3. Diff a JavaScript source from jQuery to obfuscated code. Demonstrates why I dislike obfuscation. Warning, big execution!!

    Raw code used for this example:

  4. Diff a minified HTML sample to a similar different minified HTML source.

    Raw code used for this example:

  5. Beautify (pretty-print) a large JavaScript code sample.

    Raw code used for this example:

  6. Beautify (pretty-print) a large JavaScript code sample with some auto-correction for missing or sloppy syntax.

    Raw code used for this example:

  7. Scope analysis of a deeply nested JavaScript code sample.

    Raw code used for this example:

  8. Beautify (pretty-print) the HTML of the Stackoverflow.com homepage as XML.

    Raw code used for this example:

  9. Beautify (pretty-print) the HTML of the W3Schools JavaScript RegExp reference as HTML.

    Raw code used for this example:

  10. Beautify (pretty-print) the HTML of the full Node.js documentation.

    Raw code used for this example:

  11. Minify the HTML of the W3Schools JavaScript RegExp reference as HTML.

    Raw code used for this example:

  12. Minify a large XML Schema with verbose annotations.

    Raw code used for this example:

  13. Minify the HTML of the full Node.js documentation.

    Raw code used for this example:

Please send comments, feedback, and requests to [email protected].

Created by Austin Cheney on 3 Mar 2009. This is a heavy modification of JavaScript tools: jsdifflib, jsmin in JavaScript, cleanCSS and other custom written libraries.