Word Counter
Count words, characters, sentences and paragraphs as you type, with reading and speaking time alongside.
Paste two versions of a text and see what changed line by line, with additions in green and removals in red. The comparison runs in your browser.
Updated
Your browser is preparing the tool. It runs 100% locally.
Paste an original and a changed text and the tool compares them line by line. Unchanged lines stay plain, removed lines turn red and added lines turn green. It compares by position, line one against line one and line two against line two. That keeps the output easy to read, but inserting a line near the top can make everything below it show as changed. Your browser does the comparison, so neither text leaves your device.
This tool shows the differences between two versions of a text. It lines them up and marks each line as unchanged, removed or added, so you can see what was edited between the original and the new version.
Use it to spot edits between two drafts, two config files or two code snippets: what was taken out, what was put in, and what stayed the same.
The tool splits both texts into lines and compares them position by position: the first line of the original against the first line of the changed text, the second against the second, and so on. If two lines match, the line is shown unchanged. If they differ, the original line is marked as removed and the changed line as added.
Git and most diff tools work differently. They use the Myers algorithm, which finds the longest common subsequence, so inserting or deleting a line counts as a single change. Here an insertion near the top shifts every line below it out of alignment, and they all show as changed.
for each line position i:
original[i] == changed[i] → unchanged
original[i] != changed[i] → - original[i] (removed) and + changed[i] (added)apple / banana / cherry vs apple / BANANA / cherry → line 2: - banana + BANANA (lines 1 and 3 unchanged)Because it compares by position, inserting a line near the top pushes the following lines out of alignment, so they all show as changed. A Myers or longest-common-subsequence diff would recognise the single insertion.
When lines are edited in place and none are added or removed, the comparison is accurate: the changed lines are flagged and the rest show as unchanged.
Insertions and deletions can mislead it. Adding or removing a line near the top shifts everything below out of alignment, so many unchanged lines are reported as changed. A Myers or longest-common-subsequence diff would handle this correctly.
It works on whole lines. A line with a one-word edit shows as a removed line plus an added line, and the specific word that changed is not highlighted.
Matching is exact and case-sensitive. A difference in capitalisation, spacing or punctuation makes two lines count as different, so even trivial formatting changes show up as edits.
Check what an editor changed between your draft and theirs.
Find the settings that differ between two copies of a config file.
Compare two versions of a short piece of code before you paste it back.
Confirm which lines were altered and which were left alone.
For inserted or deleted lines, or for word-level changes, use git diff or a dedicated diff app. They use the Myers (longest common subsequence) algorithm and align the texts correctly, which this positional comparison cannot do.
This is a simple positional diff: line 1 is checked against line 1, line 2 against line 2. Git and most diff tools use the Myers (longest common subsequence) algorithm instead, which handles inserted lines better.
Count words, characters, sentences and paragraphs as you type, with reading and speaking time alongside.
Reverse text by character, by word or by line.
Find and replace every match in your text at once, with optional case-insensitive and regex modes. Plain searches match literally.
Switch text between UPPERCASE, lowercase, Title Case, Sentence case, and aLtErNaTiNg with one click per case.
Generate placeholder Lorem Ipsum paragraphs, starting with the classic opening line or fully random.
Remove duplicate lines from a list while keeping the first copy of each in its original position.
Run your check at the top of the page. What you enter stays on this device.