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
- Go to gemini.google.com.
- Below the text box at the bottom, click Canvas
.
- In the text box, enter your prompt.
- 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
- Go to gemini.google.com.
- Open the chat you want to edit.
- In the Canvas panel, use the cursor to select the text that you want to edit.
- In the text box, enter a prompt for what you want updated.
- 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
- Go to gemini.google.com.
- Open the chat you want to edit.
- 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.
- To adjust the length of text: Click Change length
Edit text style & format in a doc
- Go to gemini.google.com.
- Open the chat you want to edit.
- In the Canvas panel, use the cursor to select the text that you want to edit.
- 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
- Go to gemini.google.com.
- Open the chat with the code you want to review.
- In the top right of the Canvas panel, click Code
Show recent changes
.
Preview, share & more
Preview code & find errors and logs
- Go to gemini.google.com.
- Open the chat with the code you want to review.
- 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
- Go to gemini.google.com.
- Open the chat with the text you want to copy or export.
- 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.
- To copy the text or code: Click Copy
Share a doc or code from Canvas
- Go to gemini.google.com.
- Open the chat with the doc or code that you want to share.
- In the top right of the Canvas panel, click Share
.
- 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.
- To share the link: At the top, next to the