How to compare two texts for differences
Comparing drafts, configuration files or lists by eye is error-prone. This tool compares line by line and marks what changed.
Step by step
- Add your text. Type or paste it into the box.
- Choose options. Pick the settings you need. The result updates as you go.
- Copy or download. Copy the result or save it as a file.
Tips for better results
- Tick “ignore case” or “ignore spaces” to hide trivial differences.
- Red lines exist only in the first text; green lines exist only in the second.
- It compares whole lines, so a one-word change shows as a removed and an added line.
Limits to know
- Formats: Plain text
- Size: Limited by browser memory
- Notes: Line by line comparison, up to about 2,000 lines each.
At a glance
| Tool | Text Compare |
|---|---|
| Category | Text Tools |
| Works with | Plain text |
| Size limit | Limited by browser memory |
| Where it runs | In your browser tab; your input is not uploaded |
| Cost | Free, no sign-up |
Frequently asked questions
How large can the texts be?
Up to about 2,000 lines each. Larger inputs show a message.
Does it compare characters?
No, line by line only.
If something does not work
- The result is empty. Check that you typed or pasted text into the input box and that the options are not hiding everything.
- The page feels slow. Very large text slows any browser tool. Work on smaller parts.
- Characters look wrong. Make sure the text is saved as UTF-8 in the program you copied it from.
- Copy does not work. Some browsers block automatic copying; select the result and copy it yourself.
Still stuck? Use Report a Problem and tell us the tool, your browser and what happened, or read the Help Center.
Related tools and guides
- Case Converter: Change text to uppercase, lowercase, title case, sentence case, camelCase, snake_case, kebab-case and more. Read the guide
- Text Formatter: Trim lines, remove empty lines, collapse spaces, number lines and add a prefix, suffix or separator to every line. Read the guide
- Remove Duplicate Lines: Delete repeated lines and keep the first occurrence of each. Options to ignore case and trim spaces. Read the guide
More tools like this are in Text Tools, or browse all tools.