Why use this text diff?
- Compare two plain text blocks locally in your browser without uploading them.
- See added lines, removed lines, and unchanged lines with original line references.
- Normalize newline styles first, so CRLF versus LF does not create noise.
- Optionally ignore trailing spaces and tabs while still preserving line order.
Wave 3 dev-data expansion
Compare two text blocks
Paste the left and right text, choose whether trailing whitespace should count, then compare. The share URL stores settings only, not your text.
Left text
Example: current config, source copy, or original output.
Right text
Example: new config, edited copy, or generated output.
Diff summary
Use the settings URL only for options. Large pasted text should not go into the URL.
Choose text diff when structure does not matter
This page compares plain text line by line. It does not parse JSON, YAML, or code syntax. If your question is about structure, object keys, or changed data paths, use JSON diff instead.
Newline handling
Line endings are normalized before comparison. CRLF and CR are both converted to LF, so Windows versus Unix newline styles do not count as changes by themselves.
Settings-only share URL
The share button copies only the current settings, such as whether trailing whitespace is ignored. Large or sensitive pasted text should stay out of the URL, browser history, and shared links.
Frequently asked questions
How is this different from JSON diff?
Text diff compares plain text line by line. JSON diff understands JSON structure, ignores object key order, and reports changed paths instead of plain lines.
Do different newline styles count as a difference?
No. This page normalizes CRLF and CR line endings to LF before comparing. That removes noise from Windows versus Unix newline styles.
What does ignore trailing whitespace do?
It trims spaces and tabs at the end of each line before comparison. Internal spaces still count as differences.
Why does the share URL not include my pasted text?
This page copies a settings-only URL so long or sensitive text does not get written into the address bar, browser history, or shared links.
Related
Comments (optional)
To reduce load, comments are fetched only when needed.