Discuvr Text Compare

Office & Data

CSV to Excel Paste CSV and see it as a spreadsheet instantly, with numbers, dates and IDs typed the way Excel should hold them. Download a clean .xlsx only when you want it. Sign PDF Sign a PDF in your browser - draw, type or upload your signature, place it on any page, add the date, and download the signed copy. The file never leaves your device. Redact Permanently redact PDF, Word, Excel, PowerPoint, text and image files. Matches and boxes are removed from the file itself, not covered up, and the result is checked again before you download it. What is my IP See the public IP address websites see when you connect, whether it is shared (CGNAT) or private, and what else your browser reveals. Case Converter & Line Tools Change text to UPPER, lower, Title or Sentence case, turn names into camelCase or snake_case, and remove duplicate lines or sort a list. Text Compare Paste two versions of a text to see every added, removed and changed line, with the changed words highlighted.

Writing & Proposals

Tone Polish Reformat what you wrote with proper grammar, structure and articulation - in your own voice. One paste, one reply, no chat session. Freelance Proposal Generator Describe a client problem and get a scoped, priced, ready-to-send freelance proposal in seconds.

Legal & Compliance

IP Law Q&A Chatbot Ask questions about Indian IP law - trade marks, patents, copyright, designs and more, with the web search results it used listed above each answer. Patent FER Reply Generator Paste the objections from a First Examination Report to draft a structured reply, or upload a draft for an IP risk review. Government Scheme Eligibility Finder Answer a short set of questions once. Sign in and we save your answers, so you can check which central government schemes you may qualify for without retyping them.

Privacy & Security

Website Security Scan Scan a domain for real, reproducible security weaknesses. Every finding carries the observation behind it and the command to verify it yourself. Image Scrub See exactly what your photo reveals about you - GPS, camera serial, your name - then strip it. Crop, resize, blur faces and convert, all without the image being stored anywhere.

Developer Tools

JSON Formatter Beautify, minify and validate JSON in one paste - with the exact line and column when it will not parse, and a count of what is actually in the document. Python Formatter Reformat Python the way Black would, with the line length and quote handling you choose - and a count of exactly how many lines changed. HTML Viewer Paste HTML and see it rendered live in a sandbox, at phone, tablet or desktop width - with beautify, minify, a console for scripts and a report of what is broken in the markup. IP Subnet Calculator Enter CIDR notation or an IP with a netmask and get the network address, broadcast address, usable host range and total address count instantly. Encode / Decode Encode or decode Base64, Base64URL, URL percent-encoding, HTML entities and hex as you type, with full UTF-8 support. Unix Timestamp Converter Convert a Unix epoch timestamp in seconds, milliseconds, microseconds or nanoseconds to a date in UTC or a major world time zone, and a date back to a timestamp. System Diagram Maker Type arrows like User -> API -> Database and get a laid-out architecture or flow diagram. Fold groups into one box for the big picture, number the steps for a detailed flow.

AI Workbench

AI Playground Compare responses from multiple LLM providers side by side in real time. Bring your own API keys. Agent Playground Experiment with AI agents that use tools - web search, a calculator, URL fetching - across multiple providers.

Learning

Study Buddy An interview-prep coach for top tech jobs, from the first study day to an accepted offer: a plan across DSA, LLD, system design, behavioural and AI-assisted coding, mock interviews, a resume review, an applications tracker and offer comparison.

Everyday Helpers

QR Code Generator Create QR codes from text, URLs, WiFi credentials or contact info - as PNG images or SVG vectors, with the error correction level you choose. Unit Converter Convert between length, weight, temperature, volume, speed, area and energy units instantly - 40+ unit types with instant results. Password Generator Generate a random password with cryptographically secure randomness, tune its length and character types, and see its strength in bits of entropy. Word Counter & Readability Analyzer Count words, characters, sentences and paragraphs, estimate reading time, and score readability - with true character-based counting for Chinese, Japanese, Korean and Thai text. Age / Date Difference Calculator Find someone's exact age, or the exact difference between any two dates - years, months and days, plus the total number of days and weeks. Date Difference Calculator Count the days, weeks, months and working days between two dates, or add and subtract days from a date. Percentage Calculator Calculate X% of Y, what percent one number is of another, percentage increase or decrease between two numbers, or reverse percentage - four common calculations in one tool. SIP Calculator See what a monthly investment grows to, with a yearly step-up, a starting lump sum and inflation, or find the monthly amount a goal needs. BMI Calculator Calculate your Body Mass Index (BMI) from height and weight, in metric or imperial units, classified against the WHO adult categories - underweight, normal, overweight, obese.
Sign in Get started
All toolsOffice & Data

Text Compare

Paste two versions of a text to see every added, removed and changed line, with the changed words highlighted.

Nothing you paste is stored - both texts are compared and returned in the same request.

About Text Compare

A contract came back with edits nobody flagged. A config file works on one server and not the other. Paste both versions here and see exactly what changed, line by line, with the changed words picked out.

What it does

  • Line-by-line comparison with added, removed and changed lines marked and numbered.
  • Changed words are highlighted inside edited lines.
  • Ignore case or extra spaces when only the wording matters.
  • A similarity score and a count of added, removed and changed lines.
  • Nothing you paste is stored or logged.

