Base Text
New Text
Java, C#, and TypeScript support available!
Function
Updated:
Accessibility note: Hold shift and press control key twice to focus on the previous element or press control twice to focus away from this textarea.
Please feel free to submit feedback about Pretty Diff at any time by answering the following questions.
How likely are you to recommend Pretty Diff to a friend or coworker? Never Not Likely Rarely Maybe Probably Frequently Always
General statistics | |
---|---|
Total number of page loads | 0 |
Total usage count | 0 |
Start date of logging | |
Average page loads per day | 0 |
Average uses per day | 0 |
Largest code source | 0 |
Usage statistics | |
Diff | 0 |
Beautification | 0 |
Minification | 0 |
Parse Table | 0 |
Analysis | 0 |
Language statistics | |
Markup | 0 |
JavaScript | 0 |
CSS | 0 |
CSV | 0 |
Plain text | 0 |
(API name in parenthesis)
(API name in parenthesis)
Indent Comments (comments)
Quotes (quoteconvert)
Style of Indent, CSS / JavaScript (braces)
Fix Sloppy Code, Markup / JavaScript (correct) Read the guide.
Property Sorting, CSS / JavaScript / Markup (objsort)
Vertically Align, CSS / JavaScript (vertical)
Compressed CSS (compressedcss)
Insert Extra Lines (cssinsertlines)
Leading 0s (noleadzero)
Comma Separated Selector Lists (selectorlist)
Force an Empty Line Above Comments (commline)
Dust.js Template (dustjs)
Force Attribute Indentation (force_attribute)
Force Indentation (force_indent)
Presume HTML (html)
YAML Jekyll Support (jekyll)
End Self-Closing Tags with a Space (spaceclose)
Indent Style/Script (style)
Merge Empty Tag Sets Into A Single Self-Closing Tag (tagmerge)
Sort Child Items of Each Parent Element tagsort
Preserve Text Content (textpreserve)
Do Not Format Inside of Tags (unformatted)
Brace Style (brace_style)
Brace Lines (braceline)
Brace Padding (bracepadding)
Else on New Line (elseline)
Trailing Commas (endcomma)
Formatting Arrays (formatArray)
Formatting Object Literals (formatObject)
Space After Function Name (functionname)
Scope Analysis (jsscope) Read about HTML output and scope with this feature
Chain Methods (methodchain)
Never Flatten Destructured Lists (neverflatten)
Case Indentation (nocaseindent)
Method Chain Indentation (nochainindent)
Function Space (space)
Read about style guide support
Ternary Formatting (ternaryline)
Variable Lists (varword)
(API name in parenthesis)
Property Sorting, CSS / JavaScript / Markup (objsort)
Quotes, Markup / JavaScript (quoteconvert)
Top Comments, CSS / JavaScript (topcoms)
IE Comments, HTML Only (conditional)
Dust.js Template (dustjs)
Presume HTML (html)
YAML Jekyll Support (jekyll)
Merge Empty Tag Sets Into A Single Self-Closing Tag (tagmerge)
Sort Child Items of Each Parent Element tagsort
Preserve Text Content (textpreserve)
Do Not Format Inside of Tags (unformatted)
(API name in parenthesis)
Fix Sloppy Code (correct) Read the guide.
Parsed Output Format (parseFormat)
HTML Table Rendering
Property Sorting, CSS / JavaScript / Markup (objsort)
Quotes (quoteconvert)
Parse Attributes (attributetoken)
Dust.js Template (dustjs)
Presume HTML (html)
YAML Jekyll Support (jekyll)
Include Whitespace Tokens (parseSpace)
Merge Empty Tag Sets Into A Single Self-Closing Tag (tagmerge)
Sort Child Items of Each Parent Element tagsort
Preserve Text Content (textpreserve)
Do Not Format Inside of Tags (unformatted)
Variable Lists (varword)
HTML Table Rendering
Dust.js Template (dustjs)
Presume HTML (html)
YAML Jekyll Support (jekyll)
Please post comments, feedback, and requests at Github.
Special thanks to Harry Whitfield, Andreas Greuel, and countless others.