Online text compare
Compare an original and an edited paragraph online: choose word or character mode, catch invisible characters and verify that only intended edits changed.
After you revise a paragraph, it is easy to lose track of what actually changed. A word may have been dropped, a number altered or a comma removed without anyone noticing. An online text compare tool puts the original and the edited version next to each other and marks every insertion, deletion and substitution, so you can confirm that only the edits you intended made it into the final text.
What a text comparison tool does with your paragraph
The input is two pieces of plain text: the original, usually pasted into a left or top pane, and the revised version, pasted into a right or bottom pane. The output is a diff, a report of the differences between the two. Deleted text is typically highlighted in one colour or struck through, and inserted text is highlighted in another. The tool does not edit or merge anything. It only shows where the two versions differ.
The comparison works on characters, not meaning. It cannot tell you whether an edit improved the paragraph or changed its sense. That judgement stays with you. A tool that accepts plain text also sees only the characters you paste. Styling such as bold, italics or font size from a word processor is not part of that comparison.
Why comparison granularity matters for paragraphs
Granularity is the unit the tool compares. Many diff tools were built for source code and compare line by line. A paragraph is usually a single long line, so a line-level comparison often marks the entire paragraph as changed even when only one word differs. For paragraph revisions, use a word-level or character-level mode if the tool offers one.
| Granularity | What gets marked | When it helps with paragraph revisions |
| Line | Whole lines that differ | Comparing several paragraphs, or text where each sentence sits on its own line |
| Word | Words added, removed or replaced | Reviewing wording changes made during editing |
| Character | Individual letters, punctuation and spaces | Spotting typos, punctuation changes, extra spaces or a different quote style |
Step by step: comparing an original and an edited paragraph
- Copy the original paragraph from its source rather than retyping it, because retyping can introduce differences of its own.
- Paste it into the original pane.
- Copy the edited paragraph and paste it into the second pane.
- Select word-level or character-level comparison if the tool offers a choice.
- Turn off every ignore option for the first pass, including options for whitespace, case and punctuation.
- Run the comparison and read each highlighted change in order.
- Check the result using the verification steps later in this guide.
Example: a revised sentence
The following pair is illustrative text written for this guide. It does not come from a real document.
Original: The committee approved the budget on Monday, but the final vote was delayed.
Edited: The committee approved the revised budget on Tuesday, but the final vote was postponed.
A word-level comparison should find one insertion (revised) and two substitutions (Monday to Tuesday, delayed to postponed). The line below writes that result by hand in a plain-text notation, where [-...-] marks deleted text and {+...+} marks inserted text. This is the same notation git uses for its plain word diff. It was not captured from any tool, and on-screen tools usually show the same information with colour instead.
The committee approved the {+revised +}budget on [-Monday-]{+Tuesday+}, but the final vote was [-delayed-]{+postponed+}.
At character level, the same edits can be split into smaller pieces. For example, Monday and Tuesday share the ending "day", so a character diff may mark only the letters before it. That view is harder to read for wording changes but better for catching single-character typos.
Invisible and look-alike characters
Some differences change the underlying text but look identical on screen. A strict comparison reports them as changes, which can be confusing when you cannot see what differs. Text copied from word processors, web pages or messaging apps often contains these characters.
| Character | Code point | How it looks | Common source |
| Space | U+0020 | Normal space | Typing on a keyboard |
| No-break space | U+00A0 | Same as a normal space | Word processors and web pages |
| Apostrophe (straight) | U+0027 | ' | Plain-text editors |
| Right single quotation mark | U+2019 | ’ | Smart-quote autocorrect |
| Hyphen-minus | U+002D | - | Keyboard hyphen key |
| En dash | U+2013 | – | Autocorrect and typesetting |
| Line ending (LF) | U+000A | Line break | macOS and Linux files |
| Line ending (CR LF) | U+000D U+000A | Line break | Windows files |
In the illustrative pair below, the two lines look the same. The second rendering makes the hidden characters explicit by writing each one as its code point in brackets.
As displayed:
Original: It's ready now.
Edited: It’s ready now.
With the relevant characters made explicit:
Original: It[U+0027]s[U+0020]ready[U+0020]now.
Edited: It[U+2019]s[U+0020]ready[U+00A0]now.
If a comparison flags a change you cannot see, check for one of these characters first. Whether the change matters depends on where the text goes. Curly quotes may be intended in a published article. In text bound for code, a search index or a form that validates input, they can stop exact matches from working.
Ignore options that can hide real changes
Ignore options reduce noise, but each one can also hide an edit that changes meaning.
- Ignore whitespace: hides doubled spaces, line-ending differences and, depending on the tool, no-break spaces.
- Ignore case: hides changes such as "us" becoming "US", where capitalisation changes the meaning.
- Ignore punctuation, where offered: hides a removed comma, as in "Let's eat, Grandma" versus "Let's eat Grandma".
Run the first comparison with all ignore options off. Turn them on afterwards only if you have already confirmed that the differences they hide are irrelevant to your purpose.
Verifying the result
- Make sure each pane holds the complete paragraph by checking that its first and last words are present.
- If the tool reports no differences when you know you edited the text, check that you did not paste the same clipboard contents twice.
- Match every highlighted change to an edit you meant to make.
- Check numbers, names, dates and negations such as "not" or "no" closely, since small changes there can reverse the meaning.
- Confirm that the unhighlighted parts of the paragraph really are unchanged.
- As a cross-check, swap the two panes and compare again. Insertions and deletions should trade places, and the set of changes should otherwise stay the same.
Privacy before you paste
An online tool may send your text to a server, and it may store or log it. Practice varies by service and can only be confirmed from that service's current documentation or privacy policy. For confidential drafts, choose a tool that states it processes text locally in the browser, or compare offline. Word processors often include a document compare feature. If git is installed, it can produce a word-level diff of two files without either file being in a repository.
git diff --no-index --word-diff original.txt edited.txt
What this guide does not cover
No specific online comparison tools were tested or reviewed for this guide. Product names, text length limits, pricing and data-handling policies are not stated here, so check them directly with any tool you are considering.