alt/repo
alternative-repository

Text compare

ALT Text Compare

Compare two versions of text and see exactly what changed. Paste the old version and the new version, then hit Compare to highlight every addition and deletion. Works for two lists, drafts, code snippets, config, or any two blocks of text.

Everything runs locally in your browser.

Differences

What this text compare tool does

A diff checker lines up two versions of text and shows what changed between them. Paste an original on the left and a changed version on the right, hit Compare, and the additions and deletions are highlighted so you can spot every edit at a glance.

Compare line by line to diff two lists, code, or config, or switch to word level so a single changed word does not flag the whole line. Ignore case and ignore whitespace let you focus on the changes that matter, and you can view the result inline or side by side.

FAQ

How does the text compare work?

It lines up your two texts and finds the longest run of matching content, then marks whatever is left as added or removed. You can compare line by line or word by word.

What is the difference between line and word diff?

Line diff flags whole lines that changed, which is great for lists, code, and config. Word diff looks inside each line, so a single changed word does not light up the entire line.

What do ignore case and ignore whitespace do?

They change how two pieces of text are matched, not how they are shown. Ignore case treats Hello and hello as equal, and ignore whitespace skips differences in spacing, so you only see the changes that matter to you.

Can I compare code or config files?

Yes. Paste both versions and use line diff for the clearest view of changed lines. The result is text only, so nothing about your snippet is interpreted or run.

Can I compare two lists?

Yes. Paste one list on each side and use line diff. Each line is treated as an item, so added and removed entries are highlighted and the shared ones stay put.

Is my text private?

Yes. Both texts are compared right inside your browser and nothing is ever sent to a server or saved anywhere.