Create docs & code with Canvas in Gemini Apps

You can create, edit, and format a doc or code directly in the Canvas space in Gemini Apps.

Important: To use this feature, you must be signed in to Gemini Apps. Learn how to sign in to Gemini Apps.

Create a doc or code

  1. Go to gemini.google.com.
  2. Below the text box at the bottom, click Canvas .
  3. In the text box, enter your prompt.
  4. Click Submit .

Edit in Canvas

In the Canvas space for your prompt, you can directly edit the text or code. Changes are auto-saved.

Ask Gemini to help edit selections

  1. Go to gemini.google.com.
  2. Open the chat you want to edit.
  3. In the Canvas panel, use the cursor to select the text that you want to edit.
  4. In the text box, enter a prompt for what you want updated.
  5. Press Enter.

Tip:  Once you select the text you want to edit, you can also click Suggest edits  to have Gemini recommend changes.

Ask Gemini to make quick edits

  1. Go to gemini.google.com.
  2. Open the chat you want to edit. 
  3. In the Canvas panel on the right, choose how you want to change it:
    • To adjust the length of text: Click Change length  and select your desired length.
    • To adjust the tone of text: Click Change tone  and select how casual or formal you want it to be.

Edit text style & format in a doc

  1. Go to gemini.google.com.
  2. Open the chat you want to edit.
  3. In the Canvas panel, use the cursor to select the text that you want to edit.
  4. At the top, use the toolbar to edit your text. You can:
    • Stylize headings
    • Bold text .
    • Italicize text .
    • Create bulleted lists .
    • Create numbered lists .

Tips: 

  • If you can’t find the full toolbar, click More .
  • To view your saved versions, at the top, click Previous Version  or Next Version .

Find recent changes in code

  1. Go to gemini.google.com.
  2. Open the chat with the code you want to review.
  3. In the top right of the Canvas panel, click Code and then Show recent changes .

Preview, share & more

Preview code & find errors and logs

  1. Go to gemini.google.com.
  2. Open the chat with the code you want to review.
  3. In the top right of the Canvas panel, choose what you want to do:
    • To preview HTML and React web applications: Click Preview.
    • To find errors and logs from the preview: Click Show console .

Copy or export from Canvas

  1. Go to gemini.google.com.
  2. Open the chat with the text you want to copy or export.
  3. In the top right of the Canvas panel, choose what you want to do:
    • To copy the text or code: Click Copy .
    • To open text in a new Google Doc: Click Export to Docs
    • To open Python code in Colab: Click Open in Colab.

Share a doc or code from Canvas

  1. Go to gemini.google.com.
  2. Open the chat with the doc or code that you want to share.
  3. In the top right of the Canvas panel, click Share .
  4. Choose how you want to share:
    • To share the link: At the top, next to the g.co/gemini/share link, click Copy link . Then paste it where you want to share, like in a messaging app, an email draft, or a forum thread.
    • To share on an available social platform: At the bottom, click the social platform and follow the on-screen instructions.

Related resources

13443094093354117367
true
Search Help Center
true
true
true
true
true
5295044
Search
Clear search
Close search
Main menu
false
false
false
false