Pretty Diff - The difference tool Updated: 3 September 2010
Read the documentation before using this tool. Use this free open-source tool to accurately diff between files in different environments regardless of comments or minification down to the whitespace. This tool is written entirely in JavaScript and it can also beautify and minify HTML. If your browser does not support ETags please use CTRL + F5 to refresh the tool to ensure you are using the latest version.
Main Options Function Beautify Code Minify Code Pretty Diff
Code type JavaScript (default) CSS CSV Markup Plain Text (diff only)
Separator — Character sequence to separate list items. Default is comma.
Input display Orient horizontally Orient vertically
Beautify Options Indentation Size
Indentation Character Indent with Other Characters Indent Space Indent Tab Indent New Line
Indent Comments Indent Comments No Comment Indentation
Indent Style/Script Indent to markup Indent Script/Style independently
Presume HTML Not SGML type HTML Presume SGML type HTML
Minify Options JavaScript Toleration — Correct sloppy JavaScript line termination? (Experimental)
Diff Options Print or Save Output — Opens report into a popup without the form elements or text paragraphs.
JavaScript Toleration — Correct sloppy JavaScript line termination? (Experimental)
Context size (optional) — This sets number of lines of code to pad the differences.
Diff View Type Side by Side View Inline View
Beautify Code Beautification input Beautification output
Minify Code Minification inpup Minification output
Output size Input number of lines
Unix format input Windows format input
Unix format difference Windows format difference
Percentage decreased (from unix text) Percentage decreased (from windows text)
Base Text User supplied label (optional)
New Text User supplied label (optional)
Submit
Summary Execution time: 0.000 seconds
Number of differences: 0 differences
Please send comments, feedback, and requests to cheney@mailmarkup.org .
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 .