About My Text Compare

My Text Compare is a free, online text diff tool that lets you instantly compare two blocks of text and see exactly what changed — character by character, word by word, or line by line. Whether you're reviewing code, proofreading a document, or tracking edits across versions, our tool highlights additions, removals, and modifications in a clear, color-coded view.

Our Mission

Our mission is to make text comparison simple, fast, and private. We believe you should be able to compare any two texts without uploading your data to a server, without signing up for an account, and without encountering third-party trackers. That's why My Text Compare runs entirely in your browser using JavaScript — your text never leaves your device.

Why We Built This

Too many online diff tools require you to paste sensitive text into a form, only to have that text sent to a remote server for processing. For developers reviewing configuration files, writers comparing drafts, or anyone handling confidential material, that's a real risk. We built My Text Compare to solve this problem: a full-featured diff engine with zero data transit.

What We Offer

  • Three comparison modes. Switch between character-level, word-level, and line-level diffing to suit your needs.
  • 100% private. All processing happens in your browser. No text is ever sent to a server, stored, or logged.
  • Fast & responsive. Built on the battle-tested jsdiff library. Large diffs automatically run in a Web Worker to keep the interface smooth.
  • Flexible input. Paste text, drag-and-drop files, or load from a shared URL. Supports .txt, .md, .json, .js, .py, .html, .css, and many other formats.
  • Shareable links. Generate a compressed URL (using LZ-string) that encodes both texts and your comparison settings. Anyone with the link sees the exact same diff.
  • Keyboard shortcuts. Ctrl+Enter to compare, Ctrl+D to clear, Ctrl+Shift+S to swap panes, Ctrl+F for full screen.
  • Dark mode. Easy on the eyes, day or night.

Transparency

We believe transparency is key to building trust. My Text Compare runs entirely in your browser — you can open your browser's Network tab and verify that no data is ever transmitted. All processing happens locally using JavaScript, with no server-side components.

Contact

Have a question, suggestion, or found a bug? We'd love to hear from you. Reach out at hello@mytextcompare.com or visit our contact page.