How it works

  1. 1 Paste the original text on the left and the changed text on the right.
  2. 2 Press Compare.
  3. 3 Read the marked lines, or swap sides to see the change the other way round.

Worked example: checking a returned contract

Paste the version you sent on the left and the version that came back on the right. Every changed clause shows up as a changed line, with the edited words highlighted, so a payment term moved from 30 to 45 days or a deleted liability cap is easy to spot. Keep one clause per line for the sharpest result, and turn on ignore spaces if the other side only changed spacing or indentation, so only wording changes are flagged.

How the comparison works

The texts are compared line by line first, so it helps to keep one clause, setting or record per line. Lines that were edited rather than added or removed are paired, and the words inside them are compared again to highlight the exact change. Word highlighting applies when the two versions of a line are together up to 1,000 characters, for up to 50,000 characters of edited lines per comparison; longer lines are marked as a whole. Each side can be up to 200,000 characters and 5,000 lines.

What the ignore options skip, and what still counts as a change

Ignore extra spaces turns every run of spaces and tabs into a single space and trims both ends of each line, so a line with a tab or trailing spaces matches the same words typed with single spaces. It does not delete spaces altogether: "ab" and "a b" still differ. A blank line, or a line break after the last line of only one text, still counts as an added line. Ignore case uses Unicode case folding, so "Straße" matches "STRASSE". When an option hides a difference, the line is shown as it reads in the changed text. Windows (CRLF) and Unix line breaks compare as equal; a text with old Mac line breaks (CR only) is read as one long line.

What the similarity score measures

The similarity score compares whole lines, not characters: it is twice the number of matching lines divided by the total number of lines on both sides. Ten lines with one edited gives 90%, but a one-line text with one word changed gives 0%, even though most of its words are the same. For a sentence-level score, put each sentence on its own line first. Inside an edited block, changed lines are paired in order with the lines on the other side; if one side of the block has more lines, the extra lines count as added or removed.

Questions

Why is a whole paragraph marked as changed?

A paragraph with no line breaks is a single line, so one edited word marks the whole line. Changed words inside it are highlighted while the two versions of the line together stay within 1,000 characters; a longer paragraph is marked as a whole. Breaking the text into sentences or clauses first gives sharper highlighting and more useful counts.

Can I compare two Excel columns?

Yes. Copy each column and paste one per side; every cell becomes one line. The comparison follows row order, so it shows where the two lists drift apart and which rows were inserted or deleted. If the order does not matter, sort both lists first with Sort A to Z in the Case Converter, so only real additions and removals are marked. Turn on Ignore case and Ignore extra spaces to skip capitals and stray spaces. To check inside Excel instead: =EXACT(A2,B2) compares two cells in the same row and is case-sensitive (a plain =A2=B2 ignores case), and =COUNTIF(B:B,A2)=0 returns TRUE for a value in column A that is missing from column B. COUNTIF ignores case and reads * and ? as wildcards, so put ~ before them when they are part of the data.

Can I compare Word or PDF documents?

Copy the text out of each document and paste it in. Formatting such as bold or fonts is not compared, only the words and lines.

How large can the texts be?

Up to 200,000 characters and 5,000 lines on each side.

Is my text stored?

No. Both texts are compared and returned in the same request and never written to a database or log.

Can I compare two JSON files or pieces of code?

Yes, but the comparison is line by line, so minified JSON on a single line shows up as one changed line. Format both versions first with the JSON Formatter (it keeps the key order), so each key sits on its own line and only real value changes are marked. Code compares well as it is; turn on Ignore extra spaces if only the indentation changed.

How do I compare two versions in Word or Google Docs itself?

In Word, open a document and choose Review > Compare > Compare Documents, then pick the original and the revised file: Word opens a third document that shows every difference as tracked changes, formatting changes included. In Google Docs, open one version and choose Tools > Compare documents, then pick the other: you get a new Doc in your Drive with the differences as suggested edits, and you need edit access to use it. Use this page when the two texts are not both Word files or both Google Docs, such as a clause in an email against the signed PDF: paste each side, the changed words are highlighted, and nothing is stored.

Does it detect lines that were moved?

No. The comparison follows the order of the lines, so a line moved elsewhere shows as removed where it was and added where it now is, and it counts once in each total. Example: A, B, C against B, C, A gives 1 line removed, 1 line added and 66.7% similarity. If a moved line lands next to an edited line, the two can also be paired and shown as one changed line. To check that two lists hold the same lines whatever the order, sort both first with Sort A to Z in the Case Converter.

How do I compare two text files from the command line?

On Windows, fc /n old.txt new.txt in Command Prompt lists the blocks that differ with line numbers; add /c to ignore case or /w to compress spaces and tabs. On macOS and Linux, diff -u old.txt new.txt prints a unified diff; diff -i ignores case and diff -b ignores changes in the amount of white space. With Git installed, git diff --no-index old.txt new.txt works on any system, even outside a repository, and adding --word-diff marks the changed words. Use this page when the text is not in files, such as a clause from an email and one from a PDF, or when you want the changed words highlighted side by side without a terminal.