About Compare Text

Compare Text is a free, in-browser tool for comparing two pieces of text and seeing what changed. Paste, drop in a file, or upload from disk. The diff runs locally and the result appears in the same page.

The site has a small set of rules it sticks to: no signup, no logging of what you paste, and no upload unless you press Share. Ads pay for the hosting, but they stay out of the way and never see your text. The tool you see is the whole product. There is no premium tier hiding the useful features behind a paywall.

Why we built it

We kept needing to compare two texts quickly online. The sites we found wanted an account, slowed to a crawl on anything longer than a page, or said nothing clear about what happened to the text we pasted.

So we built our own: one page, two panes, and a diff that runs in the browser. Most of the work since has gone into keeping it that simple.

What we use it for ourselves

We use it every week. A short list of recent uses: reviewing translation revisions for the site itself, comparing two AWS IAM policies before applying the new one, spotting drift in Terraform plan output between two runs, and diffing two versions of a contract clause.

Those jobs range from a 50-word paragraph to a 5,000-line config file. The same diff engine handles both, and the editor has to stay responsive while you type into either one.

What's not here

No analytics on your input. The text you paste is not uploaded or recorded unless you share it, and a share link expires on the schedule you pick when you create it. Google Analytics and Microsoft Clarity tell us how the site itself gets used (page views, clicks, usage patterns), but neither is part of the diff engine. Ads come from Google AdSense and pay for the hosting; they cannot see what you paste. No pricing page. Sign in is optional and only needed if you want to save diffs to your account.

The details are on the privacy page, which also walks through how to verify the in-browser claim using your browser's DevTools Network tab, in about three minutes.

What's on the site

The comparison tools all share the same diff engine and editor:

Compare Text is the original general-purpose text-diff tool, and the home page. Compare JSON adds formatting, minifying, key sorting, and validation before the diff. Compare XML formats, minifies, and checks XML, and Compare YAML flags tab indentation, the mistake behind most broken hand-edited YAML. There are pages for CSV, SQL, HTML, Markdown, and config files as well. Contract Redline is the same engine framed for legal redlining, where the change list and the inline highlight matter more than the raw character count. Next to the diff tools sit four small text utilities: a word counter, a line sorter, a duplicate-line remover, and a case converter. The privacy page covers the data side.