Try these samples to get a feel for how Pretty Diff works.

  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. Beautify (pretty-print) React JSX format.

    Raw code used for this example:

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

    Raw code used for this example:

  13. Minify a large XML Schema with verbose annotations.

    Raw code used for this example:

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

    Raw code used for this example: