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
- Open a new Gemini chat.
- Ask Gemini to compare two documents.
- Paste the text of each document, labelled A and B.
- Send the prompt.
- Read the comparison table.
- Check the key differences list.
Interactive 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
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.
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.
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.
Related guides
Continue with more step-by-step guides for getting work done.
How to use Gemini for summarizing meeting notesPaste raw meeting notes into Gemini to get decisions, action items with owners and open questions, then turn the action items into a follow-up email.
How to write effective prompts for GeminiLearn how to write a Gemini prompt with a clear role, task, context and format, then tighten the reply with a follow-up message that adds one more constraint.
How to analyze videos with GeminiAnalyze a video with Gemini by pasting its YouTube link into the prompt box, sending your question, and reading the summary and key points it returns.
How to create a Gem in GeminiLearn how to create a custom Gem in Gemini: name it, describe it, write instructions, save it, and start chatting with your new Gem right away.
How to delete Gemini chatsDelete a Gemini chat you no longer need: open the conversation menu, choose Delete, and confirm to remove its prompts and responses.
How to download Gemini conversationsDownload a Gemini conversation as a PDF: open the chat, use the conversation actions menu, choose Download PDF, then save the file from the print window.
Create interactive demos like this one — free, no coding required.
Start for free →