Text Diff — Character-Level Comparison
Paste two texts below and instantly see exactly what changed — character by character. All processing is 100% in your browser.
Frequently Asked Questions
What is character-level diff?
Character-level diff compares two texts at the individual character level, rather than just line by line. This gives you precise insight into exactly which characters were added, removed, or unchanged between two versions.
Is my text sent to any server?
No. All comparison is done entirely in your browser using JavaScript. Your text never leaves your device — no server, no storage, no tracking of your content.
What is the difference between side-by-side and unified view?
Side-by-side view shows the original and modified texts in two columns so you can visually compare them. Unified view shows a single combined output with insertions highlighted in green and deletions in red inline.
Can I compare code with this tool?
Yes! The text diff tool works great for comparing code, prose, configuration files, or any plain text. It preserves whitespace and newlines for accurate comparisons.