PasteDiff


About PasteDiff

PasteDiff is a small website for a job that usually gets a heavy tool: seeing what changed between two pieces of text, and knowing how long each piece is. It is run by Jeff, the person at the address on the contact page. It is not a company product, and it does not have an account system, a document library, or a team of editors behind the box. The site is the page, the guides, and the comparison that runs when you click the button.

It started because the usual places people compare text ask for more than the comparison. A word processor wants the text inside its file format and its track-changes history. A hosted diff wants the text on a server so it can render the marks. A chat assistant wants the text as a prompt. For a paragraph, a caption, a config block, or a clause someone is about to approve, that is a lot of machinery, and it puts a copy of the words somewhere the writer did not mean to keep a copy. PasteDiff is the smaller version: two boxes, counts that update as you type, and a comparison that stays in the browser.

What you are looking at

The comparison page is the product. The earlier text goes on the left and the later text on the right. Under each box you get a character count, a count with whitespace removed, and a word count. Characters are graphemes when the browser can split text that way, so an emoji or a composed accent is one character rather than a pile of code units. Words are the trimmed text, split on whitespace. Those numbers move while you type. The highlights do not. You click Compare when you want the marks, which keeps a half-finished edit from being presented as the difference you already accepted.

After Compare, the left column shows your first text with removals marked, and the right column shows the second text with additions marked. Shared text stays plain. You can compare by words or by characters. Word mode is for sentences and clauses. Character mode is for a code, a name, or a single wrong digit. Ignore case is optional and applies only to the comparison, not to the counts. A short menu can lower-case both sides, sort lines, turn line breaks into spaces, or collapse extra whitespace. Those are local edits to the boxes. They are not an upload, and they are not a suggestion engine.

The comparison itself looks for a short explanation of how the left text becomes the right text: which pieces were kept, which were removed, and which were added. Shared text at the ends is set aside first. If two passages barely share any wording, the page shows that stretch as one removal and one addition instead of spending a long time on a fine-grained alignment that would not be more truthful. The plain-language guide to how a diff works describes that without asking you to read an algorithms paper.

What the site refuses to be

PasteDiff does not store your text, score your writing, or rewrite it. It does not know which contract clause you should sign, which resume date is true, or which AI sentence kept your meaning. The guides describe those situations because a highlight is only useful if you know what you are looking for. They are not advice from a lawyer, a career office, or an editor. The terms put that in the form of a rule: you are responsible for the text you paste and for what you do with the result. There is no folder of past comparisons. If you need a record, you keep the files. A separate guide covers a simple habit for writers who are not going to adopt Git.

How the privacy approach is supposed to work

The text in the boxes is handled by the page you already downloaded. It is not posted to PasteDiff to be compared, because there is nothing on the server that compares documents. Closing the tab clears it. That claim is narrow on purpose. The site is still a website. Cloudflare serves the pages and can see ordinary request data. Google Fonts are loaded so the type matches the design, and that request includes an IP address. Advertising, where it runs, is Google AdSense, which may use cookies. The contact page does not load the ad script, and an address that is not a page on this site does not load it either. The privacy policy lists those parties, what they receive, and what they do not.

Spellcheck is the browser’s feature, not a PasteDiff upload. If your browser uses an online spelling service, that service may receive words from the box under the browser’s own settings. Turn that off when you are comparing something you would not type into a search box. The comparison does not need it.

Jeff built the page this way because the comparisons he wanted were short, and sending them to a host cost more than doing the work locally. The guides cover counts that disagree, rewrites that change a date, whitespace that looks like an edit, and the difference between a word change and a one-character change. The tool is on the front page. If a count or a highlight surprised you, start with the guides.