Xepoca
← Back to Xepoca

Text tool

Text Diff Checker

Compare two texts or files by line, word, or character. Review additions, removals, and edits in side-by-side or unified views, then copy or download the differences.

🔒 100% private browser processing

Your text and files never leave your device. Xepoca performs the entire comparison locally and does not upload or store your data.

Text to compare

Paste text directly or open a text, code, data, or log file.

Original text

original.txt

Drop a file here

Or click to browse · Maximum size 2 MB

Drop a file anywhere in this panel0 characters

Revised text

revised.txt

Drop a file here

Or click to browse · Maximum size 2 MB

Drop a file anywhere in this panel0 characters

Comparison settings

Comparison level

Input statistics

Original lines

0

Revised lines

0

Original words

0

Revised words

0

Original size

0 B

Revised size

0 B

Line mode is best for documents and code reviews. Word mode explains rewritten sentences, while character mode reveals small spelling and punctuation changes.

How text comparison works

1

Add both versions

Paste original and revised text, or load common document, code, data, configuration, and log files.

2

Choose the detail level

Compare complete lines for structure, words for rewritten passages, or characters for the smallest edits.

3

Review and export

Inspect highlighted additions and removals, then copy or download a unified diff for your records.

Useful for documents, code, and data

Writing and editing

Compare article drafts, contracts, policies, essays, product copy, translations, and email revisions without losing small changes.

Code and configuration

Review source code, JSON, SQL, CSS, environment templates, configuration files, and deployment notes before publishing changes.

Data quality checks

Spot changed CSV rows, log entries, generated reports, exported records, and copied lists before importing or sharing them.

Flexible matching

Ignore letter case, whitespace changes, or blank lines when formatting differences should not affect the comparison.

Related Xepoca tools

Frequently Asked Questions

Are my texts or files uploaded?+
No. The comparison runs locally inside your browser. Xepoca does not upload, transmit, or store either version.
Which comparison level should I use?+
Use line mode for documents, source code, logs, and structured text. Use word mode for rewritten sentences and character mode for spelling, punctuation, or very small changes.
What file types can I open?+
The tool accepts common plain-text, Markdown, CSV, TSV, JSON, XML, HTML, CSS, JavaScript, TypeScript, Python, SQL, YAML, configuration, and log files up to 2 MB each.
How is similarity calculated?+
Similarity uses the amount of unchanged content compared with the combined content of both versions at the selected line, word, or character level.
What do the ignore options change?+
Ignore case treats uppercase and lowercase as equal. Ignore whitespace normalizes repeated spaces and tabs. Ignore blank lines removes empty lines before matching.
Can I compare code?+
Yes. Line mode preserves code structure and line numbers, while word or character modes can reveal smaller edits inside a snippet.
What is a .diff file?+
A unified diff is a plain-text change report. Lines beginning with a minus sign were removed, lines beginning with a plus sign were added, and unchanged lines begin with a space.