How to compare documents with Gemini

Compare two documents with Gemini by pasting both into one prompt and sending it, then read the side-by-side table and the key differences it returns.

Quick answer

Open Gemini, type a prompt that asks it to compare your two documents, and paste each document's text into the same message. Send the prompt with the Send message button. Gemini replies with a table of differences and a short list of key differences you can read straight away.

Steps at a glance

  1. Open a new Gemini chat.
  2. Ask Gemini to compare two documents.
  3. Paste the text of each document, labelled A and B.
  4. Send the prompt.
  5. Read the comparison table.
  6. Check the key differences list.

Interactive demo

Loading demo…

Summary

Gemini can compare two documents when you paste their text into one prompt. It returns a table that lines the versions up feature by feature, plus a short list of the main differences. This saves you from reading two long versions line by line.

Step-by-step guide

  1. Step 1

    Paste both documents into the prompt

    Open a new chat and click the Enter a prompt for Gemini box. Start with a short instruction such as asking Gemini to compare the two documents and list the key differences. Then paste the text of Document A and Document B, labelling each so Gemini can tell them apart.

  2. Step 2

    Send the prompt

    Click Send message to submit your prompt. Gemini shows your prompt at the top of the conversation and starts writing its reply, which can take a short while.

  3. Step 3

    Read the comparison

    When the reply finishes, read the table first. It lists each feature with the value from Document A (v1) and Document B (v2) side by side. Below it, the Key Differences list explains the main changes in plain sentences. Use Good response or Bad response to rate the answer.

Why this matters

You have an old and a new version of a policy, contract or spec and need to know what changed before you reply or sign off. Pasting both into Gemini gives you the differences in one reply, so you can focus on the changes that matter.

Frequently asked questions

  • Can Gemini compare documents I paste as text?

    Yes. In this capture, both documents were pasted into the prompt as text and Gemini returned a table of differences and a Key Differences list.

  • What does the comparison look like?

    Gemini returns a table with one row per feature and a column for each document, followed by a Key Differences list written as short sentences.

Create interactive demos like this one — free, no coding required.

Start for free →