Comparing two saved text files usually means opening both and reading side by side.
Text File Compare loads two files in the browser and highlights the line differences, with a paste fallback.
How to use File Compare Online
- Choose the original .txt, .md, or .csv file in the first slot.
- Choose the changed file in the second slot, or paste fallback text into the panels.
- Use Ignore case or Trim line ends if needed, then review and copy or download the diff.
Use cases
- Comparing two exported .txt versions of a document.
- Diffing two .csv files line by line.
- Checking a downloaded file against an edited copy.
Good to know
Text File Compare reads the files you choose directly in the browser using the File API, so their contents are never uploaded, and falls back to whatever you paste into the panels. It accepts .txt, .md and .csv and compares line by line. The ignore options affect matching only.
Frequently asked questions
Which file types can I compare?
Plain-text formats such as .txt, .md and .csv; the files are read locally in your browser, not uploaded.
Can I paste text instead of choosing files?
Yes. The panels accept pasted text as a fallback, so you can compare without selecting files.
Does it edit my files?
No. It only reads the files to compare them and shows the differences; your files are not changed.