Pretty Diff - The difference tool Pretty Diff - The difference tool

Use this free open-source file comparison tool to accurately diff between file versions regardless of comments or minification to the whitespace. This tool is written entirely in JavaScript and it can also beautify and minify HTML.

For additional information please read the documentation. Please note that this tool is not a validator. Since this tool is client-side JavaScript only, meaning that the execution occurs on the local computer only and the resulting output is not transmitted or stored, it is safe for processing classified information. You can also find Pretty Diff on GitHub and Pretty Diff for Pastebin. For any questions please contact me at austin.cheney@us.army.mil.

If you get bored go check out my other projects: Mail Markup Language at http://mailmarkup.org/ and JSGUI (Incomplete).

Updated: 6 February 2012

Base Text

New Text

Main Options

Function

Code type

Input display

Diff Options

Diff Report Options

Print or Save Output

Diff View Type

Difference Reduction Options

Diff Quotes

Trailing Semicolons

Beautification Options

Style of Indent (JavaScript Only)

Indent Style/Script (Markup Only)

Presume HTML (Markup Only)

Ignore Content (Markup / JavaScript)

Force Indentation (Markup Only)

Diff Report

Beautify Report

Minify Report

Please send comments, feedback, and requests to austin.cheney@us.army.mil.

Created by Austin Cheney on 3 Mar 2009. This is a heavy modification of JavaScript tools: jsdifflib, jsmin in JavaScript, cleanCSS, markupmin, markup_beauty, csvbeauty, csvmin, charDecoder, and jsbeautify.