Write & edit with Gemini in Docs (original) (raw)

You can draft and refine content in Google Docs using information directly from your files in Drive, Chat, Gmail, and the web.

Write, edit, or refine text with Gemini

To edit with Gemini, click Gemini . Then, enter a prompt. When you edit, you don’t need to select any text since Gemini can understand the context of your doc and make broad or specific updates based on your instructions.

  1. On your computer, open a document in Google Docs.
  2. To target a specific section, at the bottom bar, mention the section in the prompt. For example: “Add evidence to my Research section.”
    • Or, to refine the whole document, you can enter a prompt like “Suggest places where I can better defend my argument.”
  3. Optional: Add sources for Gemini to reference when you write. Learn how to reference other files to create content.
  4. Gemini will show suggestions directly in your document.
    • To apply changes individually, click Accept suggestion Checkmark.
    • To apply all changes, click Accept all.
    • To reject all changes, click Reject all.

Learn how to find & manage your Gemini in Workspace conversation history.

Edit text with one click

  1. On your computer, open a document in Google Docs.
  2. Select the text you want to rewrite.
  3. On the floating bar, click Refine .
    • To refine the content, use the suggested text after you click:
  4. Review the suggested changes.
    • To apply changes individually, click Accept suggestion Checkmark.
    • To apply the changes, click Accept all.
    • To reject the changes, click Reject all.

Reference other files to create content

You can ask Gemini to use specific files to write, edit, or refine content. For example: “Update the project timeline based on the latest updates from our meeting notes doc.”

  1. At the bottom bar, click Sources and then Add from Drive or other location.
    • Or, you can type “@” and then search and select from the menu.
  2. Select one or more files.
  3. Click Add.

Select where Gemini can search for information

You can select the locations where Gemini can proactively search for content related to your prompt. Learn how to use sources with Google Workspace with Gemini.

Examples of how you can use Gemini in Docs to write and refine your content

Your goal You should use
Update a project status “Update the timeline in this document based on the latest project email from yesterday.”
Change document structure “Convert the bulleted list in the 'To do' section into a three-column table.”
Incorporate external data “Add a section about our Q3 goals using information from the 'Annual Strategy' file in my Drive.”
Summarize a long document Click Refine and then More and then Summarize.
Change the document formatting “Make all the headers use the font Inter, 24pt, bold, in navy blue.”
Improve your document “Act as a sophisticated Director of Product Management and suggest ways I can improve this doc.”

Minimize or hide the bottom bar

By default, the Gemini bar automatically minimizes to clear your screen and help you focus on what you write.

To show the Gemini bar again, at the bottom, hover over Gemini .

Move bottom bar to side panel

To keep Gemini open while you work, you can move the bottom bar to the side panel. It provides a larger response display for improved readability.

  1. On your computer, open a document in Google Docs.
  2. At the bottom bar, enter your prompt. For example:
    • “Generate FAQs based on recent email conversations”
    • “Add a table listing actions items and next steps”
    • “Generate an email summarizing this document so that I can share it with executive shareholders via email”
    • “Change all of the heading to blue color”
  3. Click Send action .
  4. At the bottom bar, click Switch to side panel .
  5. Optional: To switch back, at the top of the side panel, click Switch to bottom bar .

Give feedback on generated text

Google Workspace with Gemini is constantly learning and may not be able to support your request.

If you get a suggestion that’s inaccurate or that you feel is unsafe, you can let us know by submitting feedback. Your feedback can help improve AI-assisted Workspace features and broader Google efforts in AI.

  1. In the bottom bar, click Leave feedback .
  2. Select the data you want to share. This includes prompts and outputs.
  3. Enter additional feedback.
  4. Click Submit.

To provide general feedback on this feature, at the top, go to Help and then Help Docs improve.

To report a legal issue, learn how to report content for legal reasons.